public class ProductEntitlementModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_PRODUCT2PRODUCTENTITLEMENTSRELATION
Generated relation code constant for relation
Product2ProductEntitlementsRelation defining source attribute subscriptionProduct in extension entitlementservices. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CATALOGVERSION
Generated constant - Attribute key of
ProductEntitlement.catalogVersion attribute defined at extension entitlementservices. |
static String |
CONDITIONGEO
Generated constant - Attribute key of
ProductEntitlement.conditionGeo attribute defined at extension entitlementservices. |
static String |
CONDITIONPATH
Generated constant - Attribute key of
ProductEntitlement.conditionPath attribute defined at extension entitlementservices. |
static String |
CONDITIONSTRING
Generated constant - Attribute key of
ProductEntitlement.conditionString attribute defined at extension entitlementservices. |
static String |
DESCRIPTION
Generated constant - Attribute key of
ProductEntitlement.description attribute defined at extension entitlementservices. |
static String |
ENTITLEMENT
Generated constant - Attribute key of
ProductEntitlement.entitlement attribute defined at extension entitlementservices. |
static String |
ID
Generated constant - Attribute key of
ProductEntitlement.id attribute defined at extension entitlementservices. |
static String |
QUANTITY
Generated constant - Attribute key of
ProductEntitlement.quantity attribute defined at extension entitlementservices. |
static String |
SUBSCRIPTIONPRODUCT
Generated constant - Attribute key of
ProductEntitlement.subscriptionProduct attribute defined at extension entitlementservices. |
static String |
TIMEUNIT
Generated constant - Attribute key of
ProductEntitlement.timeUnit attribute defined at extension entitlementservices. |
static String |
TIMEUNITDURATION
Generated constant - Attribute key of
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices. |
static String |
TIMEUNITSTART
Generated constant - Attribute key of
ProductEntitlement.timeUnitStart attribute defined at extension entitlementservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ProductEntitlementModel()
Generated constructor - Default constructor for generic creation.
|
ProductEntitlementModel(CatalogVersionModel _catalogVersion,
EntitlementModel _entitlement,
String _id,
ItemModel _owner,
ProductModel _subscriptionProduct)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ProductEntitlementModel(EntitlementModel _entitlement,
ProductModel _subscriptionProduct)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ProductEntitlementModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
CatalogVersionModel |
getCatalogVersion()
Generated method - Getter of the
ProductEntitlement.catalogVersion attribute defined at extension entitlementservices. |
Collection<String> |
getConditionGeo()
Generated method - Getter of the
ProductEntitlement.conditionGeo attribute defined at extension entitlementservices. |
String |
getConditionPath()
Generated method - Getter of the
ProductEntitlement.conditionPath attribute defined at extension entitlementservices. |
String |
getConditionString()
Generated method - Getter of the
ProductEntitlement.conditionString attribute defined at extension entitlementservices. |
String |
getDescription()
Generated method - Getter of the
ProductEntitlement.description attribute defined at extension entitlementservices. |
String |
getDescription(Locale loc)
Generated method - Getter of the
ProductEntitlement.description attribute defined at extension entitlementservices. |
EntitlementModel |
getEntitlement()
Generated method - Getter of the
ProductEntitlement.entitlement attribute defined at extension entitlementservices. |
String |
getId()
Generated method - Getter of the
ProductEntitlement.id attribute defined at extension entitlementservices. |
Integer |
getQuantity()
Generated method - Getter of the
ProductEntitlement.quantity attribute defined at extension entitlementservices. |
ProductModel |
getSubscriptionProduct()
Generated method - Getter of the
ProductEntitlement.subscriptionProduct attribute defined at extension entitlementservices. |
EntitlementTimeUnit |
getTimeUnit()
Generated method - Getter of the
ProductEntitlement.timeUnit attribute defined at extension entitlementservices. |
Integer |
getTimeUnitDuration()
Generated method - Getter of the
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices. |
Integer |
getTimeUnitStart()
Generated method - Getter of the
ProductEntitlement.timeUnitStart attribute defined at extension entitlementservices. |
void |
setCatalogVersion(CatalogVersionModel value)
Generated method - Initial setter of
ProductEntitlement.catalogVersion attribute defined at extension entitlementservices. |
void |
setConditionGeo(Collection<String> value)
Generated method - Setter of
ProductEntitlement.conditionGeo attribute defined at extension entitlementservices. |
void |
setConditionPath(String value)
Generated method - Setter of
ProductEntitlement.conditionPath attribute defined at extension entitlementservices. |
void |
setConditionString(String value)
Generated method - Setter of
ProductEntitlement.conditionString attribute defined at extension entitlementservices. |
void |
setDescription(String value)
Generated method - Setter of
ProductEntitlement.description attribute defined at extension entitlementservices. |
void |
setDescription(String value,
Locale loc)
Generated method - Setter of
ProductEntitlement.description attribute defined at extension entitlementservices. |
void |
setEntitlement(EntitlementModel value)
Generated method - Setter of
ProductEntitlement.entitlement attribute defined at extension entitlementservices. |
void |
setId(String value)
Generated method - Initial setter of
ProductEntitlement.id attribute defined at extension entitlementservices. |
void |
setQuantity(Integer value)
Generated method - Setter of
ProductEntitlement.quantity attribute defined at extension entitlementservices. |
void |
setSubscriptionProduct(ProductModel value)
Generated method - Setter of
ProductEntitlement.subscriptionProduct attribute defined at extension entitlementservices. |
void |
setTimeUnit(EntitlementTimeUnit value)
Generated method - Setter of
ProductEntitlement.timeUnit attribute defined at extension entitlementservices. |
void |
setTimeUnitDuration(Integer value)
Generated method - Setter of
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices. |
void |
setTimeUnitStart(Integer value)
Generated method - Setter of
ProductEntitlement.timeUnitStart 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 _PRODUCT2PRODUCTENTITLEMENTSRELATION
Product2ProductEntitlementsRelation defining source attribute subscriptionProduct in extension entitlementservices.public static final String ID
ProductEntitlement.id attribute defined at extension entitlementservices.public static final String DESCRIPTION
ProductEntitlement.description attribute defined at extension entitlementservices.public static final String CATALOGVERSION
ProductEntitlement.catalogVersion attribute defined at extension entitlementservices.public static final String TIMEUNIT
ProductEntitlement.timeUnit attribute defined at extension entitlementservices.public static final String TIMEUNITSTART
ProductEntitlement.timeUnitStart attribute defined at extension entitlementservices.public static final String TIMEUNITDURATION
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices.public static final String CONDITIONSTRING
ProductEntitlement.conditionString attribute defined at extension entitlementservices.public static final String CONDITIONPATH
ProductEntitlement.conditionPath attribute defined at extension entitlementservices.public static final String CONDITIONGEO
ProductEntitlement.conditionGeo attribute defined at extension entitlementservices.public static final String QUANTITY
ProductEntitlement.quantity attribute defined at extension entitlementservices.public static final String SUBSCRIPTIONPRODUCT
ProductEntitlement.subscriptionProduct attribute defined at extension entitlementservices.public static final String ENTITLEMENT
ProductEntitlement.entitlement attribute defined at extension entitlementservices.public ProductEntitlementModel()
public ProductEntitlementModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ProductEntitlementModel(EntitlementModel _entitlement, ProductModel _subscriptionProduct)
_entitlement - initial attribute declared by type ProductEntitlement at extension entitlementservices_subscriptionProduct - initial attribute declared by type ProductEntitlement at extension entitlementservices@Deprecated public ProductEntitlementModel(CatalogVersionModel _catalogVersion, EntitlementModel _entitlement, String _id, ItemModel _owner, ProductModel _subscriptionProduct)
_catalogVersion - initial attribute declared by type ProductEntitlement at extension entitlementservices_entitlement - initial attribute declared by type ProductEntitlement at extension entitlementservices_id - initial attribute declared by type ProductEntitlement at extension entitlementservices_owner - initial attribute declared by type Item at extension core_subscriptionProduct - initial attribute declared by type ProductEntitlement at extension entitlementservices@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
ProductEntitlement.catalogVersion attribute defined at extension entitlementservices.@Accessor(qualifier="conditionGeo", type=GETTER) public Collection<String> getConditionGeo()
ProductEntitlement.conditionGeo attribute defined at extension entitlementservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="conditionPath", type=GETTER) public String getConditionPath()
ProductEntitlement.conditionPath attribute defined at extension entitlementservices.@Accessor(qualifier="conditionString", type=GETTER) public String getConditionString()
ProductEntitlement.conditionString attribute defined at extension entitlementservices.@Accessor(qualifier="description", type=GETTER) public String getDescription()
ProductEntitlement.description attribute defined at extension entitlementservices.@Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
ProductEntitlement.description attribute defined at extension entitlementservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="entitlement", type=GETTER) public EntitlementModel getEntitlement()
ProductEntitlement.entitlement attribute defined at extension entitlementservices.@Accessor(qualifier="id", type=GETTER) public String getId()
ProductEntitlement.id attribute defined at extension entitlementservices.@Accessor(qualifier="quantity", type=GETTER) public Integer getQuantity()
ProductEntitlement.quantity attribute defined at extension entitlementservices.@Accessor(qualifier="subscriptionProduct", type=GETTER) public ProductModel getSubscriptionProduct()
ProductEntitlement.subscriptionProduct attribute defined at extension entitlementservices.@Accessor(qualifier="timeUnit", type=GETTER) public EntitlementTimeUnit getTimeUnit()
ProductEntitlement.timeUnit attribute defined at extension entitlementservices.@Accessor(qualifier="timeUnitDuration", type=GETTER) public Integer getTimeUnitDuration()
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices.@Accessor(qualifier="timeUnitStart", type=GETTER) public Integer getTimeUnitStart()
ProductEntitlement.timeUnitStart attribute defined at extension entitlementservices.@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
ProductEntitlement.catalogVersion attribute defined at extension entitlementservices. Can only be used at creation of model - before first save.value - the catalogVersion - Catalog Version@Accessor(qualifier="conditionGeo", type=SETTER) public void setConditionGeo(Collection<String> value)
ProductEntitlement.conditionGeo attribute defined at extension entitlementservices.value - the conditionGeo - Geo Condition@Accessor(qualifier="conditionPath", type=SETTER) public void setConditionPath(String value)
ProductEntitlement.conditionPath attribute defined at extension entitlementservices.value - the conditionPath - Path Condition@Accessor(qualifier="conditionString", type=SETTER) public void setConditionString(String value)
ProductEntitlement.conditionString attribute defined at extension entitlementservices.value - the conditionString - String Condition@Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
ProductEntitlement.description attribute defined at extension entitlementservices.value - the description - Description@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
ProductEntitlement.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="entitlement", type=SETTER) public void setEntitlement(EntitlementModel value)
ProductEntitlement.entitlement attribute defined at extension entitlementservices.value - the entitlement@Accessor(qualifier="id", type=SETTER) public void setId(String value)
ProductEntitlement.id attribute defined at extension entitlementservices. Can only be used at creation of model - before first save.value - the id - Identifier@Accessor(qualifier="quantity", type=SETTER) public void setQuantity(Integer value)
ProductEntitlement.quantity attribute defined at extension entitlementservices.value - the quantity - Quantity@Accessor(qualifier="subscriptionProduct", type=SETTER) public void setSubscriptionProduct(ProductModel value)
ProductEntitlement.subscriptionProduct attribute defined at extension entitlementservices.value - the subscriptionProduct@Accessor(qualifier="timeUnit", type=SETTER) public void setTimeUnit(EntitlementTimeUnit value)
ProductEntitlement.timeUnit attribute defined at extension entitlementservices.value - the timeUnit - Time Unit@Accessor(qualifier="timeUnitDuration", type=SETTER) public void setTimeUnitDuration(Integer value)
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices.value - the timeUnitDuration - DurationCopyright © 2017 SAP SE. All Rights Reserved.