Class GeneratedProductEntitlement
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- de.hybris.platform.jalo.GenericItem
-
- de.hybris.platform.entitlementservices.jalo.GeneratedProductEntitlement
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
- Direct Known Subclasses:
ProductEntitlement
public abstract class GeneratedProductEntitlement extends GenericItem
Generated class for typeProductEntitlement
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CATALOGVERSION
Qualifier of theProductEntitlement.catalogVersion
attributestatic java.lang.String
CONDITIONGEO
Qualifier of theProductEntitlement.conditionGeo
attributestatic java.lang.String
CONDITIONPATH
Qualifier of theProductEntitlement.conditionPath
attributestatic java.lang.String
CONDITIONSTRING
Qualifier of theProductEntitlement.conditionString
attributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
static java.lang.String
DESCRIPTION
Qualifier of theProductEntitlement.description
attributestatic java.lang.String
ENTITLEMENT
Qualifier of theProductEntitlement.entitlement
attributeprotected static BidirectionalOneToManyHandler<GeneratedProductEntitlement>
ENTITLEMENTHANDLER
BidirectionalOneToManyHandler
for handling 1:n ENTITLEMENT's relation attributes from 'one' side.static java.lang.String
ID
Qualifier of theProductEntitlement.id
attributestatic java.lang.String
QUANTITY
Qualifier of theProductEntitlement.quantity
attributestatic java.lang.String
SUBSCRIPTIONPRODUCT
Qualifier of theProductEntitlement.subscriptionProduct
attributeprotected static BidirectionalOneToManyHandler<GeneratedProductEntitlement>
SUBSCRIPTIONPRODUCTHANDLER
BidirectionalOneToManyHandler
for handling 1:n SUBSCRIPTIONPRODUCT's relation attributes from 'one' side.static java.lang.String
TIMEUNIT
Qualifier of theProductEntitlement.timeUnit
attributestatic java.lang.String
TIMEUNITDURATION
Qualifier of theProductEntitlement.timeUnitDuration
attributestatic java.lang.String
TIMEUNITSTART
Qualifier of theProductEntitlement.timeUnitStart
attribute-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedProductEntitlement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Item
createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.java.util.Map<Language,java.lang.String>
getAllDescription()
Generated method - Getter of theProductEntitlement.description
attribute.java.util.Map<Language,java.lang.String>
getAllDescription(SessionContext ctx)
Generated method - Getter of theProductEntitlement.description
attribute.CatalogVersion
getCatalogVersion()
Generated method - Getter of theProductEntitlement.catalogVersion
attribute.CatalogVersion
getCatalogVersion(SessionContext ctx)
Generated method - Getter of theProductEntitlement.catalogVersion
attribute.java.util.Collection<java.lang.String>
getConditionGeo()
Generated method - Getter of theProductEntitlement.conditionGeo
attribute.java.util.Collection<java.lang.String>
getConditionGeo(SessionContext ctx)
Generated method - Getter of theProductEntitlement.conditionGeo
attribute.java.lang.String
getConditionPath()
Generated method - Getter of theProductEntitlement.conditionPath
attribute.java.lang.String
getConditionPath(SessionContext ctx)
Generated method - Getter of theProductEntitlement.conditionPath
attribute.java.lang.String
getConditionString()
Generated method - Getter of theProductEntitlement.conditionString
attribute.java.lang.String
getConditionString(SessionContext ctx)
Generated method - Getter of theProductEntitlement.conditionString
attribute.protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
java.lang.String
getDescription()
Generated method - Getter of theProductEntitlement.description
attribute.java.lang.String
getDescription(SessionContext ctx)
Generated method - Getter of theProductEntitlement.description
attribute.Entitlement
getEntitlement()
Generated method - Getter of theProductEntitlement.entitlement
attribute.Entitlement
getEntitlement(SessionContext ctx)
Generated method - Getter of theProductEntitlement.entitlement
attribute.java.lang.String
getId()
Generated method - Getter of theProductEntitlement.id
attribute.java.lang.String
getId(SessionContext ctx)
Generated method - Getter of theProductEntitlement.id
attribute.java.lang.Integer
getQuantity()
Generated method - Getter of theProductEntitlement.quantity
attribute.java.lang.Integer
getQuantity(SessionContext ctx)
Generated method - Getter of theProductEntitlement.quantity
attribute.int
getQuantityAsPrimitive()
Generated method - Getter of theProductEntitlement.quantity
attribute.int
getQuantityAsPrimitive(SessionContext ctx)
Generated method - Getter of theProductEntitlement.quantity
attribute.Product
getSubscriptionProduct()
Generated method - Getter of theProductEntitlement.subscriptionProduct
attribute.Product
getSubscriptionProduct(SessionContext ctx)
Generated method - Getter of theProductEntitlement.subscriptionProduct
attribute.EnumerationValue
getTimeUnit()
Generated method - Getter of theProductEntitlement.timeUnit
attribute.EnumerationValue
getTimeUnit(SessionContext ctx)
Generated method - Getter of theProductEntitlement.timeUnit
attribute.java.lang.Integer
getTimeUnitDuration()
Generated method - Getter of theProductEntitlement.timeUnitDuration
attribute.java.lang.Integer
getTimeUnitDuration(SessionContext ctx)
Generated method - Getter of theProductEntitlement.timeUnitDuration
attribute.int
getTimeUnitDurationAsPrimitive()
Generated method - Getter of theProductEntitlement.timeUnitDuration
attribute.int
getTimeUnitDurationAsPrimitive(SessionContext ctx)
Generated method - Getter of theProductEntitlement.timeUnitDuration
attribute.java.lang.Integer
getTimeUnitStart()
Generated method - Getter of theProductEntitlement.timeUnitStart
attribute.java.lang.Integer
getTimeUnitStart(SessionContext ctx)
Generated method - Getter of theProductEntitlement.timeUnitStart
attribute.int
getTimeUnitStartAsPrimitive()
Generated method - Getter of theProductEntitlement.timeUnitStart
attribute.int
getTimeUnitStartAsPrimitive(SessionContext ctx)
Generated method - Getter of theProductEntitlement.timeUnitStart
attribute.void
setAllDescription(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theProductEntitlement.description
attribute.void
setAllDescription(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theProductEntitlement.description
attribute.protected void
setCatalogVersion(CatalogVersion value)
Generated method - Setter of theProductEntitlement.catalogVersion
attribute.protected void
setCatalogVersion(SessionContext ctx, CatalogVersion value)
Generated method - Setter of theProductEntitlement.catalogVersion
attribute.void
setConditionGeo(SessionContext ctx, java.util.Collection<java.lang.String> value)
Generated method - Setter of theProductEntitlement.conditionGeo
attribute.void
setConditionGeo(java.util.Collection<java.lang.String> value)
Generated method - Setter of theProductEntitlement.conditionGeo
attribute.void
setConditionPath(SessionContext ctx, java.lang.String value)
Generated method - Setter of theProductEntitlement.conditionPath
attribute.void
setConditionPath(java.lang.String value)
Generated method - Setter of theProductEntitlement.conditionPath
attribute.void
setConditionString(SessionContext ctx, java.lang.String value)
Generated method - Setter of theProductEntitlement.conditionString
attribute.void
setConditionString(java.lang.String value)
Generated method - Setter of theProductEntitlement.conditionString
attribute.void
setDescription(SessionContext ctx, java.lang.String value)
Generated method - Setter of theProductEntitlement.description
attribute.void
setDescription(java.lang.String value)
Generated method - Setter of theProductEntitlement.description
attribute.void
setEntitlement(Entitlement value)
Generated method - Setter of theProductEntitlement.entitlement
attribute.void
setEntitlement(SessionContext ctx, Entitlement value)
Generated method - Setter of theProductEntitlement.entitlement
attribute.protected void
setId(SessionContext ctx, java.lang.String value)
Generated method - Setter of theProductEntitlement.id
attribute.protected void
setId(java.lang.String value)
Generated method - Setter of theProductEntitlement.id
attribute.void
setQuantity(int value)
Generated method - Setter of theProductEntitlement.quantity
attribute.void
setQuantity(SessionContext ctx, int value)
Generated method - Setter of theProductEntitlement.quantity
attribute.void
setQuantity(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theProductEntitlement.quantity
attribute.void
setQuantity(java.lang.Integer value)
Generated method - Setter of theProductEntitlement.quantity
attribute.void
setSubscriptionProduct(Product value)
Generated method - Setter of theProductEntitlement.subscriptionProduct
attribute.void
setSubscriptionProduct(SessionContext ctx, Product value)
Generated method - Setter of theProductEntitlement.subscriptionProduct
attribute.void
setTimeUnit(EnumerationValue value)
Generated method - Setter of theProductEntitlement.timeUnit
attribute.void
setTimeUnit(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theProductEntitlement.timeUnit
attribute.void
setTimeUnitDuration(int value)
Generated method - Setter of theProductEntitlement.timeUnitDuration
attribute.void
setTimeUnitDuration(SessionContext ctx, int value)
Generated method - Setter of theProductEntitlement.timeUnitDuration
attribute.void
setTimeUnitDuration(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theProductEntitlement.timeUnitDuration
attribute.void
setTimeUnitDuration(java.lang.Integer value)
Generated method - Setter of theProductEntitlement.timeUnitDuration
attribute.void
setTimeUnitStart(int value)
Generated method - Setter of theProductEntitlement.timeUnitStart
attribute.void
setTimeUnitStart(SessionContext ctx, int value)
Generated method - Setter of theProductEntitlement.timeUnitStart
attribute.void
setTimeUnitStart(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theProductEntitlement.timeUnitStart
attribute.void
setTimeUnitStart(java.lang.Integer value)
Generated method - Setter of theProductEntitlement.timeUnitStart
attribute.-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
Qualifier of theProductEntitlement.id
attribute- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Qualifier of theProductEntitlement.description
attribute- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Qualifier of theProductEntitlement.catalogVersion
attribute- See Also:
- Constant Field Values
-
TIMEUNIT
public static final java.lang.String TIMEUNIT
Qualifier of theProductEntitlement.timeUnit
attribute- See Also:
- Constant Field Values
-
TIMEUNITSTART
public static final java.lang.String TIMEUNITSTART
Qualifier of theProductEntitlement.timeUnitStart
attribute- See Also:
- Constant Field Values
-
TIMEUNITDURATION
public static final java.lang.String TIMEUNITDURATION
Qualifier of theProductEntitlement.timeUnitDuration
attribute- See Also:
- Constant Field Values
-
CONDITIONSTRING
public static final java.lang.String CONDITIONSTRING
Qualifier of theProductEntitlement.conditionString
attribute- See Also:
- Constant Field Values
-
CONDITIONPATH
public static final java.lang.String CONDITIONPATH
Qualifier of theProductEntitlement.conditionPath
attribute- See Also:
- Constant Field Values
-
CONDITIONGEO
public static final java.lang.String CONDITIONGEO
Qualifier of theProductEntitlement.conditionGeo
attribute- See Also:
- Constant Field Values
-
QUANTITY
public static final java.lang.String QUANTITY
Qualifier of theProductEntitlement.quantity
attribute- See Also:
- Constant Field Values
-
SUBSCRIPTIONPRODUCT
public static final java.lang.String SUBSCRIPTIONPRODUCT
Qualifier of theProductEntitlement.subscriptionProduct
attribute- See Also:
- Constant Field Values
-
ENTITLEMENT
public static final java.lang.String ENTITLEMENT
Qualifier of theProductEntitlement.entitlement
attribute- See Also:
- Constant Field Values
-
SUBSCRIPTIONPRODUCTHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedProductEntitlement> SUBSCRIPTIONPRODUCTHANDLER
BidirectionalOneToManyHandler
for handling 1:n SUBSCRIPTIONPRODUCT's relation attributes from 'one' side.
-
ENTITLEMENTHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedProductEntitlement> ENTITLEMENTHANDLER
BidirectionalOneToManyHandler
for handling 1:n ENTITLEMENT's relation attributes from 'one' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModes
in classItem
-
getCatalogVersion
public CatalogVersion getCatalogVersion(SessionContext ctx)
Generated method - Getter of theProductEntitlement.catalogVersion
attribute.- Returns:
- the catalogVersion - Catalog Version
-
getCatalogVersion
public CatalogVersion getCatalogVersion()
Generated method - Getter of theProductEntitlement.catalogVersion
attribute.- Returns:
- the catalogVersion - Catalog Version
-
setCatalogVersion
protected void setCatalogVersion(SessionContext ctx, CatalogVersion value)
Generated method - Setter of theProductEntitlement.catalogVersion
attribute.- Parameters:
value
- the catalogVersion - Catalog Version
-
setCatalogVersion
protected void setCatalogVersion(CatalogVersion value)
Generated method - Setter of theProductEntitlement.catalogVersion
attribute.- Parameters:
value
- the catalogVersion - Catalog Version
-
getConditionGeo
public java.util.Collection<java.lang.String> getConditionGeo(SessionContext ctx)
Generated method - Getter of theProductEntitlement.conditionGeo
attribute.- Returns:
- the conditionGeo - Geo Condition
-
getConditionGeo
public java.util.Collection<java.lang.String> getConditionGeo()
Generated method - Getter of theProductEntitlement.conditionGeo
attribute.- Returns:
- the conditionGeo - Geo Condition
-
setConditionGeo
public void setConditionGeo(SessionContext ctx, java.util.Collection<java.lang.String> value)
Generated method - Setter of theProductEntitlement.conditionGeo
attribute.- Parameters:
value
- the conditionGeo - Geo Condition
-
setConditionGeo
public void setConditionGeo(java.util.Collection<java.lang.String> value)
Generated method - Setter of theProductEntitlement.conditionGeo
attribute.- Parameters:
value
- the conditionGeo - Geo Condition
-
getConditionPath
public java.lang.String getConditionPath(SessionContext ctx)
Generated method - Getter of theProductEntitlement.conditionPath
attribute.- Returns:
- the conditionPath - Path Condition
-
getConditionPath
public java.lang.String getConditionPath()
Generated method - Getter of theProductEntitlement.conditionPath
attribute.- Returns:
- the conditionPath - Path Condition
-
setConditionPath
public void setConditionPath(SessionContext ctx, java.lang.String value)
Generated method - Setter of theProductEntitlement.conditionPath
attribute.- Parameters:
value
- the conditionPath - Path Condition
-
setConditionPath
public void setConditionPath(java.lang.String value)
Generated method - Setter of theProductEntitlement.conditionPath
attribute.- Parameters:
value
- the conditionPath - Path Condition
-
getConditionString
public java.lang.String getConditionString(SessionContext ctx)
Generated method - Getter of theProductEntitlement.conditionString
attribute.- Returns:
- the conditionString - String Condition
-
getConditionString
public java.lang.String getConditionString()
Generated method - Getter of theProductEntitlement.conditionString
attribute.- Returns:
- the conditionString - String Condition
-
setConditionString
public void setConditionString(SessionContext ctx, java.lang.String value)
Generated method - Setter of theProductEntitlement.conditionString
attribute.- Parameters:
value
- the conditionString - String Condition
-
setConditionString
public void setConditionString(java.lang.String value)
Generated method - Setter of theProductEntitlement.conditionString
attribute.- Parameters:
value
- the conditionString - String Condition
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:Item
Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.newInstance(Map)
.In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap)
too.
Sn example:public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) ); // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes( SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret = super.getNonInitialAttributes( ctx, allAttributes ); // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
- Overrides:
createItem
in classGenericItem
- Parameters:
ctx
- the current session context which this item is created withintype
- the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )- Returns:
- the new item instance
- Throws:
JaloBusinessException
- indicates an error during creation - any changes will be rollbacked
-
getDescription
public java.lang.String getDescription(SessionContext ctx)
Generated method - Getter of theProductEntitlement.description
attribute.- Returns:
- the description - Description
-
getDescription
public java.lang.String getDescription()
Generated method - Getter of theProductEntitlement.description
attribute.- Returns:
- the description - Description
-
getAllDescription
public java.util.Map<Language,java.lang.String> getAllDescription(SessionContext ctx)
Generated method - Getter of theProductEntitlement.description
attribute.- Returns:
- the localized description - Description
-
getAllDescription
public java.util.Map<Language,java.lang.String> getAllDescription()
Generated method - Getter of theProductEntitlement.description
attribute.- Returns:
- the localized description - Description
-
setDescription
public void setDescription(SessionContext ctx, java.lang.String value)
Generated method - Setter of theProductEntitlement.description
attribute.- Parameters:
value
- the description - Description
-
setDescription
public void setDescription(java.lang.String value)
Generated method - Setter of theProductEntitlement.description
attribute.- Parameters:
value
- the description - Description
-
setAllDescription
public void setAllDescription(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theProductEntitlement.description
attribute.- Parameters:
value
- the description - Description
-
setAllDescription
public void setAllDescription(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theProductEntitlement.description
attribute.- Parameters:
value
- the description - Description
-
getEntitlement
public Entitlement getEntitlement(SessionContext ctx)
Generated method - Getter of theProductEntitlement.entitlement
attribute.- Returns:
- the entitlement
-
getEntitlement
public Entitlement getEntitlement()
Generated method - Getter of theProductEntitlement.entitlement
attribute.- Returns:
- the entitlement
-
setEntitlement
public void setEntitlement(SessionContext ctx, Entitlement value)
Generated method - Setter of theProductEntitlement.entitlement
attribute.- Parameters:
value
- the entitlement
-
setEntitlement
public void setEntitlement(Entitlement value)
Generated method - Setter of theProductEntitlement.entitlement
attribute.- Parameters:
value
- the entitlement
-
getId
public java.lang.String getId(SessionContext ctx)
Generated method - Getter of theProductEntitlement.id
attribute.- Returns:
- the id - Identifier
-
getId
public java.lang.String getId()
Generated method - Getter of theProductEntitlement.id
attribute.- Returns:
- the id - Identifier
-
setId
protected void setId(SessionContext ctx, java.lang.String value)
Generated method - Setter of theProductEntitlement.id
attribute.- Parameters:
value
- the id - Identifier
-
setId
protected void setId(java.lang.String value)
Generated method - Setter of theProductEntitlement.id
attribute.- Parameters:
value
- the id - Identifier
-
getQuantity
public java.lang.Integer getQuantity(SessionContext ctx)
Generated method - Getter of theProductEntitlement.quantity
attribute.- Returns:
- the quantity - Quantity
-
getQuantity
public java.lang.Integer getQuantity()
Generated method - Getter of theProductEntitlement.quantity
attribute.- Returns:
- the quantity - Quantity
-
getQuantityAsPrimitive
public int getQuantityAsPrimitive(SessionContext ctx)
Generated method - Getter of theProductEntitlement.quantity
attribute.- Returns:
- the quantity - Quantity
-
getQuantityAsPrimitive
public int getQuantityAsPrimitive()
Generated method - Getter of theProductEntitlement.quantity
attribute.- Returns:
- the quantity - Quantity
-
setQuantity
public void setQuantity(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theProductEntitlement.quantity
attribute.- Parameters:
value
- the quantity - Quantity
-
setQuantity
public void setQuantity(java.lang.Integer value)
Generated method - Setter of theProductEntitlement.quantity
attribute.- Parameters:
value
- the quantity - Quantity
-
setQuantity
public void setQuantity(SessionContext ctx, int value)
Generated method - Setter of theProductEntitlement.quantity
attribute.- Parameters:
value
- the quantity - Quantity
-
setQuantity
public void setQuantity(int value)
Generated method - Setter of theProductEntitlement.quantity
attribute.- Parameters:
value
- the quantity - Quantity
-
getSubscriptionProduct
public Product getSubscriptionProduct(SessionContext ctx)
Generated method - Getter of theProductEntitlement.subscriptionProduct
attribute.- Returns:
- the subscriptionProduct
-
getSubscriptionProduct
public Product getSubscriptionProduct()
Generated method - Getter of theProductEntitlement.subscriptionProduct
attribute.- Returns:
- the subscriptionProduct
-
setSubscriptionProduct
public void setSubscriptionProduct(SessionContext ctx, Product value)
Generated method - Setter of theProductEntitlement.subscriptionProduct
attribute.- Parameters:
value
- the subscriptionProduct
-
setSubscriptionProduct
public void setSubscriptionProduct(Product value)
Generated method - Setter of theProductEntitlement.subscriptionProduct
attribute.- Parameters:
value
- the subscriptionProduct
-
getTimeUnit
public EnumerationValue getTimeUnit(SessionContext ctx)
Generated method - Getter of theProductEntitlement.timeUnit
attribute.- Returns:
- the timeUnit - Time Unit
-
getTimeUnit
public EnumerationValue getTimeUnit()
Generated method - Getter of theProductEntitlement.timeUnit
attribute.- Returns:
- the timeUnit - Time Unit
-
setTimeUnit
public void setTimeUnit(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theProductEntitlement.timeUnit
attribute.- Parameters:
value
- the timeUnit - Time Unit
-
setTimeUnit
public void setTimeUnit(EnumerationValue value)
Generated method - Setter of theProductEntitlement.timeUnit
attribute.- Parameters:
value
- the timeUnit - Time Unit
-
getTimeUnitDuration
public java.lang.Integer getTimeUnitDuration(SessionContext ctx)
Generated method - Getter of theProductEntitlement.timeUnitDuration
attribute.- Returns:
- the timeUnitDuration - Duration
-
getTimeUnitDuration
public java.lang.Integer getTimeUnitDuration()
Generated method - Getter of theProductEntitlement.timeUnitDuration
attribute.- Returns:
- the timeUnitDuration - Duration
-
getTimeUnitDurationAsPrimitive
public int getTimeUnitDurationAsPrimitive(SessionContext ctx)
Generated method - Getter of theProductEntitlement.timeUnitDuration
attribute.- Returns:
- the timeUnitDuration - Duration
-
getTimeUnitDurationAsPrimitive
public int getTimeUnitDurationAsPrimitive()
Generated method - Getter of theProductEntitlement.timeUnitDuration
attribute.- Returns:
- the timeUnitDuration - Duration
-
setTimeUnitDuration
public void setTimeUnitDuration(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theProductEntitlement.timeUnitDuration
attribute.- Parameters:
value
- the timeUnitDuration - Duration
-
setTimeUnitDuration
public void setTimeUnitDuration(java.lang.Integer value)
Generated method - Setter of theProductEntitlement.timeUnitDuration
attribute.- Parameters:
value
- the timeUnitDuration - Duration
-
setTimeUnitDuration
public void setTimeUnitDuration(SessionContext ctx, int value)
Generated method - Setter of theProductEntitlement.timeUnitDuration
attribute.- Parameters:
value
- the timeUnitDuration - Duration
-
setTimeUnitDuration
public void setTimeUnitDuration(int value)
Generated method - Setter of theProductEntitlement.timeUnitDuration
attribute.- Parameters:
value
- the timeUnitDuration - Duration
-
getTimeUnitStart
public java.lang.Integer getTimeUnitStart(SessionContext ctx)
Generated method - Getter of theProductEntitlement.timeUnitStart
attribute.- Returns:
- the timeUnitStart - Start
-
getTimeUnitStart
public java.lang.Integer getTimeUnitStart()
Generated method - Getter of theProductEntitlement.timeUnitStart
attribute.- Returns:
- the timeUnitStart - Start
-
getTimeUnitStartAsPrimitive
public int getTimeUnitStartAsPrimitive(SessionContext ctx)
Generated method - Getter of theProductEntitlement.timeUnitStart
attribute.- Returns:
- the timeUnitStart - Start
-
getTimeUnitStartAsPrimitive
public int getTimeUnitStartAsPrimitive()
Generated method - Getter of theProductEntitlement.timeUnitStart
attribute.- Returns:
- the timeUnitStart - Start
-
setTimeUnitStart
public void setTimeUnitStart(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theProductEntitlement.timeUnitStart
attribute.- Parameters:
value
- the timeUnitStart - Start
-
setTimeUnitStart
public void setTimeUnitStart(java.lang.Integer value)
Generated method - Setter of theProductEntitlement.timeUnitStart
attribute.- Parameters:
value
- the timeUnitStart - Start
-
setTimeUnitStart
public void setTimeUnitStart(SessionContext ctx, int value)
Generated method - Setter of theProductEntitlement.timeUnitStart
attribute.- Parameters:
value
- the timeUnitStart - Start
-
setTimeUnitStart
public void setTimeUnitStart(int value)
Generated method - Setter of theProductEntitlement.timeUnitStart
attribute.- Parameters:
value
- the timeUnitStart - Start
-
-