public abstract class GeneratedPaymentTransaction extends GenericItem
PaymentTransaction.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 |
CODE
Qualifier of the
PaymentTransaction.code attribute |
static String |
CURRENCY
Qualifier of the
PaymentTransaction.currency attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
ENTRIES
Qualifier of the
PaymentTransaction.entries attribute |
protected static OneToManyHandler<PaymentTransactionEntry> |
ENTRIESHANDLER
OneToManyHandler for handling 1:n ENTRIES's relation attributes from 'many' side. |
static String |
INFO
Qualifier of the
PaymentTransaction.info attribute |
static String |
ORDER
Qualifier of the
PaymentTransaction.order attribute |
protected static BidirectionalOneToManyHandler<GeneratedPaymentTransaction> |
ORDERHANDLER
BidirectionalOneToManyHandler for handling 1:n ORDER's relation attributes from 'one' side. |
static String |
PAYMENTPROVIDER
Qualifier of the
PaymentTransaction.paymentProvider attribute |
static String |
PLANNEDAMOUNT
Qualifier of the
PaymentTransaction.plannedAmount attribute |
static String |
REQUESTID
Qualifier of the
PaymentTransaction.requestId attribute |
static String |
REQUESTTOKEN
Qualifier of the
PaymentTransaction.requestToken attribute |
static String |
VERSIONID
Qualifier of the
PaymentTransaction.versionID 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 |
|---|
GeneratedPaymentTransaction() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToEntries(PaymentTransactionEntry value)
Generated method - Adds
value to entries. |
void |
addToEntries(SessionContext ctx,
PaymentTransactionEntry value)
Generated method - Adds
value to entries. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
String |
getCode()
Generated method - Getter of the
PaymentTransaction.code attribute. |
String |
getCode(SessionContext ctx)
Generated method - Getter of the
PaymentTransaction.code attribute. |
Currency |
getCurrency()
Generated method - Getter of the
PaymentTransaction.currency attribute. |
Currency |
getCurrency(SessionContext ctx)
Generated method - Getter of the
PaymentTransaction.currency attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
List<PaymentTransactionEntry> |
getEntries()
Generated method - Getter of the
PaymentTransaction.entries attribute. |
List<PaymentTransactionEntry> |
getEntries(SessionContext ctx)
Generated method - Getter of the
PaymentTransaction.entries attribute. |
PaymentInfo |
getInfo()
Generated method - Getter of the
PaymentTransaction.info attribute. |
PaymentInfo |
getInfo(SessionContext ctx)
Generated method - Getter of the
PaymentTransaction.info attribute. |
AbstractOrder |
getOrder()
Generated method - Getter of the
PaymentTransaction.order attribute. |
AbstractOrder |
getOrder(SessionContext ctx)
Generated method - Getter of the
PaymentTransaction.order attribute. |
String |
getPaymentProvider()
Generated method - Getter of the
PaymentTransaction.paymentProvider attribute. |
String |
getPaymentProvider(SessionContext ctx)
Generated method - Getter of the
PaymentTransaction.paymentProvider attribute. |
BigDecimal |
getPlannedAmount()
Generated method - Getter of the
PaymentTransaction.plannedAmount attribute. |
BigDecimal |
getPlannedAmount(SessionContext ctx)
Generated method - Getter of the
PaymentTransaction.plannedAmount attribute. |
String |
getRequestId()
Generated method - Getter of the
PaymentTransaction.requestId attribute. |
String |
getRequestId(SessionContext ctx)
Generated method - Getter of the
PaymentTransaction.requestId attribute. |
String |
getRequestToken()
Generated method - Getter of the
PaymentTransaction.requestToken attribute. |
String |
getRequestToken(SessionContext ctx)
Generated method - Getter of the
PaymentTransaction.requestToken attribute. |
String |
getVersionID()
Generated method - Getter of the
PaymentTransaction.versionID attribute. |
String |
getVersionID(SessionContext ctx)
Generated method - Getter of the
PaymentTransaction.versionID attribute. |
void |
removeFromEntries(PaymentTransactionEntry value)
Generated method - Removes
value from entries. |
void |
removeFromEntries(SessionContext ctx,
PaymentTransactionEntry value)
Generated method - Removes
value from entries. |
void |
setCode(SessionContext ctx,
String value)
Generated method - Setter of the
PaymentTransaction.code attribute. |
void |
setCode(String value)
Generated method - Setter of the
PaymentTransaction.code attribute. |
void |
setCurrency(Currency value)
Generated method - Setter of the
PaymentTransaction.currency attribute. |
void |
setCurrency(SessionContext ctx,
Currency value)
Generated method - Setter of the
PaymentTransaction.currency attribute. |
void |
setEntries(List<PaymentTransactionEntry> value)
Generated method - Setter of the
PaymentTransaction.entries attribute. |
void |
setEntries(SessionContext ctx,
List<PaymentTransactionEntry> value)
Generated method - Setter of the
PaymentTransaction.entries attribute. |
void |
setInfo(PaymentInfo value)
Generated method - Setter of the
PaymentTransaction.info attribute. |
void |
setInfo(SessionContext ctx,
PaymentInfo value)
Generated method - Setter of the
PaymentTransaction.info attribute. |
void |
setOrder(AbstractOrder value)
Generated method - Setter of the
PaymentTransaction.order attribute. |
void |
setOrder(SessionContext ctx,
AbstractOrder value)
Generated method - Setter of the
PaymentTransaction.order attribute. |
void |
setPaymentProvider(SessionContext ctx,
String value)
Generated method - Setter of the
PaymentTransaction.paymentProvider attribute. |
void |
setPaymentProvider(String value)
Generated method - Setter of the
PaymentTransaction.paymentProvider attribute. |
void |
setPlannedAmount(BigDecimal value)
Generated method - Setter of the
PaymentTransaction.plannedAmount attribute. |
void |
setPlannedAmount(SessionContext ctx,
BigDecimal value)
Generated method - Setter of the
PaymentTransaction.plannedAmount attribute. |
void |
setRequestId(SessionContext ctx,
String value)
Generated method - Setter of the
PaymentTransaction.requestId attribute. |
void |
setRequestId(String value)
Generated method - Setter of the
PaymentTransaction.requestId attribute. |
void |
setRequestToken(SessionContext ctx,
String value)
Generated method - Setter of the
PaymentTransaction.requestToken attribute. |
void |
setRequestToken(String value)
Generated method - Setter of the
PaymentTransaction.requestToken attribute. |
protected void |
setVersionID(SessionContext ctx,
String value)
Generated method - Setter of the
PaymentTransaction.versionID attribute. |
protected void |
setVersionID(String value)
Generated method - Setter of the
PaymentTransaction.versionID attribute. |
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 CODE
PaymentTransaction.code attributepublic static final String REQUESTID
PaymentTransaction.requestId attributepublic static final String REQUESTTOKEN
PaymentTransaction.requestToken attributepublic static final String PAYMENTPROVIDER
PaymentTransaction.paymentProvider attributepublic static final String PLANNEDAMOUNT
PaymentTransaction.plannedAmount attributepublic static final String CURRENCY
PaymentTransaction.currency attributepublic static final String INFO
PaymentTransaction.info attributepublic static final String VERSIONID
PaymentTransaction.versionID attributepublic static final String ENTRIES
PaymentTransaction.entries attributepublic static final String ORDER
PaymentTransaction.order attributeprotected static final OneToManyHandler<PaymentTransactionEntry> ENTRIESHANDLER
OneToManyHandler for handling 1:n ENTRIES's relation attributes from 'many' side.protected static final BidirectionalOneToManyHandler<GeneratedPaymentTransaction> ORDERHANDLER
BidirectionalOneToManyHandler for handling 1:n ORDER'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 Itempublic String getCode(SessionContext ctx)
PaymentTransaction.code attribute.public String getCode()
PaymentTransaction.code attribute.public void setCode(SessionContext ctx, String value)
PaymentTransaction.code attribute.value - the codepublic void setCode(String value)
PaymentTransaction.code attribute.value - the codeprotected 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 GenericItemctx - 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)
PaymentTransaction.currency attribute.public Currency getCurrency()
PaymentTransaction.currency attribute.public void setCurrency(SessionContext ctx, Currency value)
PaymentTransaction.currency attribute.value - the currencypublic void setCurrency(Currency value)
PaymentTransaction.currency attribute.value - the currencypublic List<PaymentTransactionEntry> getEntries(SessionContext ctx)
PaymentTransaction.entries attribute.public List<PaymentTransactionEntry> getEntries()
PaymentTransaction.entries attribute.public void setEntries(SessionContext ctx, List<PaymentTransactionEntry> value)
PaymentTransaction.entries attribute.value - the entriespublic void setEntries(List<PaymentTransactionEntry> value)
PaymentTransaction.entries attribute.value - the entriespublic void addToEntries(SessionContext ctx, PaymentTransactionEntry value)
value to entries.value - the item to add to entriespublic void addToEntries(PaymentTransactionEntry value)
value to entries.value - the item to add to entriespublic void removeFromEntries(SessionContext ctx, PaymentTransactionEntry value)
value from entries.value - the item to remove from entriespublic void removeFromEntries(PaymentTransactionEntry value)
value from entries.value - the item to remove from entriespublic PaymentInfo getInfo(SessionContext ctx)
PaymentTransaction.info attribute.public PaymentInfo getInfo()
PaymentTransaction.info attribute.public void setInfo(SessionContext ctx, PaymentInfo value)
PaymentTransaction.info attribute.value - the infopublic void setInfo(PaymentInfo value)
PaymentTransaction.info attribute.value - the infopublic AbstractOrder getOrder(SessionContext ctx)
PaymentTransaction.order attribute.public AbstractOrder getOrder()
PaymentTransaction.order attribute.public void setOrder(SessionContext ctx, AbstractOrder value)
PaymentTransaction.order attribute.value - the orderpublic void setOrder(AbstractOrder value)
PaymentTransaction.order attribute.value - the orderpublic String getPaymentProvider(SessionContext ctx)
PaymentTransaction.paymentProvider attribute.public String getPaymentProvider()
PaymentTransaction.paymentProvider attribute.public void setPaymentProvider(SessionContext ctx, String value)
PaymentTransaction.paymentProvider attribute.value - the paymentProviderpublic void setPaymentProvider(String value)
PaymentTransaction.paymentProvider attribute.value - the paymentProviderpublic BigDecimal getPlannedAmount(SessionContext ctx)
PaymentTransaction.plannedAmount attribute.public BigDecimal getPlannedAmount()
PaymentTransaction.plannedAmount attribute.public void setPlannedAmount(SessionContext ctx, BigDecimal value)
PaymentTransaction.plannedAmount attribute.value - the plannedAmountpublic void setPlannedAmount(BigDecimal value)
PaymentTransaction.plannedAmount attribute.value - the plannedAmountpublic String getRequestId(SessionContext ctx)
PaymentTransaction.requestId attribute.public String getRequestId()
PaymentTransaction.requestId attribute.public void setRequestId(SessionContext ctx, String value)
PaymentTransaction.requestId attribute.value - the requestIdpublic void setRequestId(String value)
PaymentTransaction.requestId attribute.value - the requestIdpublic String getRequestToken(SessionContext ctx)
PaymentTransaction.requestToken attribute.public String getRequestToken()
PaymentTransaction.requestToken attribute.public void setRequestToken(SessionContext ctx, String value)
PaymentTransaction.requestToken attribute.value - the requestTokenpublic void setRequestToken(String value)
PaymentTransaction.requestToken attribute.value - the requestTokenpublic String getVersionID(SessionContext ctx)
PaymentTransaction.versionID attribute.public String getVersionID()
PaymentTransaction.versionID attribute.protected void setVersionID(SessionContext ctx, String value)
PaymentTransaction.versionID attribute.value - the versionIDprotected void setVersionID(String value)
PaymentTransaction.versionID attribute.value - the versionIDCopyright © 2017 SAP SE. All Rights Reserved.