Class C2LItemModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.c2l.C2LItemModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CityModel,CountryModel,CurrencyModel,DistrictModel,LanguageModel,RegionModel
public class C2LItemModel extends ItemModel
Generated model class for type C2LItem first defined at extension core.- 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.StringACTIVEGenerated constant - Attribute key ofC2LItem.activeattribute defined at extensioncore.static java.lang.StringISOCODEGenerated constant - Attribute key ofC2LItem.isocodeattribute defined at extensioncore.static java.lang.StringNAMEGenerated constant - Attribute key ofC2LItem.nameattribute defined at extensioncore.static java.lang.StringZONEGenerated constant - Attribute key ofC2LItem.zoneattribute defined at extensionchineselogisticservices.-
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 C2LItemModel()Generated constructor - Default constructor for generic creation.C2LItemModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextC2LItemModel(java.lang.String _isocode)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersC2LItemModel(java.lang.String _isocode, 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetActive()Generated method - Getter of theC2LItem.activeattribute defined at extensioncore.java.lang.StringgetIsocode()Generated method - Getter of theC2LItem.isocodeattribute defined at extensioncore.java.lang.StringgetName()Generated method - Getter of theC2LItem.nameattribute defined at extensioncore.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theC2LItem.nameattribute defined at extensioncore.ZoneModelgetZone()Generated method - Getter of theC2LItem.zoneattribute defined at extensionchineselogisticservices.voidsetActive(java.lang.Boolean value)Generated method - Setter ofC2LItem.activeattribute defined at extensioncore.voidsetIsocode(java.lang.String value)Generated method - Setter ofC2LItem.isocodeattribute defined at extensioncore.voidsetName(java.lang.String value)Generated method - Setter ofC2LItem.nameattribute defined at extensioncore.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofC2LItem.nameattribute defined at extensioncore.voidsetZone(ZoneModel value)Generated method - Setter ofC2LItem.zoneattribute defined at extensionchineselogisticservices.-
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
-
ACTIVE
public static final java.lang.String ACTIVE
Generated constant - Attribute key ofC2LItem.activeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
ISOCODE
public static final java.lang.String ISOCODE
Generated constant - Attribute key ofC2LItem.isocodeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofC2LItem.nameattribute defined at extensioncore.- See Also:
- Constant Field Values
-
ZONE
public static final java.lang.String ZONE
Generated constant - Attribute key ofC2LItem.zoneattribute defined at extensionchineselogisticservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
C2LItemModel
public C2LItemModel()
Generated constructor - Default constructor for generic creation.
-
C2LItemModel
public C2LItemModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
C2LItemModel
@Deprecated(since="4.1.1", forRemoval=true) public C2LItemModel(java.lang.String _isocode)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:
_isocode- initial attribute declared by typeC2LItemat extensioncore
-
C2LItemModel
@Deprecated(since="4.1.1", forRemoval=true) public C2LItemModel(java.lang.String _isocode, 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:
_isocode- initial attribute declared by typeC2LItemat extensioncore_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getActive
@Accessor(qualifier="active", type=GETTER) public java.lang.Boolean getActive()
Generated method - Getter of theC2LItem.activeattribute defined at extensioncore.- Returns:
- the active
-
getIsocode
@Accessor(qualifier="isocode", type=GETTER) public java.lang.String getIsocode()
Generated method - Getter of theC2LItem.isocodeattribute defined at extensioncore.- Returns:
- the isocode
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theC2LItem.nameattribute defined at extensioncore.- Returns:
- the name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theC2LItem.nameattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getZone
@Accessor(qualifier="zone", type=GETTER) public ZoneModel getZone()
Generated method - Getter of theC2LItem.zoneattribute defined at extensionchineselogisticservices.- Returns:
- the zone
-
setActive
@Accessor(qualifier="active", type=SETTER) public void setActive(java.lang.Boolean value)
Generated method - Setter ofC2LItem.activeattribute defined at extensioncore.- Parameters:
value- the active
-
setIsocode
@Accessor(qualifier="isocode", type=SETTER) public void setIsocode(java.lang.String value)
Generated method - Setter ofC2LItem.isocodeattribute defined at extensioncore.- Parameters:
value- the isocode
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofC2LItem.nameattribute defined at extensioncore.- Parameters:
value- the name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofC2LItem.nameattribute defined at extensioncore.- Parameters:
value- the nameloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
-