Class CollectionTypeModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.type.TypeManagerManagedModel
-
- de.hybris.platform.core.model.type.TypeModel
-
- de.hybris.platform.core.model.type.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
ELEMENTTYPE
Generated constant - Attribute key ofCollectionType.elementType
attribute defined at extensioncore
.static java.lang.String
TYPEOFCOLLECTION
Generated constant - Attribute key ofCollectionType.typeOfCollection
attribute defined at extensioncore
.static java.lang.String
TYPEOFCOLLECTIONINTERNAL
Generated constant - Attribute key ofCollectionType.typeOfCollectionInternal
attribute defined at extensioncore
.-
Fields inherited from class de.hybris.platform.core.model.type.TypeModel
CODE, DEFAULTVALUE, DESCRIPTION, XMLDEFINITION
-
Fields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAME
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description CollectionTypeModel()
Generated constructor - Default constructor for generic creation.CollectionTypeModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextCollectionTypeModel(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 parametersCollectionTypeModel(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeModel
getElementType()
Generated method - Getter of theCollectionType.elementType
attribute defined at extensioncore
.TypeOfCollectionEnum
getTypeOfCollection()
Generated method - Getter of theCollectionType.typeOfCollection
attribute defined at extensioncore
.void
setElementType(TypeModel value)
Generated method - Initial setter ofCollectionType.elementType
attribute defined at extensioncore
.void
setTypeOfCollection(TypeOfCollectionEnum value)
Generated method - Initial setter ofCollectionType.typeOfCollection
attribute defined at extensioncore
.-
Methods inherited from class de.hybris.platform.core.model.type.TypeModel
getCode, getDefaultValue, getDescription, getDescription, getXmldefinition, setCode, setDefaultValue, setDescription, setDescription
-
Methods inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
getAutocreate, getDeprecated, getExtensionName, getGenerate, getName, getName, setAutocreate, setExtensionName, setGenerate, setName, setName
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
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 ofCollectionType.elementType
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
TYPEOFCOLLECTION
public static final java.lang.String TYPEOFCOLLECTION
Generated constant - Attribute key ofCollectionType.typeOfCollection
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
TYPEOFCOLLECTIONINTERNAL
public static final java.lang.String TYPEOFCOLLECTIONINTERNAL
Generated constant - Attribute key ofCollectionType.typeOfCollectionInternal
attribute defined at extensioncore
.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code
- initial attribute declared by typeType
at extensioncore
_elementType
- initial attribute declared by typeCollectionType
at extensioncore
_generate
- initial attribute declared by typeTypeManagerManaged
at extensioncore
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code
- initial attribute declared by typeType
at extensioncore
_elementType
- initial attribute declared by typeCollectionType
at extensioncore
_generate
- initial attribute declared by typeTypeManagerManaged
at extensioncore
_owner
- initial attribute declared by typeItem
at extensioncore
_typeOfCollection
- initial attribute declared by typeCollectionType
at extensioncore
-
-
Method Detail
-
getElementType
@Accessor(qualifier="elementType", type=GETTER) public TypeModel getElementType()
Generated method - Getter of theCollectionType.elementType
attribute defined at extensioncore
.- Returns:
- the elementType
-
getTypeOfCollection
@Accessor(qualifier="typeOfCollection", type=GETTER) public TypeOfCollectionEnum getTypeOfCollection()
Generated method - Getter of theCollectionType.typeOfCollection
attribute defined at extensioncore
.- Returns:
- the typeOfCollection
-
setElementType
@Accessor(qualifier="elementType", type=SETTER) public void setElementType(TypeModel value)
Generated method - Initial setter ofCollectionType.elementType
attribute defined at extensioncore
. 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 ofCollectionType.typeOfCollection
attribute defined at extensioncore
. Can only be used at creation of model - before first save.- Parameters:
value
- the typeOfCollection
-
-