Package de.hybris.platform.cockpit.model
Class CockpitFavoriteCategoryModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.cockpit.model.CockpitFavoriteCategoryModel
-
- All Implemented Interfaces:
java.io.Serializable
public class CockpitFavoriteCategoryModel extends ItemModel
Generated model class for type CockpitFavoriteCategory 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.String_USER2COCKPITFAVORITECATEGORYRELATIONGenerated relation code constant for relationUser2CockpitFavoriteCategoryRelationdefining source attributeuserin extensioncockpit.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofCockpitFavoriteCategory.descriptionattribute defined at extensioncockpit.static java.lang.StringLABELGenerated constant - Attribute key ofCockpitFavoriteCategory.labelattribute defined at extensioncockpit.static java.lang.StringQUALIFIERGenerated constant - Attribute key ofCockpitFavoriteCategory.qualifierattribute defined at extensioncockpit.static java.lang.StringUSERGenerated constant - Attribute key ofCockpitFavoriteCategory.userattribute 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 CockpitFavoriteCategoryModel()Generated constructor - Default constructor for generic creation.CockpitFavoriteCategoryModel(ItemModel _owner, java.lang.String _qualifier)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCockpitFavoriteCategoryModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextCockpitFavoriteCategoryModel(java.lang.String _qualifier)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.lang.StringgetDescription()Generated method - Getter of theCockpitFavoriteCategory.descriptionattribute defined at extensioncockpit.java.lang.StringgetDescription(java.util.Locale loc)Generated method - Getter of theCockpitFavoriteCategory.descriptionattribute defined at extensioncockpit.java.lang.StringgetLabel()Generated method - Getter of theCockpitFavoriteCategory.labelattribute defined at extensioncockpit.java.lang.StringgetLabel(java.util.Locale loc)Generated method - Getter of theCockpitFavoriteCategory.labelattribute defined at extensioncockpit.java.lang.StringgetQualifier()Generated method - Getter of theCockpitFavoriteCategory.qualifierattribute defined at extensioncockpit.UserModelgetUser()Generated method - Getter of theCockpitFavoriteCategory.userattribute defined at extensioncockpit.voidsetDescription(java.lang.String value)Generated method - Setter ofCockpitFavoriteCategory.descriptionattribute defined at extensioncockpit.voidsetDescription(java.lang.String value, java.util.Locale loc)Generated method - Setter ofCockpitFavoriteCategory.descriptionattribute defined at extensioncockpit.voidsetLabel(java.lang.String value)Generated method - Setter ofCockpitFavoriteCategory.labelattribute defined at extensioncockpit.voidsetLabel(java.lang.String value, java.util.Locale loc)Generated method - Setter ofCockpitFavoriteCategory.labelattribute defined at extensioncockpit.voidsetQualifier(java.lang.String value)Generated method - Setter ofCockpitFavoriteCategory.qualifierattribute defined at extensioncockpit.voidsetUser(UserModel value)Generated method - Setter ofCockpitFavoriteCategory.userattribute 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
-
_USER2COCKPITFAVORITECATEGORYRELATION
public static final java.lang.String _USER2COCKPITFAVORITECATEGORYRELATION
Generated relation code constant for relationUser2CockpitFavoriteCategoryRelationdefining source attributeuserin extensioncockpit.- See Also:
- Constant Field Values
-
QUALIFIER
public static final java.lang.String QUALIFIER
Generated constant - Attribute key ofCockpitFavoriteCategory.qualifierattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
LABEL
public static final java.lang.String LABEL
Generated constant - Attribute key ofCockpitFavoriteCategory.labelattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofCockpitFavoriteCategory.descriptionattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Generated constant - Attribute key ofCockpitFavoriteCategory.userattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CockpitFavoriteCategoryModel
public CockpitFavoriteCategoryModel()
Generated constructor - Default constructor for generic creation.
-
CockpitFavoriteCategoryModel
public CockpitFavoriteCategoryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CockpitFavoriteCategoryModel
@Deprecated(since="4.1.1", forRemoval=true) public CockpitFavoriteCategoryModel(java.lang.String _qualifier)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:
_qualifier- initial attribute declared by typeCockpitFavoriteCategoryat extensioncockpit
-
CockpitFavoriteCategoryModel
@Deprecated(since="4.1.1", forRemoval=true) public CockpitFavoriteCategoryModel(ItemModel _owner, java.lang.String _qualifier)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:
_owner- initial attribute declared by typeItemat extensioncore_qualifier- initial attribute declared by typeCockpitFavoriteCategoryat extensioncockpit
-
-
Method Detail
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theCockpitFavoriteCategory.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 theCockpitFavoriteCategory.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
-
getLabel
@Accessor(qualifier="label", type=GETTER) public java.lang.String getLabel()
Generated method - Getter of theCockpitFavoriteCategory.labelattribute defined at extensioncockpit.- Returns:
- the label
-
getLabel
@Accessor(qualifier="label", type=GETTER) public java.lang.String getLabel(java.util.Locale loc)
Generated method - Getter of theCockpitFavoriteCategory.labelattribute defined at extensioncockpit.- Parameters:
loc- the value localization key- Returns:
- the label
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getQualifier
@Accessor(qualifier="qualifier", type=GETTER) public java.lang.String getQualifier()
Generated method - Getter of theCockpitFavoriteCategory.qualifierattribute defined at extensioncockpit.- Returns:
- the qualifier
-
getUser
@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
Generated method - Getter of theCockpitFavoriteCategory.userattribute defined at extensioncockpit.- Returns:
- the user
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofCockpitFavoriteCategory.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 ofCockpitFavoriteCategory.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
-
setLabel
@Accessor(qualifier="label", type=SETTER) public void setLabel(java.lang.String value)
Generated method - Setter ofCockpitFavoriteCategory.labelattribute defined at extensioncockpit.- Parameters:
value- the label
-
setLabel
@Accessor(qualifier="label", type=SETTER) public void setLabel(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCockpitFavoriteCategory.labelattribute defined at extensioncockpit.- Parameters:
value- the labelloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setQualifier
@Accessor(qualifier="qualifier", type=SETTER) public void setQualifier(java.lang.String value)
Generated method - Setter ofCockpitFavoriteCategory.qualifierattribute defined at extensioncockpit.- Parameters:
value- the qualifier
-
-