public abstract class GeneratedDiscount extends GenericItem
Discount.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static String |
ABSOLUTE
Qualifier of the
Discount.absolute attribute |
static String |
CODE
Qualifier of the
Discount.code attribute |
static String |
CURRENCY
Qualifier of the
Discount.currency attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
DISCOUNTSTRING
Qualifier of the
Discount.discountString attribute |
static String |
GLOBAL
Qualifier of the
Discount.global attribute |
static String |
NAME
Qualifier of the
Discount.name attribute |
protected static String |
ORDERDISCOUNTRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for OrderDiscountRelation from ((core))
|
protected static String |
ORDERDISCOUNTRELATION_SRC_ORDERED
Relation ordering override parameter constants for OrderDiscountRelation from ((core))
|
protected static String |
ORDERDISCOUNTRELATION_TGT_ORDERED |
static String |
ORDERS
Qualifier of the
Discount.orders attribute |
static String |
PRIORITY
Qualifier of the
Discount.priority attribute |
static String |
VALUE
Qualifier of the
Discount.value attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedDiscount() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToOrders(AbstractOrder value)
Generated method - Adds
value to orders. |
void |
addToOrders(SessionContext ctx,
AbstractOrder value)
Generated method - Adds
value to orders. |
Map<Language,String> |
getAllName()
Generated method - Getter of the
Discount.name attribute. |
Map<Language,String> |
getAllName(SessionContext ctx)
Generated method - Getter of the
Discount.name attribute. |
String |
getCode()
Generated method - Getter of the
Discount.code attribute. |
String |
getCode(SessionContext ctx)
Generated method - Getter of the
Discount.code attribute. |
Currency |
getCurrency()
Generated method - Getter of the
Discount.currency attribute. |
Currency |
getCurrency(SessionContext ctx)
Generated method - Getter of the
Discount.currency attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
String |
getDiscountString()
Generated method - Getter of the
Discount.discountString attribute. |
abstract String |
getDiscountString(SessionContext ctx)
Generated method - Getter of the
Discount.discountString attribute. |
String |
getName()
Generated method - Getter of the
Discount.name attribute. |
String |
getName(SessionContext ctx)
Generated method - Getter of the
Discount.name attribute. |
Collection<AbstractOrder> |
getOrders()
Generated method - Getter of the
Discount.orders attribute. |
Collection<AbstractOrder> |
getOrders(SessionContext ctx)
Generated method - Getter of the
Discount.orders attribute. |
long |
getOrdersCount() |
long |
getOrdersCount(SessionContext ctx) |
Integer |
getPriority()
Generated method - Getter of the
Discount.priority attribute. |
Integer |
getPriority(SessionContext ctx)
Generated method - Getter of the
Discount.priority attribute. |
int |
getPriorityAsPrimitive()
Generated method - Getter of the
Discount.priority attribute. |
int |
getPriorityAsPrimitive(SessionContext ctx)
Generated method - Getter of the
Discount.priority attribute. |
Double |
getValue()
Generated method - Getter of the
Discount.value attribute. |
Double |
getValue(SessionContext ctx)
Generated method - Getter of the
Discount.value attribute. |
double |
getValueAsPrimitive()
Generated method - Getter of the
Discount.value attribute. |
double |
getValueAsPrimitive(SessionContext ctx)
Generated method - Getter of the
Discount.value attribute. |
Boolean |
isAbsolute()
Generated method - Getter of the
Discount.absolute attribute. |
abstract Boolean |
isAbsolute(SessionContext ctx)
Generated method - Getter of the
Discount.absolute attribute. |
boolean |
isAbsoluteAsPrimitive()
Generated method - Getter of the
Discount.absolute attribute. |
boolean |
isAbsoluteAsPrimitive(SessionContext ctx)
Generated method - Getter of the
Discount.absolute attribute. |
Boolean |
isGlobal()
Generated method - Getter of the
Discount.global attribute. |
Boolean |
isGlobal(SessionContext ctx)
Generated method - Getter of the
Discount.global attribute. |
boolean |
isGlobalAsPrimitive()
Generated method - Getter of the
Discount.global attribute. |
boolean |
isGlobalAsPrimitive(SessionContext ctx)
Generated method - Getter of the
Discount.global attribute. |
void |
removeFromOrders(AbstractOrder value)
Generated method - Removes
value from orders. |
void |
removeFromOrders(SessionContext ctx,
AbstractOrder value)
Generated method - Removes
value from orders. |
void |
setAllName(Map<Language,String> value)
Generated method - Setter of the
Discount.name attribute. |
void |
setAllName(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
Discount.name attribute. |
void |
setCode(SessionContext ctx,
String value)
Generated method - Setter of the
Discount.code attribute. |
void |
setCode(String value)
Generated method - Setter of the
Discount.code attribute. |
void |
setCurrency(Currency value)
Generated method - Setter of the
Discount.currency attribute. |
void |
setCurrency(SessionContext ctx,
Currency value)
Generated method - Setter of the
Discount.currency attribute. |
void |
setGlobal(boolean value)
Generated method - Setter of the
Discount.global attribute. |
void |
setGlobal(Boolean value)
Generated method - Setter of the
Discount.global attribute. |
void |
setGlobal(SessionContext ctx,
boolean value)
Generated method - Setter of the
Discount.global attribute. |
void |
setGlobal(SessionContext ctx,
Boolean value)
Generated method - Setter of the
Discount.global attribute. |
void |
setName(SessionContext ctx,
String value)
Generated method - Setter of the
Discount.name attribute. |
void |
setName(String value)
Generated method - Setter of the
Discount.name attribute. |
void |
setOrders(Collection<AbstractOrder> value)
Generated method - Setter of the
Discount.orders attribute. |
void |
setOrders(SessionContext ctx,
Collection<AbstractOrder> value)
Generated method - Setter of the
Discount.orders attribute. |
void |
setPriority(int value)
Generated method - Setter of the
Discount.priority attribute. |
void |
setPriority(Integer value)
Generated method - Setter of the
Discount.priority attribute. |
void |
setPriority(SessionContext ctx,
int value)
Generated method - Setter of the
Discount.priority attribute. |
void |
setPriority(SessionContext ctx,
Integer value)
Generated method - Setter of the
Discount.priority attribute. |
void |
setValue(double value)
Generated method - Setter of the
Discount.value attribute. |
void |
setValue(Double value)
Generated method - Setter of the
Discount.value attribute. |
void |
setValue(SessionContext ctx,
double value)
Generated method - Setter of the
Discount.value attribute. |
void |
setValue(SessionContext ctx,
Double value)
Generated method - Setter of the
Discount.value attribute. |
createItem, getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, 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, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, 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, writeReplacegetImplementation, setTenantpublic static final String ABSOLUTE
Discount.absolute attributepublic static final String CODE
Discount.code attributepublic static final String CURRENCY
Discount.currency attributepublic static final String GLOBAL
Discount.global attributepublic static final String NAME
Discount.name attributepublic static final String PRIORITY
Discount.priority attributepublic static final String VALUE
Discount.value attributepublic static final String DISCOUNTSTRING
Discount.discountString attributepublic static final String ORDERS
Discount.orders attributeprotected static String ORDERDISCOUNTRELATION_SRC_ORDERED
protected static String ORDERDISCOUNTRELATION_TGT_ORDERED
protected static String ORDERDISCOUNTRELATION_MARKMODIFIED
protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic abstract Boolean isAbsolute(SessionContext ctx)
Discount.absolute attribute.public Boolean isAbsolute()
Discount.absolute attribute.public boolean isAbsoluteAsPrimitive(SessionContext ctx)
Discount.absolute attribute.public boolean isAbsoluteAsPrimitive()
Discount.absolute attribute.public String getCode(SessionContext ctx)
Discount.code attribute.public String getCode()
Discount.code attribute.public void setCode(SessionContext ctx, String value) throws ConsistencyCheckException
Discount.code attribute.value - the codeConsistencyCheckExceptionpublic void setCode(String value) throws ConsistencyCheckException
Discount.code attribute.value - the codeConsistencyCheckExceptionpublic Currency getCurrency(SessionContext ctx)
Discount.currency attribute.public Currency getCurrency()
Discount.currency attribute.public void setCurrency(SessionContext ctx, Currency value)
Discount.currency attribute.value - the currencypublic void setCurrency(Currency value)
Discount.currency attribute.value - the currencypublic abstract String getDiscountString(SessionContext ctx)
Discount.discountString attribute.public String getDiscountString()
Discount.discountString attribute.public Boolean isGlobal(SessionContext ctx)
Discount.global attribute.public Boolean isGlobal()
Discount.global attribute.public boolean isGlobalAsPrimitive(SessionContext ctx)
Discount.global attribute.public boolean isGlobalAsPrimitive()
Discount.global attribute.public void setGlobal(SessionContext ctx, Boolean value)
Discount.global attribute.value - the globalpublic void setGlobal(Boolean value)
Discount.global attribute.value - the globalpublic void setGlobal(SessionContext ctx, boolean value)
Discount.global attribute.value - the globalpublic void setGlobal(boolean value)
Discount.global attribute.value - the globalpublic String getName(SessionContext ctx)
Discount.name attribute.public String getName()
Discount.name attribute.public Map<Language,String> getAllName(SessionContext ctx)
Discount.name attribute.public Map<Language,String> getAllName()
Discount.name attribute.public void setName(SessionContext ctx, String value)
Discount.name attribute.value - the namepublic void setName(String value)
Discount.name attribute.value - the namepublic void setAllName(SessionContext ctx, Map<Language,String> value)
Discount.name attribute.value - the namepublic void setAllName(Map<Language,String> value)
Discount.name attribute.value - the namepublic Collection<AbstractOrder> getOrders(SessionContext ctx)
Discount.orders attribute.public Collection<AbstractOrder> getOrders()
Discount.orders attribute.public long getOrdersCount(SessionContext ctx)
public long getOrdersCount()
public void setOrders(SessionContext ctx, Collection<AbstractOrder> value)
Discount.orders attribute.value - the orderspublic void setOrders(Collection<AbstractOrder> value)
Discount.orders attribute.value - the orderspublic void addToOrders(SessionContext ctx, AbstractOrder value)
value to orders.value - the item to add to orderspublic void addToOrders(AbstractOrder value)
value to orders.value - the item to add to orderspublic void removeFromOrders(SessionContext ctx, AbstractOrder value)
value from orders.value - the item to remove from orderspublic void removeFromOrders(AbstractOrder value)
value from orders.value - the item to remove from orderspublic Integer getPriority(SessionContext ctx)
Discount.priority attribute.public Integer getPriority()
Discount.priority attribute.public int getPriorityAsPrimitive(SessionContext ctx)
Discount.priority attribute.public int getPriorityAsPrimitive()
Discount.priority attribute.public void setPriority(SessionContext ctx, Integer value)
Discount.priority attribute.value - the prioritypublic void setPriority(Integer value)
Discount.priority attribute.value - the prioritypublic void setPriority(SessionContext ctx, int value)
Discount.priority attribute.value - the prioritypublic void setPriority(int value)
Discount.priority attribute.value - the prioritypublic Double getValue(SessionContext ctx)
Discount.value attribute.public Double getValue()
Discount.value attribute.public double getValueAsPrimitive(SessionContext ctx)
Discount.value attribute.public double getValueAsPrimitive()
Discount.value attribute.public void setValue(SessionContext ctx, Double value)
Discount.value attribute.value - the valuepublic void setValue(Double value)
Discount.value attribute.value - the valuepublic void setValue(SessionContext ctx, double value)
Discount.value attribute.value - the valuepublic void setValue(double value)
Discount.value attribute.value - the valueCopyright © 2017 SAP SE. All Rights Reserved.