public class EntitlementModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_PRODUCTENTITLEMENT2ENTITLEMENTRELATION
Generated relation code constant for relation
ProductEntitlement2EntitlementRelation defining source attribute productEntitlements in extension entitlementservices. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
DESCRIPTION
Generated constant - Attribute key of
Entitlement.description attribute defined at extension entitlementservices. |
static java.lang.String |
ID
Generated constant - Attribute key of
Entitlement.id attribute defined at extension entitlementservices. |
static java.lang.String |
NAME
Generated constant - Attribute key of
Entitlement.name attribute defined at extension entitlementservices. |
static java.lang.String |
PRODUCTENTITLEMENTS
Generated constant - Attribute key of
Entitlement.productEntitlements attribute defined at extension entitlementservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
EntitlementModel()
Generated constructor - Default constructor for generic creation.
|
EntitlementModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
EntitlementModel(java.lang.String _id)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
EntitlementModel(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.String |
getDescription()
Generated method - Getter of the
Entitlement.description attribute defined at extension entitlementservices. |
java.lang.String |
getDescription(java.util.Locale loc)
Generated method - Getter of the
Entitlement.description attribute defined at extension entitlementservices. |
java.lang.String |
getId()
Generated method - Getter of the
Entitlement.id attribute defined at extension entitlementservices. |
java.lang.String |
getName()
Generated method - Getter of the
Entitlement.name attribute defined at extension entitlementservices. |
java.lang.String |
getName(java.util.Locale loc)
Generated method - Getter of the
Entitlement.name attribute defined at extension entitlementservices. |
java.util.Collection<ProductEntitlementModel> |
getProductEntitlements()
Generated method - Getter of the
Entitlement.productEntitlements attribute defined at extension entitlementservices. |
void |
setDescription(java.lang.String value)
Generated method - Setter of
Entitlement.description attribute defined at extension entitlementservices. |
void |
setDescription(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
Entitlement.description attribute defined at extension entitlementservices. |
void |
setId(java.lang.String value)
Generated method - Initial setter of
Entitlement.id attribute defined at extension entitlementservices. |
void |
setName(java.lang.String value)
Generated method - Setter of
Entitlement.name attribute defined at extension entitlementservices. |
void |
setName(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
Entitlement.name attribute defined at extension entitlementservices. |
void |
setProductEntitlements(java.util.Collection<ProductEntitlementModel> value)
Generated method - Setter of
Entitlement.productEntitlements attribute defined at extension entitlementservices. |
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 _PRODUCTENTITLEMENT2ENTITLEMENTRELATION
ProductEntitlement2EntitlementRelation defining source attribute productEntitlements in extension entitlementservices.public static final java.lang.String ID
Entitlement.id attribute defined at extension entitlementservices.public static final java.lang.String NAME
Entitlement.name attribute defined at extension entitlementservices.public static final java.lang.String DESCRIPTION
Entitlement.description attribute defined at extension entitlementservices.public static final java.lang.String PRODUCTENTITLEMENTS
Entitlement.productEntitlements attribute defined at extension entitlementservices.public EntitlementModel()
public EntitlementModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public EntitlementModel(java.lang.String _id)
_id - initial attribute declared by type Entitlement at extension entitlementservices@Deprecated
public EntitlementModel(java.lang.String _id,
ItemModel _owner)
_id - initial attribute declared by type Entitlement at extension entitlementservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Entitlement.description attribute defined at extension entitlementservices.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Entitlement.description attribute defined at extension entitlementservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
Entitlement.id attribute defined at extension entitlementservices.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Entitlement.name attribute defined at extension entitlementservices.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Entitlement.name attribute defined at extension entitlementservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="productEntitlements", type=GETTER) public java.util.Collection<ProductEntitlementModel> getProductEntitlements()
Entitlement.productEntitlements attribute defined at extension entitlementservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Entitlement.description attribute defined at extension entitlementservices.value - the description - Description@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Entitlement.description attribute defined at extension entitlementservices.value - the description - Descriptionloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
Entitlement.id attribute defined at extension entitlementservices. 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)
Entitlement.name attribute defined at extension entitlementservices.value - the name - Name@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Entitlement.name attribute defined at extension entitlementservices.value - the name - Nameloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="productEntitlements", type=SETTER) public void setProductEntitlements(java.util.Collection<ProductEntitlementModel> value)
Entitlement.productEntitlements attribute defined at extension entitlementservices.value - the productEntitlementsCopyright © 2018 SAP SE. All Rights Reserved.