Class EnumerationValueModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.enumeration.EnumerationValueModel
- All Implemented Interfaces:
Serializable
Generated model class for type EnumerationValue first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofEnumerationValue.codeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofEnumerationValue.codeLowerCaseattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofEnumerationValue.deprecatedattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofEnumerationValue.extensionNameattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofEnumerationValue.iconattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofEnumerationValue.nameattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofEnumerationValue.sequenceNumberattribute 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.Generated constructor - Default constructor for creation with existing contextEnumerationValueModel(String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersEnumerationValueModel(String _code, String _codeLowerCase, 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 TypeMethodDescriptiongetCode()Generated method - Getter of theEnumerationValue.codeattribute defined at extensioncore.Generated method - Getter of theEnumerationValue.codeLowerCaseattribute defined at extensioncore.Generated method - Getter of theEnumerationValue.deprecatedattribute defined at extensioncore.Generated method - Getter of theEnumerationValue.extensionNameattribute defined at extensioncore.getIcon()Generated method - Getter of theEnumerationValue.iconattribute defined at extensioncore.getName()Generated method - Getter of theEnumerationValue.nameattribute defined at extensioncore.Generated method - Getter of theEnumerationValue.nameattribute defined at extensioncore.Generated method - Getter of theEnumerationValue.sequenceNumberattribute defined at extensioncore.voidGenerated method - Initial setter ofEnumerationValue.codeattribute defined at extensioncore.voidsetCodeLowerCase(String value) Generated method - Initial setter ofEnumerationValue.codeLowerCaseattribute defined at extensioncore.voidsetExtensionName(String value) Generated method - Setter ofEnumerationValue.extensionNameattribute defined at extensioncore.voidsetIcon(MediaModel value) Generated method - Setter ofEnumerationValue.iconattribute defined at extensioncore.voidGenerated method - Setter ofEnumerationValue.nameattribute defined at extensioncore.voidGenerated method - Setter ofEnumerationValue.nameattribute defined at extensioncore.voidsetSequenceNumber(Integer value) Generated method - Setter ofEnumerationValue.sequenceNumberattribute 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:
-
CODE
Generated constant - Attribute key ofEnumerationValue.codeattribute defined at extensioncore.- See Also:
-
CODELOWERCASE
Generated constant - Attribute key ofEnumerationValue.codeLowerCaseattribute defined at extensioncore.- See Also:
-
NAME
Generated constant - Attribute key ofEnumerationValue.nameattribute defined at extensioncore.- See Also:
-
SEQUENCENUMBER
Generated constant - Attribute key ofEnumerationValue.sequenceNumberattribute defined at extensioncore.- See Also:
-
DEPRECATED
Generated constant - Attribute key ofEnumerationValue.deprecatedattribute defined at extensioncore.- See Also:
-
EXTENSIONNAME
Generated constant - Attribute key ofEnumerationValue.extensionNameattribute defined at extensioncore.- See Also:
-
ICON
Generated constant - Attribute key ofEnumerationValue.iconattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
EnumerationValueModel
public EnumerationValueModel()Generated constructor - Default constructor for generic creation. -
EnumerationValueModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
EnumerationValueModel
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 typeEnumerationValueat extensioncore
-
EnumerationValueModel
@Deprecated(since="4.1.1", forRemoval=true) public EnumerationValueModel(String _code, String _codeLowerCase, 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:
_code- initial attribute declared by typeEnumerationValueat extensioncore_codeLowerCase- initial attribute declared by typeEnumerationValueat extensioncore_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theEnumerationValue.codeattribute defined at extensioncore.- Returns:
- the code
-
getCodeLowerCase
Generated method - Getter of theEnumerationValue.codeLowerCaseattribute defined at extensioncore.- Returns:
- the codeLowerCase
-
getDeprecated
Generated method - Getter of theEnumerationValue.deprecatedattribute defined at extensioncore.- Returns:
- the deprecated
-
getExtensionName
Generated method - Getter of theEnumerationValue.extensionNameattribute defined at extensioncore.- Returns:
- the extensionName
-
getIcon
Generated method - Getter of theEnumerationValue.iconattribute defined at extensioncore.- Returns:
- the icon
-
getName
Generated method - Getter of theEnumerationValue.nameattribute defined at extensioncore.- Returns:
- the name
-
getName
Generated method - Getter of theEnumerationValue.nameattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getSequenceNumber
Generated method - Getter of theEnumerationValue.sequenceNumberattribute defined at extensioncore.- Returns:
- the sequenceNumber
-
setCode
Generated method - Initial setter ofEnumerationValue.codeattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the code
-
setCodeLowerCase
Generated method - Initial setter ofEnumerationValue.codeLowerCaseattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the codeLowerCase
-
setExtensionName
Generated method - Setter ofEnumerationValue.extensionNameattribute defined at extensioncore.- Parameters:
value- the extensionName
-
setIcon
Generated method - Setter ofEnumerationValue.iconattribute defined at extensioncore.- Parameters:
value- the icon
-
setName
Generated method - Setter ofEnumerationValue.nameattribute defined at extensioncore.- Parameters:
value- the name
-
setName
Generated method - Setter ofEnumerationValue.nameattribute defined at extensioncore.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setSequenceNumber
Generated method - Setter ofEnumerationValue.sequenceNumberattribute defined at extensioncore.- Parameters:
value- the sequenceNumber
-