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:
Serializable
Generated model class for type CollectionType first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCollectionType.elementTypeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofCollectionType.typeOfCollectionattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofCollectionType.typeOfCollectionInternalattribute defined at extensioncore.Fields inherited from class de.hybris.platform.core.model.type.TypeModel
CODE, DEFAULTVALUE, DESCRIPTION, XMLDEFINITIONFields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAMEFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.CollectionTypeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextCollectionTypeModel(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 parametersCollectionTypeModel(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 -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCollectionType.elementTypeattribute defined at extensioncore.Generated method - Getter of theCollectionType.typeOfCollectionattribute defined at extensioncore.voidsetElementType(TypeModel value) Generated method - Initial setter ofCollectionType.elementTypeattribute defined at extensioncore.voidGenerated method - Initial setter ofCollectionType.typeOfCollectionattribute defined at extensioncore.Methods inherited from class de.hybris.platform.core.model.type.TypeModel
getCode, getDefaultValue, getDescription, getDescription, getXmldefinition, setCode, setDefaultValue, setDescription, setDescriptionMethods inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
getAutocreate, getDeprecated, getExtensionName, getGenerate, getName, getName, setAutocreate, setExtensionName, setGenerate, setName, setNameMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
ELEMENTTYPE
Generated constant - Attribute key ofCollectionType.elementTypeattribute defined at extensioncore.- See Also:
-
TYPEOFCOLLECTION
Generated constant - Attribute key ofCollectionType.typeOfCollectionattribute defined at extensioncore.- See Also:
-
TYPEOFCOLLECTIONINTERNAL
Generated constant - Attribute key ofCollectionType.typeOfCollectionInternalattribute defined at extensioncore.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeTypeat extensioncore_elementType- initial attribute declared by typeCollectionTypeat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeTypeat extensioncore_elementType- initial attribute declared by typeCollectionTypeat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_owner- initial attribute declared by typeItemat extensioncore_typeOfCollection- initial attribute declared by typeCollectionTypeat extensioncore
-
-
Method Details
-
getElementType
Generated method - Getter of theCollectionType.elementTypeattribute defined at extensioncore.- Returns:
- the elementType
-
getTypeOfCollection
@Accessor(qualifier="typeOfCollection", type=GETTER) public TypeOfCollectionEnum getTypeOfCollection()Generated method - Getter of theCollectionType.typeOfCollectionattribute defined at extensioncore.- Returns:
- the typeOfCollection
-
setElementType
Generated method - Initial setter ofCollectionType.elementTypeattribute 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.typeOfCollectionattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the typeOfCollection
-