Enum Class PropertyType

java.lang.Object
java.lang.Enum<PropertyType>
io.jmix.ui.meta.PropertyType
All Implemented Interfaces:
Serializable, Comparable<PropertyType>, Constable

public enum PropertyType extends Enum<PropertyType>
Type of UI component property.
  • Enum Constant Details

    • AUTO

      public static final PropertyType AUTO
      Infer type using parameter of the annotated method.
    • INTEGER

      public static final PropertyType INTEGER
      Integer type.
    • LONG

      public static final PropertyType LONG
      Long type.
    • FLOAT

      public static final PropertyType FLOAT
      Float type.
    • DOUBLE

      public static final PropertyType DOUBLE
      Double type.
    • BIG_DECIMAL

      public static final PropertyType BIG_DECIMAL
      Big decimal type.
    • STRING

      public static final PropertyType STRING
      String type.
    • BOOLEAN

      public static final PropertyType BOOLEAN
      Boolean type.
    • CHARACTER

      public static final PropertyType CHARACTER
      Char type.
    • DATE

      public static final PropertyType DATE
      Date in standard format: YYYY-MM-DD
    • DATE_TIME

      public static final PropertyType DATE_TIME
      Date with time in standard format: YYYY-MM-DD hh:mm:ss
    • TIME

      public static final PropertyType TIME
      Time in standard format: hh:mm:ss
    • ENUMERATION

      public static final PropertyType ENUMERATION
      Value from a strict list of property options.
    • OPTIONS

      public static final PropertyType OPTIONS
      Arbitrary value represented by string with a list of possible options. Similar to ENUMERATION, but allows text input.
    • COMPONENT_ID

      public static final PropertyType COMPONENT_ID
      Identifier of a component, action or sub part. Must be a valid Java identifier.
    • COLUMN_ID

      public static final PropertyType COLUMN_ID
      Identifier of a column. Must be a valid Java identifier.
    • ICON_ID

      public static final PropertyType ICON_ID
      Icon path or ID of icon from predefined Jmix icons.
      See Also:
    • SIZE

      public static final PropertyType SIZE
      Size value, e.g. width or height
    • LOCALIZED_STRING

      public static final PropertyType LOCALIZED_STRING
      String value or message key with msg:// or mainMsg:// prefix.
    • JPA_QUERY

      public static final PropertyType JPA_QUERY
      JPA QL string.
    • FETCH_PLAN

      public static final PropertyType FETCH_PLAN
      Fetch plan name.
    • ENTITY_NAME

      public static final PropertyType ENTITY_NAME
      Name of Entity meta class.
    • ENTITY_NAMES

      public static final PropertyType ENTITY_NAMES
      Names of Entities meta class.
    • ENTITY_CLASS

      public static final PropertyType ENTITY_CLASS
      FQN of Entity class.
    • ENUM_CLASS

      public static final PropertyType ENUM_CLASS
      FQN of Enum class.
    • JAVA_CLASS_NAME

      public static final PropertyType JAVA_CLASS_NAME
      FQN of Java class.
    • CSS_CLASSNAME_LIST

      public static final PropertyType CSS_CLASSNAME_LIST
      CSS classes separated with space symbol.
    • CSS_BLOCK

      public static final PropertyType CSS_BLOCK
      Inline CSS properties.
    • BEAN_REF

      public static final PropertyType BEAN_REF
      Spring Bean ID.
    • COMPONENT_REF

      public static final PropertyType COMPONENT_REF
      ID of a component defined in screen.
    • DATASOURCE_REF

      public static final PropertyType DATASOURCE_REF
      ID of a datasource.
    • COLLECTION_DATASOURCE_REF

      public static final PropertyType COLLECTION_DATASOURCE_REF
      ID of a collection datasource.
    • DATALOADER_REF

      public static final PropertyType DATALOADER_REF
      ID of a data loader.
    • DATACONTAINER_REF

      public static final PropertyType DATACONTAINER_REF
      ID of a data container
    • COLLECTION_DATACONTAINER_REF

      public static final PropertyType COLLECTION_DATACONTAINER_REF
      ID of a collection data container.
    • PROPERTY_REF

      public static final PropertyType PROPERTY_REF
      Name of a data model property.
    • PROPERTY_PATH_REF

      public static final PropertyType PROPERTY_PATH_REF
      Entity property path.
    • DATATYPE_ID

      public static final PropertyType DATATYPE_ID
      ID of a datatype.
      See Also:
    • SHORTCUT

      public static final PropertyType SHORTCUT
      Keyboard shortcut.
    • SCREEN_CLASS_NAME

      public static final PropertyType SCREEN_CLASS_NAME
      FQN of screen class.
    • SCREEN_ID

      public static final PropertyType SCREEN_ID
      Screen ID
    • SCREEN_OPEN_MODE

      public static final PropertyType SCREEN_OPEN_MODE
      Standard launch modes of Screens.
    • DATE_FORMAT

      public static final PropertyType DATE_FORMAT
      Date format.
    • MARGIN

      public static final PropertyType MARGIN
      Margin info.
    • HTML

      public static final PropertyType HTML
      HTML.
    • FILE_REF

      public static final PropertyType FILE_REF
      Path to file.
  • Method Details

    • values

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