Class EnumerationMetaTypeModel

All Implemented Interfaces:
Serializable

public class EnumerationMetaTypeModel extends ComposedTypeModel
Generated model class for type EnumerationMetaType first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • COMPARATIONATTRIBUTE

      public static final String COMPARATIONATTRIBUTE
      Generated constant - Attribute key of EnumerationMetaType.comparationAttribute attribute defined at extension core.
      See Also:
    • VALUES

      public static final String VALUES
      Generated constant - Attribute key of EnumerationMetaType.values attribute defined at extension core.
      See Also:
    • VALUETYPE

      public static final String VALUETYPE
      Generated constant - Attribute key of EnumerationMetaType.valueType attribute defined at extension core.
      See Also:
    • ISSORTED

      public static final String ISSORTED
      Generated constant - Attribute key of EnumerationMetaType.isSorted attribute defined at extension core.
      See Also:
    • ISRESORTABLE

      public static final String ISRESORTABLE
      Generated constant - Attribute key of EnumerationMetaType.isResortable attribute defined at extension core.
      See Also:
  • Constructor Details

    • EnumerationMetaTypeModel

      public EnumerationMetaTypeModel()
      Generated constructor - Default constructor for generic creation.
    • EnumerationMetaTypeModel

      public EnumerationMetaTypeModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • EnumerationMetaTypeModel

      @Deprecated(since="4.1.1", forRemoval=true) public EnumerationMetaTypeModel(Boolean _catalogItemType, String _code, Boolean _generate, Boolean _singleton, ComposedTypeModel _superType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _catalogItemType - initial attribute declared by type ComposedType at extension catalog
      _code - initial attribute declared by type Type at extension core
      _generate - initial attribute declared by type TypeManagerManaged at extension core
      _singleton - initial attribute declared by type ComposedType at extension core
      _superType - initial attribute declared by type EnumerationMetaType at extension core
    • EnumerationMetaTypeModel

      @Deprecated(since="4.1.1", forRemoval=true) public EnumerationMetaTypeModel(Boolean _catalogItemType, String _code, Boolean _generate, ItemModel _owner, Boolean _singleton, ComposedTypeModel _superType, ComposedTypeModel _valueType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _catalogItemType - initial attribute declared by type ComposedType at extension catalog
      _code - initial attribute declared by type Type at extension core
      _generate - initial attribute declared by type TypeManagerManaged at extension core
      _owner - initial attribute declared by type Item at extension core
      _singleton - initial attribute declared by type ComposedType at extension core
      _superType - initial attribute declared by type EnumerationMetaType at extension core
      _valueType - initial attribute declared by type EnumerationMetaType at extension core
  • Method Details

    • getComparationAttribute

      @Accessor(qualifier="comparationAttribute", type=GETTER) public AttributeDescriptorModel getComparationAttribute()
      Generated method - Getter of the EnumerationMetaType.comparationAttribute attribute defined at extension core.
      Returns:
      the comparationAttribute
    • getIsResortable

      @Accessor(qualifier="isResortable", type=GETTER) public Boolean getIsResortable()
      Generated method - Getter of the EnumerationMetaType.isResortable attribute defined at extension core.
      Returns:
      the isResortable
    • getIsSorted

      @Accessor(qualifier="isSorted", type=GETTER) public Boolean getIsSorted()
      Generated method - Getter of the EnumerationMetaType.isSorted attribute defined at extension core.
      Returns:
      the isSorted
    • getValues

      @Accessor(qualifier="values", type=GETTER) public Collection<ItemModel> getValues()
      Generated method - Getter of the EnumerationMetaType.values attribute defined at extension core. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the values
    • getValueType

      @Accessor(qualifier="valueType", type=GETTER) public ComposedTypeModel getValueType()
      Generated method - Getter of the EnumerationMetaType.valueType attribute defined at extension core.
      Returns:
      the valueType
    • setComparationAttribute

      @Accessor(qualifier="comparationAttribute", type=SETTER) public void setComparationAttribute(AttributeDescriptorModel value)
      Generated method - Setter of EnumerationMetaType.comparationAttribute attribute defined at extension core.
      Parameters:
      value - the comparationAttribute
    • setValues

      @Accessor(qualifier="values", type=SETTER) public void setValues(Collection<ItemModel> value)
      Generated method - Setter of EnumerationMetaType.values attribute defined at extension core.
      Parameters:
      value - the values
    • setValueType

      @Accessor(qualifier="valueType", type=SETTER) public void setValueType(ComposedTypeModel value)
      Generated method - Initial setter of EnumerationMetaType.valueType attribute defined at extension core. Can only be used at creation of model - before first save.
      Parameters:
      value - the valueType