public class UsageUnitModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
ACCUMULATIVE
Generated constant - Attribute key of
UsageUnit.accumulative attribute defined at extension subscriptionservices. |
static java.lang.String |
ID
Generated constant - Attribute key of
UsageUnit.id attribute defined at extension subscriptionservices. |
static java.lang.String |
NAME
Generated constant - Attribute key of
UsageUnit.name attribute defined at extension subscriptionservices. |
static java.lang.String |
NAMEPLURAL
Generated constant - Attribute key of
UsageUnit.namePlural attribute defined at extension subscriptionservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_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(java.lang.String _id)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
UsageUnitModel(java.lang.String _id,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getAccumulative()
Generated method - Getter of the
UsageUnit.accumulative attribute defined at extension subscriptionservices. |
java.lang.String |
getId()
Generated method - Getter of the
UsageUnit.id attribute defined at extension subscriptionservices. |
java.lang.String |
getName()
Generated method - Getter of the
UsageUnit.name attribute defined at extension subscriptionservices. |
java.lang.String |
getName(java.util.Locale loc)
Generated method - Getter of the
UsageUnit.name attribute defined at extension subscriptionservices. |
java.lang.String |
getNamePlural()
Generated method - Getter of the
UsageUnit.namePlural attribute defined at extension subscriptionservices. |
java.lang.String |
getNamePlural(java.util.Locale loc)
Generated method - Getter of the
UsageUnit.namePlural attribute defined at extension subscriptionservices. |
void |
setAccumulative(java.lang.Boolean value)
Generated method - Setter of
UsageUnit.accumulative attribute defined at extension subscriptionservices. |
void |
setId(java.lang.String value)
Generated method - Initial setter of
UsageUnit.id attribute defined at extension subscriptionservices. |
void |
setName(java.lang.String value)
Generated method - Setter of
UsageUnit.name attribute defined at extension subscriptionservices. |
void |
setName(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
UsageUnit.name attribute defined at extension subscriptionservices. |
void |
setNamePlural(java.lang.String value)
Generated method - Setter of
UsageUnit.namePlural attribute defined at extension subscriptionservices. |
void |
setNamePlural(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
UsageUnit.namePlural attribute defined at extension subscriptionservices. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, 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 java.lang.String _TYPECODE
public static final java.lang.String ID
UsageUnit.id attribute defined at extension subscriptionservices.public static final java.lang.String NAME
UsageUnit.name attribute defined at extension subscriptionservices.public static final java.lang.String NAMEPLURAL
UsageUnit.namePlural attribute defined at extension subscriptionservices.public static final java.lang.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(java.lang.String _id)
_id - initial attribute declared by type UsageUnit at extension subscriptionservices@Deprecated
public UsageUnitModel(java.lang.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 java.lang.Boolean getAccumulative()
UsageUnit.accumulative attribute defined at extension subscriptionservices.@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
UsageUnit.id attribute defined at extension subscriptionservices.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
UsageUnit.name attribute defined at extension subscriptionservices.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
UsageUnit.name attribute defined at extension subscriptionservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="namePlural", type=GETTER) public java.lang.String getNamePlural()
UsageUnit.namePlural attribute defined at extension subscriptionservices.@Accessor(qualifier="namePlural", type=GETTER) public java.lang.String getNamePlural(java.util.Locale loc)
UsageUnit.namePlural attribute defined at extension subscriptionservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="accumulative", type=SETTER) public void setAccumulative(java.lang.Boolean value)
UsageUnit.accumulative attribute defined at extension subscriptionservices.value - the accumulative - Accumulative@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.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(java.lang.String value)
UsageUnit.name attribute defined at extension subscriptionservices.value - the name - Name@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
UsageUnit.name attribute defined at extension subscriptionservices.value - the name - Nameloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="namePlural", type=SETTER) public void setNamePlural(java.lang.String value)
UsageUnit.namePlural attribute defined at extension subscriptionservices.value - the namePlural - Name (Plural)@Accessor(qualifier="namePlural", type=SETTER) public void setNamePlural(java.lang.String value, java.util.Locale loc)
UsageUnit.namePlural attribute defined at extension subscriptionservices.value - the namePlural - Name (Plural)loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2018 SAP SE. All Rights Reserved.