Package de.hybris.platform.cms2.model
Class ComponentTypeGroupModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cms2.model.ComponentTypeGroupModel
- All Implemented Interfaces:
Serializable
Generated model class for type ComponentTypeGroup first defined at extension cms2.
- 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 ofComponentTypeGroup.cmsComponentTypesattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofComponentTypeGroup.codeattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofComponentTypeGroup.descriptionattribute defined at extensioncms2.Fields 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.ComponentTypeGroupModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextComponentTypeGroupModel(String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersComponentTypeGroupModel(String _code, ItemModel _owner) 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 theComponentTypeGroup.cmsComponentTypesattribute defined at extensioncms2.getCode()Generated method - Getter of theComponentTypeGroup.codeattribute defined at extensioncms2.Generated method - Getter of theComponentTypeGroup.descriptionattribute defined at extensioncms2.getDescription(Locale loc) Generated method - Getter of theComponentTypeGroup.descriptionattribute defined at extensioncms2.voidGenerated method - Setter ofComponentTypeGroup.cmsComponentTypesattribute defined at extensioncms2.voidGenerated method - Setter ofComponentTypeGroup.codeattribute defined at extensioncms2.voidsetDescription(String value) Generated method - Setter ofComponentTypeGroup.descriptionattribute defined at extensioncms2.voidsetDescription(String value, Locale loc) Generated method - Setter ofComponentTypeGroup.descriptionattribute defined at extensioncms2.Methods 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:
-
CODE
Generated constant - Attribute key ofComponentTypeGroup.codeattribute defined at extensioncms2.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofComponentTypeGroup.descriptionattribute defined at extensioncms2.- See Also:
-
CMSCOMPONENTTYPES
Generated constant - Attribute key ofComponentTypeGroup.cmsComponentTypesattribute defined at extensioncms2.- See Also:
-
-
Constructor Details
-
ComponentTypeGroupModel
public ComponentTypeGroupModel()Generated constructor - Default constructor for generic creation. -
ComponentTypeGroupModel
public ComponentTypeGroupModel(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
-
ComponentTypeGroupModel
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 typeComponentTypeGroupat extensioncms2
-
ComponentTypeGroupModel
@Deprecated(since="4.1.1", forRemoval=true) public ComponentTypeGroupModel(String _code, ItemModel _owner) 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 typeComponentTypeGroupat extensioncms2_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCmsComponentTypes
@Accessor(qualifier="cmsComponentTypes", type=GETTER) public Set<CMSComponentTypeModel> getCmsComponentTypes()Generated method - Getter of theComponentTypeGroup.cmsComponentTypesattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cmsComponentTypes
-
getCode
Generated method - Getter of theComponentTypeGroup.codeattribute defined at extensioncms2.- Returns:
- the code
-
getDescription
Generated method - Getter of theComponentTypeGroup.descriptionattribute defined at extensioncms2.- Returns:
- the description
-
getDescription
Generated method - Getter of theComponentTypeGroup.descriptionattribute defined at extensioncms2.- Parameters:
loc- the value localization key- Returns:
- the description
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setCmsComponentTypes
@Accessor(qualifier="cmsComponentTypes", type=SETTER) public void setCmsComponentTypes(Set<CMSComponentTypeModel> value) Generated method - Setter ofComponentTypeGroup.cmsComponentTypesattribute defined at extensioncms2.- Parameters:
value- the cmsComponentTypes
-
setCode
Generated method - Setter ofComponentTypeGroup.codeattribute defined at extensioncms2.- Parameters:
value- the code
-
setDescription
Generated method - Setter ofComponentTypeGroup.descriptionattribute defined at extensioncms2.- Parameters:
value- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofComponentTypeGroup.descriptionattribute defined at extensioncms2.- Parameters:
value- the descriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-