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:
Serializable
- Direct Known Subclasses:
CountryModel,CurrencyModel,LanguageModel,RegionModel
Generated model class for type C2LItem first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofC2LItem.activeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofC2LItem.isocodeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofC2LItem.nameattribute defined at extensioncore.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.C2LItemModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextC2LItemModel(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(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
Modifier and TypeMethodDescriptionGenerated method - Getter of theC2LItem.activeattribute defined at extensioncore.Generated method - Getter of theC2LItem.isocodeattribute defined at extensioncore.getName()Generated method - Getter of theC2LItem.nameattribute defined at extensioncore.Generated method - Getter of theC2LItem.nameattribute defined at extensioncore.voidGenerated method - Setter ofC2LItem.activeattribute defined at extensioncore.voidsetIsocode(String value) Generated method - Setter ofC2LItem.isocodeattribute defined at extensioncore.voidGenerated method - Setter ofC2LItem.nameattribute defined at extensioncore.voidGenerated method - Setter ofC2LItem.nameattribute defined at extensioncore.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:
-
ACTIVE
Generated constant - Attribute key ofC2LItem.activeattribute defined at extensioncore.- See Also:
-
ISOCODE
Generated constant - Attribute key ofC2LItem.isocodeattribute defined at extensioncore.- See Also:
-
NAME
Generated constant - Attribute key ofC2LItem.nameattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
C2LItemModel
public C2LItemModel()Generated constructor - Default constructor for generic creation. -
C2LItemModel
public C2LItemModel(de.hybris.platform.servicelayer.model.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, 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, 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 Details
-
getActive
Generated method - Getter of theC2LItem.activeattribute defined at extensioncore.- Returns:
- the active
-
getIsocode
Generated method - Getter of theC2LItem.isocodeattribute defined at extensioncore.- Returns:
- the isocode
-
getName
Generated method - Getter of theC2LItem.nameattribute defined at extensioncore.- Returns:
- the name
-
getName
Generated method - Getter of theC2LItem.nameattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setActive
Generated method - Setter ofC2LItem.activeattribute defined at extensioncore.- Parameters:
value- the active
-
setIsocode
Generated method - Setter ofC2LItem.isocodeattribute defined at extensioncore.- Parameters:
value- the isocode
-
setName
Generated method - Setter ofC2LItem.nameattribute defined at extensioncore.- Parameters:
value- the name
-
setName
Generated method - Setter ofC2LItem.nameattribute defined at extensioncore.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-