public abstract class GeneratedWarehouseTransfer extends GenericItem
WarehouseTransfer.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 |
COMPLETIONDATE
Qualifier of the
WarehouseTransfer.completionDate attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
DEPENDENTTRANSFERS
Qualifier of the
WarehouseTransfer.dependentTransfers attribute |
protected static OneToManyHandler<WarehouseTransfer> |
DEPENDENTTRANSFERSHANDLER
OneToManyHandler for handling 1:n DEPENDENTTRANSFERS's relation attributes from 'many' side. |
static java.lang.String |
PARENTTRANSFER
Qualifier of the
WarehouseTransfer.parentTransfer attribute |
protected static BidirectionalOneToManyHandler<GeneratedWarehouseTransfer> |
PARENTTRANSFERHANDLER
BidirectionalOneToManyHandler for handling 1:n PARENTTRANSFER's relation attributes from 'one' side. |
static java.lang.String |
WAREHOUSETRANSFERENTRIES
Qualifier of the
WarehouseTransfer.warehouseTransferEntries attribute |
protected static OneToManyHandler<WarehouseTransferEntry> |
WAREHOUSETRANSFERENTRIESHANDLER
OneToManyHandler for handling 1:n WAREHOUSETRANSFERENTRIES's relation attributes from 'many' side. |
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 |
|---|
GeneratedWarehouseTransfer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToDependentTransfers(SessionContext ctx,
WarehouseTransfer value)
Generated method - Adds
value to dependentTransfers. |
void |
addToDependentTransfers(WarehouseTransfer value)
Generated method - Adds
value to dependentTransfers. |
void |
addToWarehouseTransferEntries(SessionContext ctx,
WarehouseTransferEntry value)
Generated method - Adds
value to warehouseTransferEntries. |
void |
addToWarehouseTransferEntries(WarehouseTransferEntry value)
Generated method - Adds
value to warehouseTransferEntries. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.util.Date |
getCompletionDate()
Generated method - Getter of the
WarehouseTransfer.completionDate attribute. |
java.util.Date |
getCompletionDate(SessionContext ctx)
Generated method - Getter of the
WarehouseTransfer.completionDate attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.util.Collection<WarehouseTransfer> |
getDependentTransfers()
Generated method - Getter of the
WarehouseTransfer.dependentTransfers attribute. |
java.util.Collection<WarehouseTransfer> |
getDependentTransfers(SessionContext ctx)
Generated method - Getter of the
WarehouseTransfer.dependentTransfers attribute. |
WarehouseTransfer |
getParentTransfer()
Generated method - Getter of the
WarehouseTransfer.parentTransfer attribute. |
WarehouseTransfer |
getParentTransfer(SessionContext ctx)
Generated method - Getter of the
WarehouseTransfer.parentTransfer attribute. |
java.util.Collection<WarehouseTransferEntry> |
getWarehouseTransferEntries()
Generated method - Getter of the
WarehouseTransfer.warehouseTransferEntries attribute. |
java.util.Collection<WarehouseTransferEntry> |
getWarehouseTransferEntries(SessionContext ctx)
Generated method - Getter of the
WarehouseTransfer.warehouseTransferEntries attribute. |
void |
removeFromDependentTransfers(SessionContext ctx,
WarehouseTransfer value)
Generated method - Removes
value from dependentTransfers. |
void |
removeFromDependentTransfers(WarehouseTransfer value)
Generated method - Removes
value from dependentTransfers. |
void |
removeFromWarehouseTransferEntries(SessionContext ctx,
WarehouseTransferEntry value)
Generated method - Removes
value from warehouseTransferEntries. |
void |
removeFromWarehouseTransferEntries(WarehouseTransferEntry value)
Generated method - Removes
value from warehouseTransferEntries. |
void |
setCompletionDate(java.util.Date value)
Generated method - Setter of the
WarehouseTransfer.completionDate attribute. |
void |
setCompletionDate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
WarehouseTransfer.completionDate attribute. |
void |
setDependentTransfers(java.util.Collection<WarehouseTransfer> value)
Generated method - Setter of the
WarehouseTransfer.dependentTransfers attribute. |
void |
setDependentTransfers(SessionContext ctx,
java.util.Collection<WarehouseTransfer> value)
Generated method - Setter of the
WarehouseTransfer.dependentTransfers attribute. |
void |
setParentTransfer(SessionContext ctx,
WarehouseTransfer value)
Generated method - Setter of the
WarehouseTransfer.parentTransfer attribute. |
void |
setParentTransfer(WarehouseTransfer value)
Generated method - Setter of the
WarehouseTransfer.parentTransfer attribute. |
void |
setWarehouseTransferEntries(java.util.Collection<WarehouseTransferEntry> value)
Generated method - Setter of the
WarehouseTransfer.warehouseTransferEntries attribute. |
void |
setWarehouseTransferEntries(SessionContext ctx,
java.util.Collection<WarehouseTransferEntry> value)
Generated method - Setter of the
WarehouseTransfer.warehouseTransferEntries 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 COMPLETIONDATE
WarehouseTransfer.completionDate attributepublic static final java.lang.String WAREHOUSETRANSFERENTRIES
WarehouseTransfer.warehouseTransferEntries attributepublic static final java.lang.String PARENTTRANSFER
WarehouseTransfer.parentTransfer attributepublic static final java.lang.String DEPENDENTTRANSFERS
WarehouseTransfer.dependentTransfers attributeprotected static final OneToManyHandler<WarehouseTransferEntry> WAREHOUSETRANSFERENTRIESHANDLER
OneToManyHandler for handling 1:n WAREHOUSETRANSFERENTRIES's relation attributes from 'many' side.protected static final BidirectionalOneToManyHandler<GeneratedWarehouseTransfer> PARENTTRANSFERHANDLER
BidirectionalOneToManyHandler for handling 1:n PARENTTRANSFER's relation attributes from 'one' side.protected static final OneToManyHandler<WarehouseTransfer> DEPENDENTTRANSFERSHANDLER
OneToManyHandler for handling 1:n DEPENDENTTRANSFERS's relation attributes from 'many' 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 java.util.Date getCompletionDate(SessionContext ctx)
WarehouseTransfer.completionDate attribute.public java.util.Date getCompletionDate()
WarehouseTransfer.completionDate attribute.public void setCompletionDate(SessionContext ctx, java.util.Date value)
WarehouseTransfer.completionDate attribute.value - the completionDatepublic void setCompletionDate(java.util.Date value)
WarehouseTransfer.completionDate attribute.value - the completionDateprotected 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 java.util.Collection<WarehouseTransfer> getDependentTransfers(SessionContext ctx)
WarehouseTransfer.dependentTransfers attribute.public java.util.Collection<WarehouseTransfer> getDependentTransfers()
WarehouseTransfer.dependentTransfers attribute.public void setDependentTransfers(SessionContext ctx, java.util.Collection<WarehouseTransfer> value)
WarehouseTransfer.dependentTransfers attribute.value - the dependentTransferspublic void setDependentTransfers(java.util.Collection<WarehouseTransfer> value)
WarehouseTransfer.dependentTransfers attribute.value - the dependentTransferspublic void addToDependentTransfers(SessionContext ctx, WarehouseTransfer value)
value to dependentTransfers.value - the item to add to dependentTransferspublic void addToDependentTransfers(WarehouseTransfer value)
value to dependentTransfers.value - the item to add to dependentTransferspublic void removeFromDependentTransfers(SessionContext ctx, WarehouseTransfer value)
value from dependentTransfers.value - the item to remove from dependentTransferspublic void removeFromDependentTransfers(WarehouseTransfer value)
value from dependentTransfers.value - the item to remove from dependentTransferspublic WarehouseTransfer getParentTransfer(SessionContext ctx)
WarehouseTransfer.parentTransfer attribute.public WarehouseTransfer getParentTransfer()
WarehouseTransfer.parentTransfer attribute.public void setParentTransfer(SessionContext ctx, WarehouseTransfer value)
WarehouseTransfer.parentTransfer attribute.value - the parentTransferpublic void setParentTransfer(WarehouseTransfer value)
WarehouseTransfer.parentTransfer attribute.value - the parentTransferpublic java.util.Collection<WarehouseTransferEntry> getWarehouseTransferEntries(SessionContext ctx)
WarehouseTransfer.warehouseTransferEntries attribute.public java.util.Collection<WarehouseTransferEntry> getWarehouseTransferEntries()
WarehouseTransfer.warehouseTransferEntries attribute.public void setWarehouseTransferEntries(SessionContext ctx, java.util.Collection<WarehouseTransferEntry> value)
WarehouseTransfer.warehouseTransferEntries attribute.value - the warehouseTransferEntriespublic void setWarehouseTransferEntries(java.util.Collection<WarehouseTransferEntry> value)
WarehouseTransfer.warehouseTransferEntries attribute.value - the warehouseTransferEntriespublic void addToWarehouseTransferEntries(SessionContext ctx, WarehouseTransferEntry value)
value to warehouseTransferEntries.value - the item to add to warehouseTransferEntriespublic void addToWarehouseTransferEntries(WarehouseTransferEntry value)
value to warehouseTransferEntries.value - the item to add to warehouseTransferEntriespublic void removeFromWarehouseTransferEntries(SessionContext ctx, WarehouseTransferEntry value)
value from warehouseTransferEntries.value - the item to remove from warehouseTransferEntriespublic void removeFromWarehouseTransferEntries(WarehouseTransferEntry value)
value from warehouseTransferEntries.value - the item to remove from warehouseTransferEntriesCopyright © 2018 SAP SE. All Rights Reserved.