Class CollectionTypeModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CollectionTypeModel
    extends TypeModel
    Generated model class for type CollectionType 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
      • ELEMENTTYPE

        public static final java.lang.String ELEMENTTYPE
        Generated constant - Attribute key of CollectionType.elementType attribute defined at extension core.
        See Also:
        Constant Field Values
      • TYPEOFCOLLECTION

        public static final java.lang.String TYPEOFCOLLECTION
        Generated constant - Attribute key of CollectionType.typeOfCollection attribute defined at extension core.
        See Also:
        Constant Field Values
      • TYPEOFCOLLECTIONINTERNAL

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

      • CollectionTypeModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CollectionTypeModel​(java.lang.String _code,
                                   TypeModel _elementType,
                                   java.lang.Boolean _generate)
        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:
        _code - initial attribute declared by type Type at extension core
        _elementType - initial attribute declared by type CollectionType at extension core
        _generate - initial attribute declared by type TypeManagerManaged at extension core
      • CollectionTypeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CollectionTypeModel​(java.lang.String _code,
                                   TypeModel _elementType,
                                   java.lang.Boolean _generate,
                                   ItemModel _owner,
                                   TypeOfCollectionEnum _typeOfCollection)
        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:
        _code - initial attribute declared by type Type at extension core
        _elementType - initial attribute declared by type CollectionType at extension core
        _generate - initial attribute declared by type TypeManagerManaged at extension core
        _owner - initial attribute declared by type Item at extension core
        _typeOfCollection - initial attribute declared by type CollectionType at extension core
    • Method Detail

      • getElementType

        @Accessor(qualifier="elementType",
                  type=GETTER)
        public TypeModel getElementType()
        Generated method - Getter of the CollectionType.elementType attribute defined at extension core.
        Returns:
        the elementType
      • getTypeOfCollection

        @Accessor(qualifier="typeOfCollection",
                  type=GETTER)
        public TypeOfCollectionEnum getTypeOfCollection()
        Generated method - Getter of the CollectionType.typeOfCollection attribute defined at extension core.
        Returns:
        the typeOfCollection
      • setElementType

        @Accessor(qualifier="elementType",
                  type=SETTER)
        public void setElementType​(TypeModel value)
        Generated method - Initial setter of CollectionType.elementType attribute defined at extension core. Can only be used at creation of model - before first save.
        Parameters:
        value - the elementType
      • setTypeOfCollection

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