public abstract class GeneratedAdvancedShippingNotice extends GenericItem
AdvancedShippingNotice.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 |
ASNENTRIES
Qualifier of the
AdvancedShippingNotice.asnEntries attribute |
protected static OneToManyHandler<AdvancedShippingNoticeEntry> |
ASNENTRIESHANDLER
OneToManyHandler for handling 1:n ASNENTRIES's relation attributes from 'many' side. |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
EXTERNALID
Qualifier of the
AdvancedShippingNotice.externalId attribute |
static java.lang.String |
INTERNALID
Qualifier of the
AdvancedShippingNotice.internalId attribute |
static java.lang.String |
POINTOFSERVICE
Qualifier of the
AdvancedShippingNotice.pointOfService attribute |
protected static BidirectionalOneToManyHandler<GeneratedAdvancedShippingNotice> |
POINTOFSERVICEHANDLER
BidirectionalOneToManyHandler for handling 1:n POINTOFSERVICE's relation attributes from 'one' side. |
static java.lang.String |
RELEASEDATE
Qualifier of the
AdvancedShippingNotice.releaseDate attribute |
static java.lang.String |
STATUS
Qualifier of the
AdvancedShippingNotice.status attribute |
static java.lang.String |
WAREHOUSE
Qualifier of the
AdvancedShippingNotice.warehouse attribute |
protected static BidirectionalOneToManyHandler<GeneratedAdvancedShippingNotice> |
WAREHOUSEHANDLER
BidirectionalOneToManyHandler for handling 1:n WAREHOUSE's relation attributes from 'one' 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 |
|---|
GeneratedAdvancedShippingNotice() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToAsnEntries(AdvancedShippingNoticeEntry value)
Generated method - Adds
value to asnEntries. |
void |
addToAsnEntries(SessionContext ctx,
AdvancedShippingNoticeEntry value)
Generated method - Adds
value to asnEntries. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.util.List<AdvancedShippingNoticeEntry> |
getAsnEntries()
Generated method - Getter of the
AdvancedShippingNotice.asnEntries attribute. |
java.util.List<AdvancedShippingNoticeEntry> |
getAsnEntries(SessionContext ctx)
Generated method - Getter of the
AdvancedShippingNotice.asnEntries attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getExternalId()
Generated method - Getter of the
AdvancedShippingNotice.externalId attribute. |
java.lang.String |
getExternalId(SessionContext ctx)
Generated method - Getter of the
AdvancedShippingNotice.externalId attribute. |
java.lang.String |
getInternalId()
Generated method - Getter of the
AdvancedShippingNotice.internalId attribute. |
java.lang.String |
getInternalId(SessionContext ctx)
Generated method - Getter of the
AdvancedShippingNotice.internalId attribute. |
PointOfService |
getPointOfService()
Generated method - Getter of the
AdvancedShippingNotice.pointOfService attribute. |
PointOfService |
getPointOfService(SessionContext ctx)
Generated method - Getter of the
AdvancedShippingNotice.pointOfService attribute. |
java.util.Date |
getReleaseDate()
Generated method - Getter of the
AdvancedShippingNotice.releaseDate attribute. |
java.util.Date |
getReleaseDate(SessionContext ctx)
Generated method - Getter of the
AdvancedShippingNotice.releaseDate attribute. |
EnumerationValue |
getStatus()
Generated method - Getter of the
AdvancedShippingNotice.status attribute. |
EnumerationValue |
getStatus(SessionContext ctx)
Generated method - Getter of the
AdvancedShippingNotice.status attribute. |
Warehouse |
getWarehouse()
Generated method - Getter of the
AdvancedShippingNotice.warehouse attribute. |
Warehouse |
getWarehouse(SessionContext ctx)
Generated method - Getter of the
AdvancedShippingNotice.warehouse attribute. |
void |
removeFromAsnEntries(AdvancedShippingNoticeEntry value)
Generated method - Removes
value from asnEntries. |
void |
removeFromAsnEntries(SessionContext ctx,
AdvancedShippingNoticeEntry value)
Generated method - Removes
value from asnEntries. |
void |
setAsnEntries(java.util.List<AdvancedShippingNoticeEntry> value)
Generated method - Setter of the
AdvancedShippingNotice.asnEntries attribute. |
void |
setAsnEntries(SessionContext ctx,
java.util.List<AdvancedShippingNoticeEntry> value)
Generated method - Setter of the
AdvancedShippingNotice.asnEntries attribute. |
void |
setExternalId(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
AdvancedShippingNotice.externalId attribute. |
void |
setExternalId(java.lang.String value)
Generated method - Setter of the
AdvancedShippingNotice.externalId attribute. |
void |
setInternalId(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
AdvancedShippingNotice.internalId attribute. |
void |
setInternalId(java.lang.String value)
Generated method - Setter of the
AdvancedShippingNotice.internalId attribute. |
void |
setPointOfService(PointOfService value)
Generated method - Setter of the
AdvancedShippingNotice.pointOfService attribute. |
void |
setPointOfService(SessionContext ctx,
PointOfService value)
Generated method - Setter of the
AdvancedShippingNotice.pointOfService attribute. |
void |
setReleaseDate(java.util.Date value)
Generated method - Setter of the
AdvancedShippingNotice.releaseDate attribute. |
void |
setReleaseDate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
AdvancedShippingNotice.releaseDate attribute. |
void |
setStatus(EnumerationValue value)
Generated method - Setter of the
AdvancedShippingNotice.status attribute. |
void |
setStatus(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
AdvancedShippingNotice.status attribute. |
void |
setWarehouse(SessionContext ctx,
Warehouse value)
Generated method - Setter of the
AdvancedShippingNotice.warehouse attribute. |
void |
setWarehouse(Warehouse value)
Generated method - Setter of the
AdvancedShippingNotice.warehouse 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 STATUS
AdvancedShippingNotice.status attributepublic static final java.lang.String EXTERNALID
AdvancedShippingNotice.externalId attributepublic static final java.lang.String INTERNALID
AdvancedShippingNotice.internalId attributepublic static final java.lang.String RELEASEDATE
AdvancedShippingNotice.releaseDate attributepublic static final java.lang.String WAREHOUSE
AdvancedShippingNotice.warehouse attributepublic static final java.lang.String POINTOFSERVICE
AdvancedShippingNotice.pointOfService attributepublic static final java.lang.String ASNENTRIES
AdvancedShippingNotice.asnEntries attributeprotected static final BidirectionalOneToManyHandler<GeneratedAdvancedShippingNotice> WAREHOUSEHANDLER
BidirectionalOneToManyHandler for handling 1:n WAREHOUSE's relation attributes from 'one' side.protected static final BidirectionalOneToManyHandler<GeneratedAdvancedShippingNotice> POINTOFSERVICEHANDLER
BidirectionalOneToManyHandler for handling 1:n POINTOFSERVICE's relation attributes from 'one' side.protected static final OneToManyHandler<AdvancedShippingNoticeEntry> ASNENTRIESHANDLER
OneToManyHandler for handling 1:n ASNENTRIES'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.List<AdvancedShippingNoticeEntry> getAsnEntries(SessionContext ctx)
AdvancedShippingNotice.asnEntries attribute.public java.util.List<AdvancedShippingNoticeEntry> getAsnEntries()
AdvancedShippingNotice.asnEntries attribute.public void setAsnEntries(SessionContext ctx, java.util.List<AdvancedShippingNoticeEntry> value)
AdvancedShippingNotice.asnEntries attribute.value - the asnEntriespublic void setAsnEntries(java.util.List<AdvancedShippingNoticeEntry> value)
AdvancedShippingNotice.asnEntries attribute.value - the asnEntriespublic void addToAsnEntries(SessionContext ctx, AdvancedShippingNoticeEntry value)
value to asnEntries.value - the item to add to asnEntriespublic void addToAsnEntries(AdvancedShippingNoticeEntry value)
value to asnEntries.value - the item to add to asnEntriespublic void removeFromAsnEntries(SessionContext ctx, AdvancedShippingNoticeEntry value)
value from asnEntries.value - the item to remove from asnEntriespublic void removeFromAsnEntries(AdvancedShippingNoticeEntry value)
value from asnEntries.value - the item to remove from asnEntriesprotected 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.lang.String getExternalId(SessionContext ctx)
AdvancedShippingNotice.externalId attribute.public java.lang.String getExternalId()
AdvancedShippingNotice.externalId attribute.public void setExternalId(SessionContext ctx, java.lang.String value)
AdvancedShippingNotice.externalId attribute.value - the externalId - ASN id coming from external providerpublic void setExternalId(java.lang.String value)
AdvancedShippingNotice.externalId attribute.value - the externalId - ASN id coming from external providerpublic java.lang.String getInternalId(SessionContext ctx)
AdvancedShippingNotice.internalId attribute.public java.lang.String getInternalId()
AdvancedShippingNotice.internalId attribute.public void setInternalId(SessionContext ctx, java.lang.String value)
AdvancedShippingNotice.internalId attribute.value - the internalId - Internal ASN id which is generated by NumberSeriespublic void setInternalId(java.lang.String value)
AdvancedShippingNotice.internalId attribute.value - the internalId - Internal ASN id which is generated by NumberSeriespublic PointOfService getPointOfService(SessionContext ctx)
AdvancedShippingNotice.pointOfService attribute.public PointOfService getPointOfService()
AdvancedShippingNotice.pointOfService attribute.public void setPointOfService(SessionContext ctx, PointOfService value)
AdvancedShippingNotice.pointOfService attribute.value - the pointOfServicepublic void setPointOfService(PointOfService value)
AdvancedShippingNotice.pointOfService attribute.value - the pointOfServicepublic java.util.Date getReleaseDate(SessionContext ctx)
AdvancedShippingNotice.releaseDate attribute.public java.util.Date getReleaseDate()
AdvancedShippingNotice.releaseDate attribute.public void setReleaseDate(SessionContext ctx, java.util.Date value)
AdvancedShippingNotice.releaseDate attribute.value - the releaseDate - Release date for asn entriespublic void setReleaseDate(java.util.Date value)
AdvancedShippingNotice.releaseDate attribute.value - the releaseDate - Release date for asn entriespublic EnumerationValue getStatus(SessionContext ctx)
AdvancedShippingNotice.status attribute.public EnumerationValue getStatus()
AdvancedShippingNotice.status attribute.public void setStatus(SessionContext ctx, EnumerationValue value)
AdvancedShippingNotice.status attribute.value - the status - Determines the status of given ASNpublic void setStatus(EnumerationValue value)
AdvancedShippingNotice.status attribute.value - the status - Determines the status of given ASNpublic Warehouse getWarehouse(SessionContext ctx)
AdvancedShippingNotice.warehouse attribute.public Warehouse getWarehouse()
AdvancedShippingNotice.warehouse attribute.public void setWarehouse(SessionContext ctx, Warehouse value)
AdvancedShippingNotice.warehouse attribute.value - the warehousepublic void setWarehouse(Warehouse value)
AdvancedShippingNotice.warehouse attribute.value - the warehouseCopyright © 2018 SAP SE. All Rights Reserved.