public abstract class GeneratedAgreement extends GenericItem
Agreement.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 java.lang.String |
BUYER
Qualifier of the
Agreement.buyer attribute |
static java.lang.String |
BUYERCONTACT
Qualifier of the
Agreement.buyerContact attribute |
static java.lang.String |
CATALOG
Qualifier of the
Agreement.Catalog attribute |
static java.lang.String |
CATALOGVERSION
Qualifier of the
Agreement.catalogVersion attribute |
protected static BidirectionalOneToManyHandler<GeneratedAgreement> |
CATALOGVERSIONHANDLER
BidirectionalOneToManyHandler for handling 1:n CATALOGVERSION's relation attributes from 'one' side. |
static java.lang.String |
CURRENCY
Qualifier of the
Agreement.currency attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
ENDDATE
Qualifier of the
Agreement.enddate attribute |
static java.lang.String |
ID
Qualifier of the
Agreement.id attribute |
static java.lang.String |
STARTDATE
Qualifier of the
Agreement.startdate attribute |
static java.lang.String |
SUPPLIER
Qualifier of the
Agreement.supplier attribute |
static java.lang.String |
SUPPLIERCONTACT
Qualifier of the
Agreement.supplierContact 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 |
|---|
GeneratedAgreement() |
| 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.
|
Company |
getBuyer()
Generated method - Getter of the
Agreement.buyer attribute. |
Company |
getBuyer(SessionContext ctx)
Generated method - Getter of the
Agreement.buyer attribute. |
User |
getBuyerContact()
Generated method - Getter of the
Agreement.buyerContact attribute. |
User |
getBuyerContact(SessionContext ctx)
Generated method - Getter of the
Agreement.buyerContact attribute. |
CatalogVersion |
getCatalogVersion()
Generated method - Getter of the
Agreement.catalogVersion attribute. |
CatalogVersion |
getCatalogVersion(SessionContext ctx)
Generated method - Getter of the
Agreement.catalogVersion attribute. |
Currency |
getCurrency()
Generated method - Getter of the
Agreement.currency attribute. |
Currency |
getCurrency(SessionContext ctx)
Generated method - Getter of the
Agreement.currency attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.util.Date |
getEnddate()
Generated method - Getter of the
Agreement.enddate attribute. |
java.util.Date |
getEnddate(SessionContext ctx)
Generated method - Getter of the
Agreement.enddate attribute. |
java.lang.String |
getId()
Generated method - Getter of the
Agreement.id attribute. |
java.lang.String |
getId(SessionContext ctx)
Generated method - Getter of the
Agreement.id attribute. |
java.util.Date |
getStartdate()
Generated method - Getter of the
Agreement.startdate attribute. |
java.util.Date |
getStartdate(SessionContext ctx)
Generated method - Getter of the
Agreement.startdate attribute. |
Company |
getSupplier()
Generated method - Getter of the
Agreement.supplier attribute. |
Company |
getSupplier(SessionContext ctx)
Generated method - Getter of the
Agreement.supplier attribute. |
User |
getSupplierContact()
Generated method - Getter of the
Agreement.supplierContact attribute. |
User |
getSupplierContact(SessionContext ctx)
Generated method - Getter of the
Agreement.supplierContact attribute. |
void |
setBuyer(Company value)
Generated method - Setter of the
Agreement.buyer attribute. |
void |
setBuyer(SessionContext ctx,
Company value)
Generated method - Setter of the
Agreement.buyer attribute. |
void |
setBuyerContact(SessionContext ctx,
User value)
Generated method - Setter of the
Agreement.buyerContact attribute. |
void |
setBuyerContact(User value)
Generated method - Setter of the
Agreement.buyerContact attribute. |
void |
setCatalogVersion(CatalogVersion value)
Generated method - Setter of the
Agreement.catalogVersion attribute. |
void |
setCatalogVersion(SessionContext ctx,
CatalogVersion value)
Generated method - Setter of the
Agreement.catalogVersion attribute. |
void |
setCurrency(Currency value)
Generated method - Setter of the
Agreement.currency attribute. |
void |
setCurrency(SessionContext ctx,
Currency value)
Generated method - Setter of the
Agreement.currency attribute. |
void |
setEnddate(java.util.Date value)
Generated method - Setter of the
Agreement.enddate attribute. |
void |
setEnddate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
Agreement.enddate attribute. |
void |
setId(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
Agreement.id attribute. |
void |
setId(java.lang.String value)
Generated method - Setter of the
Agreement.id attribute. |
void |
setStartdate(java.util.Date value)
Generated method - Setter of the
Agreement.startdate attribute. |
void |
setStartdate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
Agreement.startdate attribute. |
void |
setSupplier(Company value)
Generated method - Setter of the
Agreement.supplier attribute. |
void |
setSupplier(SessionContext ctx,
Company value)
Generated method - Setter of the
Agreement.supplier attribute. |
void |
setSupplierContact(SessionContext ctx,
User value)
Generated method - Setter of the
Agreement.supplierContact attribute. |
void |
setSupplierContact(User value)
Generated method - Setter of the
Agreement.supplierContact attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, 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, 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, writeReplacesetTenantpublic static final java.lang.String ID
Agreement.id attributepublic static final java.lang.String STARTDATE
Agreement.startdate attributepublic static final java.lang.String ENDDATE
Agreement.enddate attributepublic static final java.lang.String CATALOG
Agreement.Catalog attributepublic static final java.lang.String BUYER
Agreement.buyer attributepublic static final java.lang.String SUPPLIER
Agreement.supplier attributepublic static final java.lang.String BUYERCONTACT
Agreement.buyerContact attributepublic static final java.lang.String SUPPLIERCONTACT
Agreement.supplierContact attributepublic static final java.lang.String CURRENCY
Agreement.currency attributepublic static final java.lang.String CATALOGVERSION
Agreement.catalogVersion attributeprotected static final BidirectionalOneToManyHandler<GeneratedAgreement> CATALOGVERSIONHANDLER
BidirectionalOneToManyHandler for handling 1:n CATALOGVERSION's relation attributes from 'one' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic Company getBuyer(SessionContext ctx)
Agreement.buyer attribute.public Company getBuyer()
Agreement.buyer attribute.public void setBuyer(SessionContext ctx, Company value)
Agreement.buyer attribute.value - the buyer - buyerpublic void setBuyer(Company value)
Agreement.buyer attribute.value - the buyer - buyerpublic User getBuyerContact(SessionContext ctx)
Agreement.buyerContact attribute.public User getBuyerContact()
Agreement.buyerContact attribute.public void setBuyerContact(SessionContext ctx, User value)
Agreement.buyerContact attribute.value - the buyerContact - buyerContactpublic void setBuyerContact(User value)
Agreement.buyerContact attribute.value - the buyerContact - buyerContactpublic CatalogVersion getCatalogVersion(SessionContext ctx)
Agreement.catalogVersion attribute.public CatalogVersion getCatalogVersion()
Agreement.catalogVersion attribute.public void setCatalogVersion(SessionContext ctx, CatalogVersion value)
Agreement.catalogVersion attribute.value - the catalogVersionpublic void setCatalogVersion(CatalogVersion value)
Agreement.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 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)
Agreement.currency attribute.public Currency getCurrency()
Agreement.currency attribute.public void setCurrency(SessionContext ctx, Currency value)
Agreement.currency attribute.value - the currency - currencypublic void setCurrency(Currency value)
Agreement.currency attribute.value - the currency - currencypublic java.util.Date getEnddate(SessionContext ctx)
Agreement.enddate attribute.public java.util.Date getEnddate()
Agreement.enddate attribute.public void setEnddate(SessionContext ctx, java.util.Date value)
Agreement.enddate attribute.value - the enddate - Agreement IDpublic void setEnddate(java.util.Date value)
Agreement.enddate attribute.value - the enddate - Agreement IDpublic java.lang.String getId(SessionContext ctx)
Agreement.id attribute.public java.lang.String getId()
Agreement.id attribute.public void setId(SessionContext ctx, java.lang.String value)
Agreement.id attribute.value - the id - Agreement IDpublic void setId(java.lang.String value)
Agreement.id attribute.value - the id - Agreement IDpublic java.util.Date getStartdate(SessionContext ctx)
Agreement.startdate attribute.public java.util.Date getStartdate()
Agreement.startdate attribute.public void setStartdate(SessionContext ctx, java.util.Date value)
Agreement.startdate attribute.value - the startdate - Start Datepublic void setStartdate(java.util.Date value)
Agreement.startdate attribute.value - the startdate - Start Datepublic Company getSupplier(SessionContext ctx)
Agreement.supplier attribute.public Company getSupplier()
Agreement.supplier attribute.public void setSupplier(SessionContext ctx, Company value)
Agreement.supplier attribute.value - the supplier - supplierpublic void setSupplier(Company value)
Agreement.supplier attribute.value - the supplier - supplierpublic User getSupplierContact(SessionContext ctx)
Agreement.supplierContact attribute.public User getSupplierContact()
Agreement.supplierContact attribute.public void setSupplierContact(SessionContext ctx, User value)
Agreement.supplierContact attribute.value - the supplierContact - supplierContactpublic void setSupplierContact(User value)
Agreement.supplierContact attribute.value - the supplierContact - supplierContactCopyright © 2018 SAP SE. All Rights Reserved.