public class UsageUnitModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
ACCUMULATIVE
Generated constant - Attribute key of
UsageUnit.accumulative attribute defined at extension subscriptionservices. |
static String |
ID
Generated constant - Attribute key of
UsageUnit.id attribute defined at extension subscriptionservices. |
static String |
NAME
Generated constant - Attribute key of
UsageUnit.name attribute defined at extension subscriptionservices. |
static String |
NAMEPLURAL
Generated constant - Attribute key of
UsageUnit.namePlural attribute defined at extension subscriptionservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
UsageUnitModel()
Generated constructor - Default constructor for generic creation.
|
UsageUnitModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
UsageUnitModel(String _id)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
UsageUnitModel(String _id,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAccumulative()
Generated method - Getter of the
UsageUnit.accumulative attribute defined at extension subscriptionservices. |
String |
getId()
Generated method - Getter of the
UsageUnit.id attribute defined at extension subscriptionservices. |
String |
getName()
Generated method - Getter of the
UsageUnit.name attribute defined at extension subscriptionservices. |
String |
getName(Locale loc)
Generated method - Getter of the
UsageUnit.name attribute defined at extension subscriptionservices. |
String |
getNamePlural()
Generated method - Getter of the
UsageUnit.namePlural attribute defined at extension subscriptionservices. |
String |
getNamePlural(Locale loc)
Generated method - Getter of the
UsageUnit.namePlural attribute defined at extension subscriptionservices. |
void |
setAccumulative(Boolean value)
Generated method - Setter of
UsageUnit.accumulative attribute defined at extension subscriptionservices. |
void |
setId(String value)
Generated method - Initial setter of
UsageUnit.id attribute defined at extension subscriptionservices. |
void |
setName(String value)
Generated method - Setter of
UsageUnit.name attribute defined at extension subscriptionservices. |
void |
setName(String value,
Locale loc)
Generated method - Setter of
UsageUnit.name attribute defined at extension subscriptionservices. |
void |
setNamePlural(String value)
Generated method - Setter of
UsageUnit.namePlural attribute defined at extension subscriptionservices. |
void |
setNamePlural(String value,
Locale loc)
Generated method - Setter of
UsageUnit.namePlural attribute defined at extension subscriptionservices. |
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 ID
UsageUnit.id attribute defined at extension subscriptionservices.public static final String NAME
UsageUnit.name attribute defined at extension subscriptionservices.public static final String NAMEPLURAL
UsageUnit.namePlural attribute defined at extension subscriptionservices.public static final String ACCUMULATIVE
UsageUnit.accumulative attribute defined at extension subscriptionservices.public UsageUnitModel()
public UsageUnitModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public UsageUnitModel(String _id)
_id - initial attribute declared by type UsageUnit at extension subscriptionservices@Deprecated public UsageUnitModel(String _id, ItemModel _owner)
_id - initial attribute declared by type UsageUnit at extension subscriptionservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="accumulative", type=GETTER) public Boolean getAccumulative()
UsageUnit.accumulative attribute defined at extension subscriptionservices.@Accessor(qualifier="id", type=GETTER) public String getId()
UsageUnit.id attribute defined at extension subscriptionservices.@Accessor(qualifier="name", type=GETTER) public String getName()
UsageUnit.name attribute defined at extension subscriptionservices.@Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
UsageUnit.name attribute defined at extension subscriptionservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="namePlural", type=GETTER) public String getNamePlural()
UsageUnit.namePlural attribute defined at extension subscriptionservices.@Accessor(qualifier="namePlural", type=GETTER) public String getNamePlural(Locale loc)
UsageUnit.namePlural attribute defined at extension subscriptionservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="accumulative", type=SETTER) public void setAccumulative(Boolean value)
UsageUnit.accumulative attribute defined at extension subscriptionservices.value - the accumulative - Accumulative@Accessor(qualifier="id", type=SETTER) public void setId(String value)
UsageUnit.id attribute defined at extension subscriptionservices. Can only be used at creation of model - before first save.value - the id - Identifier@Accessor(qualifier="name", type=SETTER) public void setName(String value)
UsageUnit.name attribute defined at extension subscriptionservices.value - the name - Name@Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
UsageUnit.name attribute defined at extension subscriptionservices.value - the name - Nameloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="namePlural", type=SETTER) public void setNamePlural(String value)
UsageUnit.namePlural attribute defined at extension subscriptionservices.value - the namePlural - Name (Plural)@Accessor(qualifier="namePlural", type=SETTER) public void setNamePlural(String value, Locale loc)
UsageUnit.namePlural attribute defined at extension subscriptionservices.value - the namePlural - Name (Plural)loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.