Package com.jbstrap.core.meta.enums
Enum Class DataDescriptorColumnDatatype
java.lang.Object
java.lang.Enum<DataDescriptorColumnDatatype>
com.jbstrap.core.meta.enums.DataDescriptorColumnDatatype
- All Implemented Interfaces:
Serializable
,Comparable<DataDescriptorColumnDatatype>
,Constable
DataDescriptor column types
- Since:
- 4.0
- Author:
- JBStrap
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataDescriptorColumnDatatype
Determines the column type by its name.Gets the column's default editor component typeGets the java class that is the basis of the data columnGets the name of the java class that is the basis of the data columngetNames()
Gets the datatype namestatic DataDescriptorColumnDatatype
Returns the enum constant of this class with the specified name.static DataDescriptorColumnDatatype[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TEXT
Text data type column -
INTEGER
Integer data type column -
LONG
Long data type column -
DOUBLE
Double data type column -
DATE
Date data type column -
DATETIME
Date and time data type column -
BOOLEAN
Boolean data type column
-
-
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
-
getJavaClassName
Gets the name of the java class that is the basis of the data column- Returns:
- The name of the java class that is the basis of the data column
-
getJavaClass
Gets the java class that is the basis of the data column- Returns:
- The java class that is the basis of the data column
-
getDefaultEditorType
Gets the column's default editor component type- Returns:
- The column's default editor component type
-
getNames
Gets the datatype name- Returns:
- The datatype name
-
fromName
Determines the column type by its name.- Parameters:
name
- The name of the datatype- Returns:
- The data column type or
null
if not found
-