public class ProductEntitlementModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_PRODUCT2PRODUCTENTITLEMENTSRELATION
Generated relation code constant for relation
Product2ProductEntitlementsRelation defining source attribute subscriptionProduct in extension entitlementservices. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CATALOGVERSION
Generated constant - Attribute key of
ProductEntitlement.catalogVersion attribute defined at extension entitlementservices. |
static java.lang.String |
CONDITIONGEO
Generated constant - Attribute key of
ProductEntitlement.conditionGeo attribute defined at extension entitlementservices. |
static java.lang.String |
CONDITIONPATH
Generated constant - Attribute key of
ProductEntitlement.conditionPath attribute defined at extension entitlementservices. |
static java.lang.String |
CONDITIONSTRING
Generated constant - Attribute key of
ProductEntitlement.conditionString attribute defined at extension entitlementservices. |
static java.lang.String |
DESCRIPTION
Generated constant - Attribute key of
ProductEntitlement.description attribute defined at extension entitlementservices. |
static java.lang.String |
ENTITLEMENT
Generated constant - Attribute key of
ProductEntitlement.entitlement attribute defined at extension entitlementservices. |
static java.lang.String |
ID
Generated constant - Attribute key of
ProductEntitlement.id attribute defined at extension entitlementservices. |
static java.lang.String |
QUANTITY
Generated constant - Attribute key of
ProductEntitlement.quantity attribute defined at extension entitlementservices. |
static java.lang.String |
SUBSCRIPTIONPRODUCT
Generated constant - Attribute key of
ProductEntitlement.subscriptionProduct attribute defined at extension entitlementservices. |
static java.lang.String |
TIMEUNIT
Generated constant - Attribute key of
ProductEntitlement.timeUnit attribute defined at extension entitlementservices. |
static java.lang.String |
TIMEUNITDURATION
Generated constant - Attribute key of
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices. |
static java.lang.String |
TIMEUNITSTART
Generated constant - Attribute key of
ProductEntitlement.timeUnitStart attribute defined at extension entitlementservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ProductEntitlementModel()
Generated constructor - Default constructor for generic creation.
|
ProductEntitlementModel(CatalogVersionModel _catalogVersion,
EntitlementModel _entitlement,
java.lang.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. |
java.util.Collection<java.lang.String> |
getConditionGeo()
Generated method - Getter of the
ProductEntitlement.conditionGeo attribute defined at extension entitlementservices. |
java.lang.String |
getConditionPath()
Generated method - Getter of the
ProductEntitlement.conditionPath attribute defined at extension entitlementservices. |
java.lang.String |
getConditionString()
Generated method - Getter of the
ProductEntitlement.conditionString attribute defined at extension entitlementservices. |
java.lang.String |
getDescription()
Generated method - Getter of the
ProductEntitlement.description attribute defined at extension entitlementservices. |
java.lang.String |
getDescription(java.util.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. |
java.lang.String |
getId()
Generated method - Getter of the
ProductEntitlement.id attribute defined at extension entitlementservices. |
java.lang.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. |
java.lang.Integer |
getTimeUnitDuration()
Generated method - Getter of the
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices. |
java.lang.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(java.util.Collection<java.lang.String> value)
Generated method - Setter of
ProductEntitlement.conditionGeo attribute defined at extension entitlementservices. |
void |
setConditionPath(java.lang.String value)
Generated method - Setter of
ProductEntitlement.conditionPath attribute defined at extension entitlementservices. |
void |
setConditionString(java.lang.String value)
Generated method - Setter of
ProductEntitlement.conditionString attribute defined at extension entitlementservices. |
void |
setDescription(java.lang.String value)
Generated method - Setter of
ProductEntitlement.description attribute defined at extension entitlementservices. |
void |
setDescription(java.lang.String value,
java.util.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(java.lang.String value)
Generated method - Initial setter of
ProductEntitlement.id attribute defined at extension entitlementservices. |
void |
setQuantity(java.lang.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(java.lang.Integer value)
Generated method - Setter of
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices. |
void |
setTimeUnitStart(java.lang.Integer value)
Generated method - Setter of
ProductEntitlement.timeUnitStart 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 _PRODUCT2PRODUCTENTITLEMENTSRELATION
Product2ProductEntitlementsRelation defining source attribute subscriptionProduct in extension entitlementservices.public static final java.lang.String ID
ProductEntitlement.id attribute defined at extension entitlementservices.public static final java.lang.String DESCRIPTION
ProductEntitlement.description attribute defined at extension entitlementservices.public static final java.lang.String CATALOGVERSION
ProductEntitlement.catalogVersion attribute defined at extension entitlementservices.public static final java.lang.String TIMEUNIT
ProductEntitlement.timeUnit attribute defined at extension entitlementservices.public static final java.lang.String TIMEUNITSTART
ProductEntitlement.timeUnitStart attribute defined at extension entitlementservices.public static final java.lang.String TIMEUNITDURATION
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices.public static final java.lang.String CONDITIONSTRING
ProductEntitlement.conditionString attribute defined at extension entitlementservices.public static final java.lang.String CONDITIONPATH
ProductEntitlement.conditionPath attribute defined at extension entitlementservices.public static final java.lang.String CONDITIONGEO
ProductEntitlement.conditionGeo attribute defined at extension entitlementservices.public static final java.lang.String QUANTITY
ProductEntitlement.quantity attribute defined at extension entitlementservices.public static final java.lang.String SUBSCRIPTIONPRODUCT
ProductEntitlement.subscriptionProduct attribute defined at extension entitlementservices.public static final java.lang.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, java.lang.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 java.util.Collection<java.lang.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 java.lang.String getConditionPath()
ProductEntitlement.conditionPath attribute defined at extension entitlementservices.@Accessor(qualifier="conditionString", type=GETTER) public java.lang.String getConditionString()
ProductEntitlement.conditionString attribute defined at extension entitlementservices.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
ProductEntitlement.description attribute defined at extension entitlementservices.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
ProductEntitlement.description attribute defined at extension entitlementservices.loc - the value localization keyjava.lang.IllegalArgumentException - 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 java.lang.String getId()
ProductEntitlement.id attribute defined at extension entitlementservices.@Accessor(qualifier="quantity", type=GETTER) public java.lang.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 java.lang.Integer getTimeUnitDuration()
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices.@Accessor(qualifier="timeUnitStart", type=GETTER) public java.lang.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(java.util.Collection<java.lang.String> value)
ProductEntitlement.conditionGeo attribute defined at extension entitlementservices.value - the conditionGeo - Geo Condition@Accessor(qualifier="conditionPath", type=SETTER) public void setConditionPath(java.lang.String value)
ProductEntitlement.conditionPath attribute defined at extension entitlementservices.value - the conditionPath - Path Condition@Accessor(qualifier="conditionString", type=SETTER) public void setConditionString(java.lang.String value)
ProductEntitlement.conditionString attribute defined at extension entitlementservices.value - the conditionString - String Condition@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
ProductEntitlement.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)
ProductEntitlement.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="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(java.lang.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(java.lang.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(java.lang.Integer value)
ProductEntitlement.timeUnitDuration attribute defined at extension entitlementservices.value - the timeUnitDuration - DurationCopyright © 2018 SAP SE. All Rights Reserved.