public abstract class GeneratedReturnEntry extends GenericItem
ReturnEntry.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 |
ACTION
Qualifier of the
ReturnEntry.action attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
EXPECTEDQUANTITY
Qualifier of the
ReturnEntry.expectedQuantity attribute |
static String |
NOTES
Qualifier of the
ReturnEntry.notes attribute |
static String |
ORDERENTRY
Qualifier of the
ReturnEntry.orderEntry attribute |
static String |
REACHEDDATE
Qualifier of the
ReturnEntry.reachedDate attribute |
static String |
RECEIVEDQUANTITY
Qualifier of the
ReturnEntry.receivedQuantity attribute |
static String |
RETURNREQUEST
Qualifier of the
ReturnEntry.returnRequest attribute |
protected static BidirectionalOneToManyHandler<GeneratedReturnEntry> |
RETURNREQUESTHANDLER
BidirectionalOneToManyHandler for handling 1:n RETURNREQUEST's relation attributes from 'one' side. |
static String |
RETURNREQUESTPOS
Qualifier of the
ReturnEntry.returnRequestPOS attribute |
static String |
STATUS
Qualifier of the
ReturnEntry.status 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 |
|---|
GeneratedReturnEntry() |
| 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.
|
EnumerationValue |
getAction()
Generated method - Getter of the
ReturnEntry.action attribute. |
EnumerationValue |
getAction(SessionContext ctx)
Generated method - Getter of the
ReturnEntry.action attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Long |
getExpectedQuantity()
Generated method - Getter of the
ReturnEntry.expectedQuantity attribute. |
Long |
getExpectedQuantity(SessionContext ctx)
Generated method - Getter of the
ReturnEntry.expectedQuantity attribute. |
long |
getExpectedQuantityAsPrimitive()
Generated method - Getter of the
ReturnEntry.expectedQuantity attribute. |
long |
getExpectedQuantityAsPrimitive(SessionContext ctx)
Generated method - Getter of the
ReturnEntry.expectedQuantity attribute. |
String |
getNotes()
Generated method - Getter of the
ReturnEntry.notes attribute. |
String |
getNotes(SessionContext ctx)
Generated method - Getter of the
ReturnEntry.notes attribute. |
AbstractOrderEntry |
getOrderEntry()
Generated method - Getter of the
ReturnEntry.orderEntry attribute. |
AbstractOrderEntry |
getOrderEntry(SessionContext ctx)
Generated method - Getter of the
ReturnEntry.orderEntry attribute. |
Date |
getReachedDate()
Generated method - Getter of the
ReturnEntry.reachedDate attribute. |
Date |
getReachedDate(SessionContext ctx)
Generated method - Getter of the
ReturnEntry.reachedDate attribute. |
Long |
getReceivedQuantity()
Generated method - Getter of the
ReturnEntry.receivedQuantity attribute. |
Long |
getReceivedQuantity(SessionContext ctx)
Generated method - Getter of the
ReturnEntry.receivedQuantity attribute. |
long |
getReceivedQuantityAsPrimitive()
Generated method - Getter of the
ReturnEntry.receivedQuantity attribute. |
long |
getReceivedQuantityAsPrimitive(SessionContext ctx)
Generated method - Getter of the
ReturnEntry.receivedQuantity attribute. |
ReturnRequest |
getReturnRequest()
Generated method - Getter of the
ReturnEntry.returnRequest attribute. |
ReturnRequest |
getReturnRequest(SessionContext ctx)
Generated method - Getter of the
ReturnEntry.returnRequest attribute. |
EnumerationValue |
getStatus()
Generated method - Getter of the
ReturnEntry.status attribute. |
EnumerationValue |
getStatus(SessionContext ctx)
Generated method - Getter of the
ReturnEntry.status attribute. |
void |
setAction(EnumerationValue value)
Generated method - Setter of the
ReturnEntry.action attribute. |
void |
setAction(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
ReturnEntry.action attribute. |
void |
setExpectedQuantity(long value)
Generated method - Setter of the
ReturnEntry.expectedQuantity attribute. |
void |
setExpectedQuantity(Long value)
Generated method - Setter of the
ReturnEntry.expectedQuantity attribute. |
void |
setExpectedQuantity(SessionContext ctx,
long value)
Generated method - Setter of the
ReturnEntry.expectedQuantity attribute. |
void |
setExpectedQuantity(SessionContext ctx,
Long value)
Generated method - Setter of the
ReturnEntry.expectedQuantity attribute. |
void |
setNotes(SessionContext ctx,
String value)
Generated method - Setter of the
ReturnEntry.notes attribute. |
void |
setNotes(String value)
Generated method - Setter of the
ReturnEntry.notes attribute. |
void |
setOrderEntry(AbstractOrderEntry value)
Generated method - Setter of the
ReturnEntry.orderEntry attribute. |
void |
setOrderEntry(SessionContext ctx,
AbstractOrderEntry value)
Generated method - Setter of the
ReturnEntry.orderEntry attribute. |
void |
setReachedDate(Date value)
Generated method - Setter of the
ReturnEntry.reachedDate attribute. |
void |
setReachedDate(SessionContext ctx,
Date value)
Generated method - Setter of the
ReturnEntry.reachedDate attribute. |
void |
setReceivedQuantity(long value)
Generated method - Setter of the
ReturnEntry.receivedQuantity attribute. |
void |
setReceivedQuantity(Long value)
Generated method - Setter of the
ReturnEntry.receivedQuantity attribute. |
void |
setReceivedQuantity(SessionContext ctx,
long value)
Generated method - Setter of the
ReturnEntry.receivedQuantity attribute. |
void |
setReceivedQuantity(SessionContext ctx,
Long value)
Generated method - Setter of the
ReturnEntry.receivedQuantity attribute. |
void |
setReturnRequest(ReturnRequest value)
Generated method - Setter of the
ReturnEntry.returnRequest attribute. |
void |
setReturnRequest(SessionContext ctx,
ReturnRequest value)
Generated method - Setter of the
ReturnEntry.returnRequest attribute. |
void |
setStatus(EnumerationValue value)
Generated method - Setter of the
ReturnEntry.status attribute. |
void |
setStatus(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
ReturnEntry.status 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 ORDERENTRY
ReturnEntry.orderEntry attributepublic static final String EXPECTEDQUANTITY
ReturnEntry.expectedQuantity attributepublic static final String RECEIVEDQUANTITY
ReturnEntry.receivedQuantity attributepublic static final String REACHEDDATE
ReturnEntry.reachedDate attributepublic static final String STATUS
ReturnEntry.status attributepublic static final String ACTION
ReturnEntry.action attributepublic static final String NOTES
ReturnEntry.notes attributepublic static final String RETURNREQUESTPOS
ReturnEntry.returnRequestPOS attributepublic static final String RETURNREQUEST
ReturnEntry.returnRequest attributeprotected static final BidirectionalOneToManyHandler<GeneratedReturnEntry> RETURNREQUESTHANDLER
BidirectionalOneToManyHandler for handling 1:n RETURNREQUEST'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 EnumerationValue getAction(SessionContext ctx)
ReturnEntry.action attribute.public EnumerationValue getAction()
ReturnEntry.action attribute.public void setAction(SessionContext ctx, EnumerationValue value)
ReturnEntry.action attribute.value - the actionpublic void setAction(EnumerationValue value)
ReturnEntry.action attribute.value - the actionprotected 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 Long getExpectedQuantity(SessionContext ctx)
ReturnEntry.expectedQuantity attribute.public Long getExpectedQuantity()
ReturnEntry.expectedQuantity attribute.public long getExpectedQuantityAsPrimitive(SessionContext ctx)
ReturnEntry.expectedQuantity attribute.public long getExpectedQuantityAsPrimitive()
ReturnEntry.expectedQuantity attribute.public void setExpectedQuantity(SessionContext ctx, Long value)
ReturnEntry.expectedQuantity attribute.value - the expectedQuantitypublic void setExpectedQuantity(Long value)
ReturnEntry.expectedQuantity attribute.value - the expectedQuantitypublic void setExpectedQuantity(SessionContext ctx, long value)
ReturnEntry.expectedQuantity attribute.value - the expectedQuantitypublic void setExpectedQuantity(long value)
ReturnEntry.expectedQuantity attribute.value - the expectedQuantitypublic String getNotes(SessionContext ctx)
ReturnEntry.notes attribute.public String getNotes()
ReturnEntry.notes attribute.public void setNotes(SessionContext ctx, String value)
ReturnEntry.notes attribute.value - the notespublic void setNotes(String value)
ReturnEntry.notes attribute.value - the notespublic AbstractOrderEntry getOrderEntry(SessionContext ctx)
ReturnEntry.orderEntry attribute.public AbstractOrderEntry getOrderEntry()
ReturnEntry.orderEntry attribute.public void setOrderEntry(SessionContext ctx, AbstractOrderEntry value)
ReturnEntry.orderEntry attribute.value - the orderEntrypublic void setOrderEntry(AbstractOrderEntry value)
ReturnEntry.orderEntry attribute.value - the orderEntrypublic Date getReachedDate(SessionContext ctx)
ReturnEntry.reachedDate attribute.public Date getReachedDate()
ReturnEntry.reachedDate attribute.public void setReachedDate(SessionContext ctx, Date value)
ReturnEntry.reachedDate attribute.value - the reachedDatepublic void setReachedDate(Date value)
ReturnEntry.reachedDate attribute.value - the reachedDatepublic Long getReceivedQuantity(SessionContext ctx)
ReturnEntry.receivedQuantity attribute.public Long getReceivedQuantity()
ReturnEntry.receivedQuantity attribute.public long getReceivedQuantityAsPrimitive(SessionContext ctx)
ReturnEntry.receivedQuantity attribute.public long getReceivedQuantityAsPrimitive()
ReturnEntry.receivedQuantity attribute.public void setReceivedQuantity(SessionContext ctx, Long value)
ReturnEntry.receivedQuantity attribute.value - the receivedQuantitypublic void setReceivedQuantity(Long value)
ReturnEntry.receivedQuantity attribute.value - the receivedQuantitypublic void setReceivedQuantity(SessionContext ctx, long value)
ReturnEntry.receivedQuantity attribute.value - the receivedQuantitypublic void setReceivedQuantity(long value)
ReturnEntry.receivedQuantity attribute.value - the receivedQuantitypublic ReturnRequest getReturnRequest(SessionContext ctx)
ReturnEntry.returnRequest attribute.public ReturnRequest getReturnRequest()
ReturnEntry.returnRequest attribute.public void setReturnRequest(SessionContext ctx, ReturnRequest value)
ReturnEntry.returnRequest attribute.value - the returnRequestpublic void setReturnRequest(ReturnRequest value)
ReturnEntry.returnRequest attribute.value - the returnRequestpublic EnumerationValue getStatus(SessionContext ctx)
ReturnEntry.status attribute.public EnumerationValue getStatus()
ReturnEntry.status attribute.public void setStatus(SessionContext ctx, EnumerationValue value)
ReturnEntry.status attribute.value - the statuspublic void setStatus(EnumerationValue value)
ReturnEntry.status attribute.value - the statusCopyright © 2017 SAP SE. All Rights Reserved.