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 String |
BUYER
Qualifier of the
Agreement.buyer attribute |
static String |
BUYERCONTACT
Qualifier of the
Agreement.buyerContact attribute |
static String |
CATALOG
Qualifier of the
Agreement.Catalog attribute |
static 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 String |
CURRENCY
Qualifier of the
Agreement.currency attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
ENDDATE
Qualifier of the
Agreement.enddate attribute |
static String |
ID
Qualifier of the
Agreement.id attribute |
static String |
STARTDATE
Qualifier of the
Agreement.startdate attribute |
static String |
SUPPLIER
Qualifier of the
Agreement.supplier attribute |
static 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 Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Date |
getEnddate()
Generated method - Getter of the
Agreement.enddate attribute. |
Date |
getEnddate(SessionContext ctx)
Generated method - Getter of the
Agreement.enddate attribute. |
String |
getId()
Generated method - Getter of the
Agreement.id attribute. |
String |
getId(SessionContext ctx)
Generated method - Getter of the
Agreement.id attribute. |
Date |
getStartdate()
Generated method - Getter of the
Agreement.startdate attribute. |
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(Date value)
Generated method - Setter of the
Agreement.enddate attribute. |
void |
setEnddate(SessionContext ctx,
Date value)
Generated method - Setter of the
Agreement.enddate attribute. |
void |
setId(SessionContext ctx,
String value)
Generated method - Setter of the
Agreement.id attribute. |
void |
setId(String value)
Generated method - Setter of the
Agreement.id attribute. |
void |
setStartdate(Date value)
Generated method - Setter of the
Agreement.startdate attribute. |
void |
setStartdate(SessionContext ctx,
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, 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 ID
Agreement.id attributepublic static final String STARTDATE
Agreement.startdate attributepublic static final String ENDDATE
Agreement.enddate attributepublic static final String CATALOG
Agreement.Catalog attributepublic static final String BUYER
Agreement.buyer attributepublic static final String SUPPLIER
Agreement.supplier attributepublic static final String BUYERCONTACT
Agreement.buyerContact attributepublic static final String SUPPLIERCONTACT
Agreement.supplierContact attributepublic static final String CURRENCY
Agreement.currency attributepublic static final 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 Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<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 Date getEnddate(SessionContext ctx)
Agreement.enddate attribute.public Date getEnddate()
Agreement.enddate attribute.public void setEnddate(SessionContext ctx, Date value)
Agreement.enddate attribute.value - the enddate - Agreement IDpublic void setEnddate(Date value)
Agreement.enddate attribute.value - the enddate - Agreement IDpublic String getId(SessionContext ctx)
Agreement.id attribute.public String getId()
Agreement.id attribute.public void setId(SessionContext ctx, String value)
Agreement.id attribute.value - the id - Agreement IDpublic void setId(String value)
Agreement.id attribute.value - the id - Agreement IDpublic Date getStartdate(SessionContext ctx)
Agreement.startdate attribute.public Date getStartdate()
Agreement.startdate attribute.public void setStartdate(SessionContext ctx, Date value)
Agreement.startdate attribute.value - the startdate - Start Datepublic void setStartdate(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 © 2017 SAP SE. All Rights Reserved.