Enum Class DataDescriptorColumnDatatype

java.lang.Object
java.lang.Enum<DataDescriptorColumnDatatype>
com.jbstrap.core.meta.enums.DataDescriptorColumnDatatype
All Implemented Interfaces:
Serializable, Comparable<DataDescriptorColumnDatatype>, Constable

public enum DataDescriptorColumnDatatype extends Enum<DataDescriptorColumnDatatype>
DataDescriptor column types
Since:
4.0
Author:
JBStrap
  • Enum Constant Details

  • Method Details

    • values

      public static DataDescriptorColumnDatatype[] 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

      public static DataDescriptorColumnDatatype valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getJavaClassName

      public String 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

      public Class 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

      public EditorType getDefaultEditorType()
      Gets the column's default editor component type
      Returns:
      The column's default editor component type
    • getNames

      public List<String> getNames()
      Gets the datatype name
      Returns:
      The datatype name
    • fromName

      public static DataDescriptorColumnDatatype fromName(String name)
      Determines the column type by its name.
      Parameters:
      name - The name of the datatype
      Returns:
      The data column type or null if not found