public class EntitlementModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_PRODUCTENTITLEMENT2ENTITLEMENTRELATION
Generated relation code constant for relation
ProductEntitlement2EntitlementRelation defining source attribute productEntitlements in extension entitlementservices. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
DESCRIPTION
Generated constant - Attribute key of
Entitlement.description attribute defined at extension entitlementservices. |
static String |
ID
Generated constant - Attribute key of
Entitlement.id attribute defined at extension entitlementservices. |
static String |
NAME
Generated constant - Attribute key of
Entitlement.name attribute defined at extension entitlementservices. |
static String |
PRODUCTENTITLEMENTS
Generated constant - Attribute key of
Entitlement.productEntitlements attribute defined at extension entitlementservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_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(String _id)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
EntitlementModel(String _id,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Generated method - Getter of the
Entitlement.description attribute defined at extension entitlementservices. |
String |
getDescription(Locale loc)
Generated method - Getter of the
Entitlement.description attribute defined at extension entitlementservices. |
String |
getId()
Generated method - Getter of the
Entitlement.id attribute defined at extension entitlementservices. |
String |
getName()
Generated method - Getter of the
Entitlement.name attribute defined at extension entitlementservices. |
String |
getName(Locale loc)
Generated method - Getter of the
Entitlement.name attribute defined at extension entitlementservices. |
Collection<ProductEntitlementModel> |
getProductEntitlements()
Generated method - Getter of the
Entitlement.productEntitlements attribute defined at extension entitlementservices. |
void |
setDescription(String value)
Generated method - Setter of
Entitlement.description attribute defined at extension entitlementservices. |
void |
setDescription(String value,
Locale loc)
Generated method - Setter of
Entitlement.description attribute defined at extension entitlementservices. |
void |
setId(String value)
Generated method - Initial setter of
Entitlement.id attribute defined at extension entitlementservices. |
void |
setName(String value)
Generated method - Setter of
Entitlement.name attribute defined at extension entitlementservices. |
void |
setName(String value,
Locale loc)
Generated method - Setter of
Entitlement.name attribute defined at extension entitlementservices. |
void |
setProductEntitlements(Collection<ProductEntitlementModel> value)
Generated method - Setter of
Entitlement.productEntitlements attribute defined at extension entitlementservices. |
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 _PRODUCTENTITLEMENT2ENTITLEMENTRELATION
ProductEntitlement2EntitlementRelation defining source attribute productEntitlements in extension entitlementservices.public static final String ID
Entitlement.id attribute defined at extension entitlementservices.public static final String NAME
Entitlement.name attribute defined at extension entitlementservices.public static final String DESCRIPTION
Entitlement.description attribute defined at extension entitlementservices.public static final 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(String _id)
_id - initial attribute declared by type Entitlement at extension entitlementservices@Deprecated public EntitlementModel(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 String getDescription()
Entitlement.description attribute defined at extension entitlementservices.@Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
Entitlement.description attribute defined at extension entitlementservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="id", type=GETTER) public String getId()
Entitlement.id attribute defined at extension entitlementservices.@Accessor(qualifier="name", type=GETTER) public String getName()
Entitlement.name attribute defined at extension entitlementservices.@Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
Entitlement.name attribute defined at extension entitlementservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="productEntitlements", type=GETTER) public 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(String value)
Entitlement.description attribute defined at extension entitlementservices.value - the description - Description@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
Entitlement.description attribute defined at extension entitlementservices.value - the description - Descriptionloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="id", type=SETTER) public void setId(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(String value)
Entitlement.name attribute defined at extension entitlementservices.value - the name - Name@Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
Entitlement.name attribute defined at extension entitlementservices.value - the name - Nameloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="productEntitlements", type=SETTER) public void setProductEntitlements(Collection<ProductEntitlementModel> value)
Entitlement.productEntitlements attribute defined at extension entitlementservices.value - the productEntitlementsCopyright © 2017 SAP SE. All Rights Reserved.