Class CockpitItemTemplateModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cockpit.model.template.CockpitItemTemplateModel
- All Implemented Interfaces:
Serializable
Generated model class for type CockpitItemTemplate first defined at extension cockpit.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCockpitItemTemplate.classificationClassesattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitItemTemplate.codeattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitItemTemplate.nameattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitItemTemplate.relatedTypeattribute defined at extensioncockpit.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.Generated constructor - Default constructor for creation with existing contextCockpitItemTemplateModel(String _code, ItemModel _owner, ComposedTypeModel _relatedType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCockpitItemTemplateModel(String _code, ComposedTypeModel _relatedType) 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 theCockpitItemTemplate.classificationClassesattribute defined at extensioncockpit.getCode()Generated method - Getter of theCockpitItemTemplate.codeattribute defined at extensioncockpit.Generated method - Getter of theCockpitItemTemplate.descriptionattribute defined at extensioncockpit.getDescription(Locale loc) Generated method - Getter of theCockpitItemTemplate.descriptionattribute defined at extensioncockpit.getName()Generated method - Getter of theCockpitItemTemplate.nameattribute defined at extensioncockpit.Generated method - Getter of theCockpitItemTemplate.nameattribute defined at extensioncockpit.Generated method - Getter of theCockpitItemTemplate.relatedTypeattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitItemTemplate.classificationClassesattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitItemTemplate.codeattribute defined at extensioncockpit.voidsetDescription(String value) Generated method - Setter ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.voidsetDescription(String value, Locale loc) Generated method - Setter ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitItemTemplate.nameattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitItemTemplate.nameattribute defined at extensioncockpit.voidsetRelatedType(ComposedTypeModel value) Generated method - Setter ofCockpitItemTemplate.relatedTypeattribute defined at extensioncockpit.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 ofCockpitItemTemplate.codeattribute defined at extensioncockpit.- See Also:
-
NAME
Generated constant - Attribute key ofCockpitItemTemplate.nameattribute defined at extensioncockpit.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.- See Also:
-
RELATEDTYPE
Generated constant - Attribute key ofCockpitItemTemplate.relatedTypeattribute defined at extensioncockpit.- See Also:
-
CLASSIFICATIONCLASSES
Generated constant - Attribute key ofCockpitItemTemplate.classificationClassesattribute defined at extensioncockpit.- See Also:
-
-
Constructor Details
-
CockpitItemTemplateModel
public CockpitItemTemplateModel()Generated constructor - Default constructor for generic creation. -
CockpitItemTemplateModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CockpitItemTemplateModel
@Deprecated(since="4.1.1", forRemoval=true) public CockpitItemTemplateModel(String _code, ComposedTypeModel _relatedType) 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 typeCockpitItemTemplateat extensioncockpit_relatedType- initial attribute declared by typeCockpitItemTemplateat extensioncockpit
-
CockpitItemTemplateModel
@Deprecated(since="4.1.1", forRemoval=true) public CockpitItemTemplateModel(String _code, ItemModel _owner, ComposedTypeModel _relatedType) 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 typeCockpitItemTemplateat extensioncockpit_owner- initial attribute declared by typeItemat extensioncore_relatedType- initial attribute declared by typeCockpitItemTemplateat extensioncockpit
-
-
Method Details
-
getClassificationClasses
@Accessor(qualifier="classificationClasses", type=GETTER) public Collection<ClassificationClassModel> getClassificationClasses()Generated method - Getter of theCockpitItemTemplate.classificationClassesattribute defined at extensioncockpit. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the classificationClasses
-
getCode
Generated method - Getter of theCockpitItemTemplate.codeattribute defined at extensioncockpit.- Returns:
- the code
-
getDescription
Generated method - Getter of theCockpitItemTemplate.descriptionattribute defined at extensioncockpit.- Returns:
- the description
-
getDescription
Generated method - Getter of theCockpitItemTemplate.descriptionattribute defined at extensioncockpit.- Parameters:
loc- the value localization key- Returns:
- the description
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getName
Generated method - Getter of theCockpitItemTemplate.nameattribute defined at extensioncockpit.- Returns:
- the name
-
getName
Generated method - Getter of theCockpitItemTemplate.nameattribute defined at extensioncockpit.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getRelatedType
Generated method - Getter of theCockpitItemTemplate.relatedTypeattribute defined at extensioncockpit.- Returns:
- the relatedType
-
setClassificationClasses
@Accessor(qualifier="classificationClasses", type=SETTER) public void setClassificationClasses(Collection<ClassificationClassModel> value) Generated method - Setter ofCockpitItemTemplate.classificationClassesattribute defined at extensioncockpit.- Parameters:
value- the classificationClasses
-
setCode
Generated method - Setter ofCockpitItemTemplate.codeattribute defined at extensioncockpit.- Parameters:
value- the code
-
setDescription
Generated method - Setter ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.- Parameters:
value- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.- Parameters:
value- the descriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setName
Generated method - Setter ofCockpitItemTemplate.nameattribute defined at extensioncockpit.- Parameters:
value- the name
-
setName
Generated method - Setter ofCockpitItemTemplate.nameattribute defined at extensioncockpit.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setRelatedType
Generated method - Setter ofCockpitItemTemplate.relatedTypeattribute defined at extensioncockpit.- Parameters:
value- the relatedType
-