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:
java.io.Serializable
public class CockpitItemTemplateModel extends ItemModel
Generated model class for type CockpitItemTemplate first defined at extension cockpit.- 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_TYPECODEGenerated model type code constant.static java.lang.StringCLASSIFICATIONCLASSESGenerated constant - Attribute key ofCockpitItemTemplate.classificationClassesattribute defined at extensioncockpit.static java.lang.StringCODEGenerated constant - Attribute key ofCockpitItemTemplate.codeattribute defined at extensioncockpit.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.static java.lang.StringNAMEGenerated constant - Attribute key ofCockpitItemTemplate.nameattribute defined at extensioncockpit.static java.lang.StringRELATEDTYPEGenerated 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, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description CockpitItemTemplateModel()Generated constructor - Default constructor for generic creation.CockpitItemTemplateModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextCockpitItemTemplateModel(java.lang.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(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<ClassificationClassModel>getClassificationClasses()Generated method - Getter of theCockpitItemTemplate.classificationClassesattribute defined at extensioncockpit.java.lang.StringgetCode()Generated method - Getter of theCockpitItemTemplate.codeattribute defined at extensioncockpit.java.lang.StringgetDescription()Generated method - Getter of theCockpitItemTemplate.descriptionattribute defined at extensioncockpit.java.lang.StringgetDescription(java.util.Locale loc)Generated method - Getter of theCockpitItemTemplate.descriptionattribute defined at extensioncockpit.java.lang.StringgetName()Generated method - Getter of theCockpitItemTemplate.nameattribute defined at extensioncockpit.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theCockpitItemTemplate.nameattribute defined at extensioncockpit.ComposedTypeModelgetRelatedType()Generated method - Getter of theCockpitItemTemplate.relatedTypeattribute defined at extensioncockpit.voidsetClassificationClasses(java.util.Collection<ClassificationClassModel> value)Generated method - Setter ofCockpitItemTemplate.classificationClassesattribute defined at extensioncockpit.voidsetCode(java.lang.String value)Generated method - Setter ofCockpitItemTemplate.codeattribute defined at extensioncockpit.voidsetDescription(java.lang.String value)Generated method - Setter ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.voidsetDescription(java.lang.String value, java.util.Locale loc)Generated method - Setter ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.voidsetName(java.lang.String value)Generated method - Setter ofCockpitItemTemplate.nameattribute defined at extensioncockpit.voidsetName(java.lang.String value, java.util.Locale loc)Generated 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, 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
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofCockpitItemTemplate.codeattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofCockpitItemTemplate.nameattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
RELATEDTYPE
public static final java.lang.String RELATEDTYPE
Generated constant - Attribute key ofCockpitItemTemplate.relatedTypeattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
CLASSIFICATIONCLASSES
public static final java.lang.String CLASSIFICATIONCLASSES
Generated constant - Attribute key ofCockpitItemTemplate.classificationClassesattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CockpitItemTemplateModel
public CockpitItemTemplateModel()
Generated constructor - Default constructor for generic creation.
-
CockpitItemTemplateModel
public CockpitItemTemplateModel(ItemModelContext ctx)
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(java.lang.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(java.lang.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 Detail
-
getClassificationClasses
@Accessor(qualifier="classificationClasses", type=GETTER) public java.util.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
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theCockpitItemTemplate.codeattribute defined at extensioncockpit.- Returns:
- the code
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theCockpitItemTemplate.descriptionattribute defined at extensioncockpit.- Returns:
- the description
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Generated method - Getter of theCockpitItemTemplate.descriptionattribute defined at extensioncockpit.- Parameters:
loc- the value localization key- Returns:
- the description
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theCockpitItemTemplate.nameattribute defined at extensioncockpit.- Returns:
- the name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theCockpitItemTemplate.nameattribute defined at extensioncockpit.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getRelatedType
@Accessor(qualifier="relatedType", type=GETTER) public ComposedTypeModel getRelatedType()
Generated method - Getter of theCockpitItemTemplate.relatedTypeattribute defined at extensioncockpit.- Returns:
- the relatedType
-
setClassificationClasses
@Accessor(qualifier="classificationClasses", type=SETTER) public void setClassificationClasses(java.util.Collection<ClassificationClassModel> value)
Generated method - Setter ofCockpitItemTemplate.classificationClassesattribute defined at extensioncockpit.- Parameters:
value- the classificationClasses
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofCockpitItemTemplate.codeattribute defined at extensioncockpit.- Parameters:
value- the code
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.- Parameters:
value- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCockpitItemTemplate.descriptionattribute defined at extensioncockpit.- Parameters:
value- the descriptionloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofCockpitItemTemplate.nameattribute defined at extensioncockpit.- Parameters:
value- the name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCockpitItemTemplate.nameattribute defined at extensioncockpit.- Parameters:
value- the nameloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setRelatedType
@Accessor(qualifier="relatedType", type=SETTER) public void setRelatedType(ComposedTypeModel value)
Generated method - Setter ofCockpitItemTemplate.relatedTypeattribute defined at extensioncockpit.- Parameters:
value- the relatedType
-
-