public abstract class GeneratedTaxRow extends PDTRow
TaxRow.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 |
CATALOGVERSION
Qualifier of the
TaxRow.catalogVersion attribute |
static String |
CURRENCY
Qualifier of the
TaxRow.currency attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
protected static BidirectionalOneToManyHandler<GeneratedTaxRow> |
PRODUCTHANDLER
BidirectionalOneToManyHandler for handling 1:n PRODUCT's relation attributes from 'one' side. |
static String |
TAX
Qualifier of the
TaxRow.tax attribute |
static String |
VALUE
Qualifier of the
TaxRow.value attribute |
ALL_PRODUCT_GROUPS, ALL_PRODUCTS, ALL_USER_GROUPS, ALL_USERS, DATE_RANGE, DATERANGE, END_TIME, START_TIMEENDTIME, PG, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, STARTTIME, UG, USER, USERMATCHQUALIFIERLANGUAGE_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 |
|---|
GeneratedTaxRow() |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
CatalogVersion |
getCatalogVersion()
Generated method - Getter of the
TaxRow.catalogVersion attribute. |
CatalogVersion |
getCatalogVersion(SessionContext ctx)
Generated method - Getter of the
TaxRow.catalogVersion attribute. |
Currency |
getCurrency()
Generated method - Getter of the
TaxRow.currency attribute. |
Currency |
getCurrency(SessionContext ctx)
Generated method - Getter of the
TaxRow.currency attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Tax |
getTax()
Generated method - Getter of the
TaxRow.tax attribute. |
Tax |
getTax(SessionContext ctx)
Generated method - Getter of the
TaxRow.tax attribute. |
Double |
getValue()
Generated method - Getter of the
TaxRow.value attribute. |
Double |
getValue(SessionContext ctx)
Generated method - Getter of the
TaxRow.value attribute. |
double |
getValueAsPrimitive()
Generated method - Getter of the
TaxRow.value attribute. |
double |
getValueAsPrimitive(SessionContext ctx)
Generated method - Getter of the
TaxRow.value attribute. |
void |
setCatalogVersion(CatalogVersion value)
Generated method - Setter of the
TaxRow.catalogVersion attribute. |
void |
setCatalogVersion(SessionContext ctx,
CatalogVersion value)
Generated method - Setter of the
TaxRow.catalogVersion attribute. |
void |
setCurrency(Currency value)
Generated method - Setter of the
TaxRow.currency attribute. |
void |
setCurrency(SessionContext ctx,
Currency value)
Generated method - Setter of the
TaxRow.currency attribute. |
protected void |
setTax(SessionContext ctx,
Tax value)
Generated method - Setter of the
TaxRow.tax attribute. |
protected void |
setTax(Tax value)
Generated method - Setter of the
TaxRow.tax attribute. |
void |
setValue(double value)
Generated method - Setter of the
TaxRow.value attribute. |
void |
setValue(Double value)
Generated method - Setter of the
TaxRow.value attribute. |
void |
setValue(SessionContext ctx,
double value)
Generated method - Setter of the
TaxRow.value attribute. |
void |
setValue(SessionContext ctx,
Double value)
Generated method - Setter of the
TaxRow.value attribute. |
getCustomer, getCustomer, getCustomerGroup, getCustomerGroup, getCustomerPriceGroup, getCustomerPriceGroup, getDateRange, getDateRange, getInitialProductMatchField, getInitialUserMatchField, getProductGroup, getProductGroup, getProductPriceGroup, getProductPriceGroup, getUserGroup, getUserGroup, markProductModified, remove, removeLinks, setDateRange, setDateRange, setPg, setProduct, setProductId, setProductMatchQualifier, setProperty, setUg, setUser, setUserMatchQualifier, updateProductMatchField, updateUserMatchFieldgetEndTime, getEndTime, getPg, getPg, getProduct, getProduct, getProductId, getProductId, getProductMatchQualifier, getProductMatchQualifier, getProductMatchQualifierAsPrimitive, getProductMatchQualifierAsPrimitive, getStartTime, getStartTime, getUg, getUg, getUser, getUser, getUserMatchQualifier, getUserMatchQualifier, getUserMatchQualifierAsPrimitive, getUserMatchQualifierAsPrimitive, setEndTime, setEndTime, setPg, setProduct, setProductId, setProductMatchQualifier, setProductMatchQualifier, setProductMatchQualifier, setStartTime, setStartTime, setUg, setUser, setUserMatchQualifier, setUserMatchQualifier, setUserMatchQualifiergetInitialProperties, 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, 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, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, 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 CATALOGVERSION
TaxRow.catalogVersion attributepublic static final String CURRENCY
TaxRow.currency attributepublic static final String TAX
TaxRow.tax attributepublic static final String VALUE
TaxRow.value attributeprotected static final BidirectionalOneToManyHandler<GeneratedTaxRow> PRODUCTHANDLER
BidirectionalOneToManyHandler for handling 1:n PRODUCT's relation attributes from 'one' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedPDTRowpublic CatalogVersion getCatalogVersion(SessionContext ctx)
TaxRow.catalogVersion attribute.public CatalogVersion getCatalogVersion()
TaxRow.catalogVersion attribute.public void setCatalogVersion(SessionContext ctx, CatalogVersion value)
TaxRow.catalogVersion attribute.value - the catalogVersionpublic void setCatalogVersion(CatalogVersion value)
TaxRow.catalogVersion attribute.value - the catalogVersionprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.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; }
createItem in class PDTRowctx - 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 )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic Currency getCurrency(SessionContext ctx)
TaxRow.currency attribute.public Currency getCurrency()
TaxRow.currency attribute.public void setCurrency(SessionContext ctx, Currency value)
TaxRow.currency attribute.value - the currencypublic void setCurrency(Currency value)
TaxRow.currency attribute.value - the currencypublic Tax getTax(SessionContext ctx)
TaxRow.tax attribute.public Tax getTax()
TaxRow.tax attribute.protected void setTax(SessionContext ctx, Tax value)
TaxRow.tax attribute.value - the taxprotected void setTax(Tax value)
TaxRow.tax attribute.value - the taxpublic Double getValue(SessionContext ctx)
TaxRow.value attribute.public Double getValue()
TaxRow.value attribute.public double getValueAsPrimitive(SessionContext ctx)
TaxRow.value attribute.public double getValueAsPrimitive()
TaxRow.value attribute.public void setValue(SessionContext ctx, Double value)
TaxRow.value attribute.value - the valuepublic void setValue(Double value)
TaxRow.value attribute.value - the valuepublic void setValue(SessionContext ctx, double value)
TaxRow.value attribute.value - the valuepublic void setValue(double value)
TaxRow.value attribute.value - the valueCopyright © 2017 SAP SE. All Rights Reserved.