Class EnumerationMetaTypeModel

  • All Implemented Interfaces:
    java.io.Serializable

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

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • COMPARATIONATTRIBUTE

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

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

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

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

        public static final java.lang.String ISRESORTABLE
        Generated constant - Attribute key of EnumerationMetaType.isResortable attribute defined at extension core.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.Boolean _catalogItemType,
                                        java.lang.String _code,
                                        java.lang.Boolean _generate,
                                        java.lang.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​(java.lang.Boolean _catalogItemType,
                                        java.lang.String _code,
                                        java.lang.Boolean _generate,
                                        ItemModel _owner,
                                        java.lang.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 Detail

      • 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 java.lang.Boolean getIsResortable()
        Generated method - Getter of the EnumerationMetaType.isResortable attribute defined at extension core.
        Returns:
        the isResortable
      • getIsSorted

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

        @Accessor(qualifier="values",
                  type=GETTER)
        public java.util.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​(java.util.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