Package io.jmix.dynmodelai.modelchange
Enum Class AttributeType
- All Implemented Interfaces:
Serializable,Comparable<AttributeType>,Constable
Datatype attribute kinds exposed to the LLM as a closed enum instead of Java class names.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable AttributeTypeResolves a planner token: the catalog name or the simple name of the mapped Java class, both case-insensitive.Class<?> booleanisLob()static @Nullable AttributeTypeCatalog type of an existing attribute, ornullwhen the planner cannot create such a type.static AttributeTypeReturns the enum constant of this class with the specified name.static AttributeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRING
-
TEXT
-
INTEGER
-
LONG
-
DOUBLE
-
DECIMAL
-
BOOLEAN
-
DATE
-
TIME
-
DATETIME
-
UUID_VALUE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getJavaClass
-
isLob
public boolean isLob() -
fromToken
Resolves a planner token: the catalog name or the simple name of the mapped Java class, both case-insensitive. Returnsnullfor anything else. -
of
Catalog type of an existing attribute, ornullwhen the planner cannot create such a type.
-