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
_TYPECODE
Generated model type code constant.static java.lang.String
_USER2COCKPITFAVORITECATEGORYRELATION
Generated relation code constant for relationUser2CockpitFavoriteCategoryRelation
defining source attributeuser
in extensioncockpit
.static java.lang.String
DESCRIPTION
Generated constant - Attribute key ofCockpitFavoriteCategory.description
attribute defined at extensioncockpit
.static java.lang.String
LABEL
Generated constant - Attribute key ofCockpitFavoriteCategory.label
attribute defined at extensioncockpit
.static java.lang.String
QUALIFIER
Generated constant - Attribute key ofCockpitFavoriteCategory.qualifier
attribute defined at extensioncockpit
.static java.lang.String
USER
Generated constant - Attribute key ofCockpitFavoriteCategory.user
attribute 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.String
getDescription()
Generated method - Getter of theCockpitFavoriteCategory.description
attribute defined at extensioncockpit
.java.lang.String
getDescription(java.util.Locale loc)
Generated method - Getter of theCockpitFavoriteCategory.description
attribute defined at extensioncockpit
.java.lang.String
getLabel()
Generated method - Getter of theCockpitFavoriteCategory.label
attribute defined at extensioncockpit
.java.lang.String
getLabel(java.util.Locale loc)
Generated method - Getter of theCockpitFavoriteCategory.label
attribute defined at extensioncockpit
.java.lang.String
getQualifier()
Generated method - Getter of theCockpitFavoriteCategory.qualifier
attribute defined at extensioncockpit
.UserModel
getUser()
Generated method - Getter of theCockpitFavoriteCategory.user
attribute defined at extensioncockpit
.void
setDescription(java.lang.String value)
Generated method - Setter ofCockpitFavoriteCategory.description
attribute defined at extensioncockpit
.void
setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCockpitFavoriteCategory.description
attribute defined at extensioncockpit
.void
setLabel(java.lang.String value)
Generated method - Setter ofCockpitFavoriteCategory.label
attribute defined at extensioncockpit
.void
setLabel(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCockpitFavoriteCategory.label
attribute defined at extensioncockpit
.void
setQualifier(java.lang.String value)
Generated method - Setter ofCockpitFavoriteCategory.qualifier
attribute defined at extensioncockpit
.void
setUser(UserModel value)
Generated method - Setter ofCockpitFavoriteCategory.user
attribute 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 relationUser2CockpitFavoriteCategoryRelation
defining source attributeuser
in extensioncockpit
.- See Also:
- Constant Field Values
-
QUALIFIER
public static final java.lang.String QUALIFIER
Generated constant - Attribute key ofCockpitFavoriteCategory.qualifier
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
LABEL
public static final java.lang.String LABEL
Generated constant - Attribute key ofCockpitFavoriteCategory.label
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofCockpitFavoriteCategory.description
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Generated constant - Attribute key ofCockpitFavoriteCategory.user
attribute 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 typeCockpitFavoriteCategory
at 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 typeItem
at extensioncore
_qualifier
- initial attribute declared by typeCockpitFavoriteCategory
at extensioncockpit
-
-
Method Detail
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theCockpitFavoriteCategory.description
attribute 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.description
attribute 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.label
attribute 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.label
attribute 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.qualifier
attribute defined at extensioncockpit
.- Returns:
- the qualifier
-
getUser
@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
Generated method - Getter of theCockpitFavoriteCategory.user
attribute defined at extensioncockpit
.- Returns:
- the user
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofCockpitFavoriteCategory.description
attribute 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.description
attribute 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.label
attribute 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.label
attribute 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.qualifier
attribute defined at extensioncockpit
.- Parameters:
value
- the qualifier
-
-