public class EnumerationValueModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CODE
Generated constant - Attribute key of
EnumerationValue.code attribute defined at extension core. |
static String |
CODELOWERCASE
Generated constant - Attribute key of
EnumerationValue.codeLowerCase attribute defined at extension core. |
static String |
DEPRECATED
Generated constant - Attribute key of
EnumerationValue.deprecated attribute defined at extension core. |
static String |
EXTENSIONNAME
Generated constant - Attribute key of
EnumerationValue.extensionName attribute defined at extension core. |
static String |
ICON
Generated constant - Attribute key of
EnumerationValue.icon attribute defined at extension core. |
static String |
NAME
Generated constant - Attribute key of
EnumerationValue.name attribute defined at extension core. |
static String |
SEQUENCENUMBER
Generated constant - Attribute key of
EnumerationValue.sequenceNumber attribute defined at extension core. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
EnumerationValueModel()
Generated constructor - Default constructor for generic creation.
|
EnumerationValueModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
EnumerationValueModel(String _code)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
EnumerationValueModel(String _code,
String _codeLowerCase,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Generated method - Getter of the
EnumerationValue.code attribute defined at extension core. |
String |
getCodeLowerCase()
Generated method - Getter of the
EnumerationValue.codeLowerCase attribute defined at extension core. |
Boolean |
getDeprecated()
Generated method - Getter of the
EnumerationValue.deprecated attribute defined at extension core. |
String |
getExtensionName()
Generated method - Getter of the
EnumerationValue.extensionName attribute defined at extension core. |
MediaModel |
getIcon()
Generated method - Getter of the
EnumerationValue.icon attribute defined at extension core. |
String |
getName()
Generated method - Getter of the
EnumerationValue.name attribute defined at extension core. |
String |
getName(Locale loc)
Generated method - Getter of the
EnumerationValue.name attribute defined at extension core. |
Integer |
getSequenceNumber()
Generated method - Getter of the
EnumerationValue.sequenceNumber attribute defined at extension core. |
void |
setCode(String value)
Generated method - Initial setter of
EnumerationValue.code attribute defined at extension core. |
void |
setCodeLowerCase(String value)
Generated method - Initial setter of
EnumerationValue.codeLowerCase attribute defined at extension core. |
void |
setExtensionName(String value)
Generated method - Setter of
EnumerationValue.extensionName attribute defined at extension core. |
void |
setIcon(MediaModel value)
Generated method - Setter of
EnumerationValue.icon attribute defined at extension core. |
void |
setName(String value)
Generated method - Setter of
EnumerationValue.name attribute defined at extension core. |
void |
setName(String value,
Locale loc)
Generated method - Setter of
EnumerationValue.name attribute defined at extension core. |
void |
setSequenceNumber(Integer value)
Generated method - Setter of
EnumerationValue.sequenceNumber attribute defined at extension core. |
getComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final String _TYPECODE
public static final String CODE
EnumerationValue.code attribute defined at extension core.public static final String CODELOWERCASE
EnumerationValue.codeLowerCase attribute defined at extension core.public static final String NAME
EnumerationValue.name attribute defined at extension core.public static final String SEQUENCENUMBER
EnumerationValue.sequenceNumber attribute defined at extension core.public static final String DEPRECATED
EnumerationValue.deprecated attribute defined at extension core.public static final String EXTENSIONNAME
EnumerationValue.extensionName attribute defined at extension core.public static final String ICON
EnumerationValue.icon attribute defined at extension core.public EnumerationValueModel()
public EnumerationValueModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public EnumerationValueModel(String _code)
_code - initial attribute declared by type EnumerationValue at extension core@Deprecated public EnumerationValueModel(String _code, String _codeLowerCase, ItemModel _owner)
_code - initial attribute declared by type EnumerationValue at extension core_codeLowerCase - initial attribute declared by type EnumerationValue at extension core_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="code", type=GETTER) public String getCode()
EnumerationValue.code attribute defined at extension core.@Accessor(qualifier="codeLowerCase", type=GETTER) public String getCodeLowerCase()
EnumerationValue.codeLowerCase attribute defined at extension core.@Accessor(qualifier="deprecated", type=GETTER) public Boolean getDeprecated()
EnumerationValue.deprecated attribute defined at extension core.@Accessor(qualifier="extensionName", type=GETTER) public String getExtensionName()
EnumerationValue.extensionName attribute defined at extension core.@Accessor(qualifier="icon", type=GETTER) public MediaModel getIcon()
EnumerationValue.icon attribute defined at extension core.@Accessor(qualifier="name", type=GETTER) public String getName()
EnumerationValue.name attribute defined at extension core.@Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
EnumerationValue.name attribute defined at extension core.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="sequenceNumber", type=GETTER) public Integer getSequenceNumber()
EnumerationValue.sequenceNumber attribute defined at extension core.@Accessor(qualifier="code", type=SETTER) public void setCode(String value)
EnumerationValue.code attribute defined at extension core. Can only be used at creation of model - before first save.value - the code@Accessor(qualifier="codeLowerCase", type=SETTER) public void setCodeLowerCase(String value)
EnumerationValue.codeLowerCase attribute defined at extension core. Can only be used at creation of model - before first save.value - the codeLowerCase@Accessor(qualifier="extensionName", type=SETTER) public void setExtensionName(String value)
EnumerationValue.extensionName attribute defined at extension core.value - the extensionName@Accessor(qualifier="icon", type=SETTER) public void setIcon(MediaModel value)
EnumerationValue.icon attribute defined at extension core.value - the icon@Accessor(qualifier="name", type=SETTER) public void setName(String value)
EnumerationValue.name attribute defined at extension core.value - the name@Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
EnumerationValue.name attribute defined at extension core.value - the nameloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.