Class CollectionTypeModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class CollectionTypeModel extends TypeModel
Generated model class for type CollectionType first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

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

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

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

      public static final String TYPEOFCOLLECTIONINTERNAL
      Generated constant - Attribute key of CollectionType.typeOfCollectionInternal attribute defined at extension core.
      See Also:
  • Constructor Details

    • CollectionTypeModel

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

      public CollectionTypeModel(de.hybris.platform.servicelayer.model.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(String _code, TypeModel _elementType, 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(String _code, TypeModel _elementType, 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 Details

    • 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