public abstract class GeneratedConsignment extends GenericItem
Consignment.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 |
CARRIER
Qualifier of the
Consignment.carrier attribute |
static java.lang.String |
CODE
Qualifier of the
Consignment.code attribute |
static java.lang.String |
CONSIGNMENTENTRIES
Qualifier of the
Consignment.consignmentEntries attribute |
protected static OneToManyHandler<ConsignmentEntry> |
CONSIGNMENTENTRIESHANDLER
OneToManyHandler for handling 1:n CONSIGNMENTENTRIES's relation attributes from 'many' side. |
static java.lang.String |
CONSIGNMENTPROCESSES
Qualifier of the
Consignment.consignmentProcesses attribute |
protected static OneToManyHandler<ConsignmentProcess> |
CONSIGNMENTPROCESSESHANDLER
OneToManyHandler for handling 1:n CONSIGNMENTPROCESSES's relation attributes from 'many' side. |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
DELIVERYMODE
Qualifier of the
Consignment.deliveryMode attribute |
static java.lang.String |
NAMEDDELIVERYDATE
Qualifier of the
Consignment.namedDeliveryDate attribute |
static java.lang.String |
ORDER
Qualifier of the
Consignment.order attribute |
protected static BidirectionalOneToManyHandler<GeneratedConsignment> |
ORDERHANDLER
BidirectionalOneToManyHandler for handling 1:n ORDER's relation attributes from 'one' side. |
static java.lang.String |
SHIPPINGADDRESS
Qualifier of the
Consignment.shippingAddress attribute |
static java.lang.String |
SHIPPINGDATE
Qualifier of the
Consignment.shippingDate attribute |
static java.lang.String |
STATUS
Qualifier of the
Consignment.status attribute |
static java.lang.String |
TRACKINGID
Qualifier of the
Consignment.trackingID attribute |
static java.lang.String |
WAREHOUSE
Qualifier of the
Consignment.warehouse attribute |
protected static BidirectionalOneToManyHandler<GeneratedConsignment> |
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 |
|---|
GeneratedConsignment() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToConsignmentEntries(ConsignmentEntry value)
Generated method - Adds
value to consignmentEntries. |
void |
addToConsignmentEntries(SessionContext ctx,
ConsignmentEntry value)
Generated method - Adds
value to consignmentEntries. |
void |
addToConsignmentProcesses(ConsignmentProcess value)
Generated method - Adds
value to consignmentProcesses. |
void |
addToConsignmentProcesses(SessionContext ctx,
ConsignmentProcess value)
Generated method - Adds
value to consignmentProcesses. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.lang.String |
getCarrier()
Generated method - Getter of the
Consignment.carrier attribute. |
java.lang.String |
getCarrier(SessionContext ctx)
Generated method - Getter of the
Consignment.carrier attribute. |
java.lang.String |
getCode()
Generated method - Getter of the
Consignment.code attribute. |
java.lang.String |
getCode(SessionContext ctx)
Generated method - Getter of the
Consignment.code attribute. |
java.util.Set<ConsignmentEntry> |
getConsignmentEntries()
Generated method - Getter of the
Consignment.consignmentEntries attribute. |
java.util.Set<ConsignmentEntry> |
getConsignmentEntries(SessionContext ctx)
Generated method - Getter of the
Consignment.consignmentEntries attribute. |
java.util.Collection<ConsignmentProcess> |
getConsignmentProcesses()
Generated method - Getter of the
Consignment.consignmentProcesses attribute. |
java.util.Collection<ConsignmentProcess> |
getConsignmentProcesses(SessionContext ctx)
Generated method - Getter of the
Consignment.consignmentProcesses attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
DeliveryMode |
getDeliveryMode()
Generated method - Getter of the
Consignment.deliveryMode attribute. |
DeliveryMode |
getDeliveryMode(SessionContext ctx)
Generated method - Getter of the
Consignment.deliveryMode attribute. |
java.util.Date |
getNamedDeliveryDate()
Generated method - Getter of the
Consignment.namedDeliveryDate attribute. |
java.util.Date |
getNamedDeliveryDate(SessionContext ctx)
Generated method - Getter of the
Consignment.namedDeliveryDate attribute. |
AbstractOrder |
getOrder()
Generated method - Getter of the
Consignment.order attribute. |
AbstractOrder |
getOrder(SessionContext ctx)
Generated method - Getter of the
Consignment.order attribute. |
Address |
getShippingAddress()
Generated method - Getter of the
Consignment.shippingAddress attribute. |
Address |
getShippingAddress(SessionContext ctx)
Generated method - Getter of the
Consignment.shippingAddress attribute. |
java.util.Date |
getShippingDate()
Generated method - Getter of the
Consignment.shippingDate attribute. |
java.util.Date |
getShippingDate(SessionContext ctx)
Generated method - Getter of the
Consignment.shippingDate attribute. |
EnumerationValue |
getStatus()
Generated method - Getter of the
Consignment.status attribute. |
EnumerationValue |
getStatus(SessionContext ctx)
Generated method - Getter of the
Consignment.status attribute. |
java.lang.String |
getTrackingID()
Generated method - Getter of the
Consignment.trackingID attribute. |
java.lang.String |
getTrackingID(SessionContext ctx)
Generated method - Getter of the
Consignment.trackingID attribute. |
Warehouse |
getWarehouse()
Generated method - Getter of the
Consignment.warehouse attribute. |
Warehouse |
getWarehouse(SessionContext ctx)
Generated method - Getter of the
Consignment.warehouse attribute. |
void |
removeFromConsignmentEntries(ConsignmentEntry value)
Generated method - Removes
value from consignmentEntries. |
void |
removeFromConsignmentEntries(SessionContext ctx,
ConsignmentEntry value)
Generated method - Removes
value from consignmentEntries. |
void |
removeFromConsignmentProcesses(ConsignmentProcess value)
Generated method - Removes
value from consignmentProcesses. |
void |
removeFromConsignmentProcesses(SessionContext ctx,
ConsignmentProcess value)
Generated method - Removes
value from consignmentProcesses. |
void |
setCarrier(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
Consignment.carrier attribute. |
void |
setCarrier(java.lang.String value)
Generated method - Setter of the
Consignment.carrier attribute. |
protected void |
setCode(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
Consignment.code attribute. |
protected void |
setCode(java.lang.String value)
Generated method - Setter of the
Consignment.code attribute. |
void |
setConsignmentEntries(SessionContext ctx,
java.util.Set<ConsignmentEntry> value)
Generated method - Setter of the
Consignment.consignmentEntries attribute. |
void |
setConsignmentEntries(java.util.Set<ConsignmentEntry> value)
Generated method - Setter of the
Consignment.consignmentEntries attribute. |
void |
setConsignmentProcesses(java.util.Collection<ConsignmentProcess> value)
Generated method - Setter of the
Consignment.consignmentProcesses attribute. |
void |
setConsignmentProcesses(SessionContext ctx,
java.util.Collection<ConsignmentProcess> value)
Generated method - Setter of the
Consignment.consignmentProcesses attribute. |
protected void |
setDeliveryMode(DeliveryMode value)
Generated method - Setter of the
Consignment.deliveryMode attribute. |
protected void |
setDeliveryMode(SessionContext ctx,
DeliveryMode value)
Generated method - Setter of the
Consignment.deliveryMode attribute. |
protected void |
setNamedDeliveryDate(java.util.Date value)
Generated method - Setter of the
Consignment.namedDeliveryDate attribute. |
protected void |
setNamedDeliveryDate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
Consignment.namedDeliveryDate attribute. |
protected void |
setOrder(AbstractOrder value)
Generated method - Setter of the
Consignment.order attribute. |
protected void |
setOrder(SessionContext ctx,
AbstractOrder value)
Generated method - Setter of the
Consignment.order attribute. |
protected void |
setShippingAddress(Address value)
Generated method - Setter of the
Consignment.shippingAddress attribute. |
protected void |
setShippingAddress(SessionContext ctx,
Address value)
Generated method - Setter of the
Consignment.shippingAddress attribute. |
void |
setShippingDate(java.util.Date value)
Generated method - Setter of the
Consignment.shippingDate attribute. |
void |
setShippingDate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
Consignment.shippingDate attribute. |
void |
setStatus(EnumerationValue value)
Generated method - Setter of the
Consignment.status attribute. |
void |
setStatus(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
Consignment.status attribute. |
void |
setTrackingID(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
Consignment.trackingID attribute. |
void |
setTrackingID(java.lang.String value)
Generated method - Setter of the
Consignment.trackingID attribute. |
protected void |
setWarehouse(SessionContext ctx,
Warehouse value)
Generated method - Setter of the
Consignment.warehouse attribute. |
protected void |
setWarehouse(Warehouse value)
Generated method - Setter of the
Consignment.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 CODE
Consignment.code attributepublic static final java.lang.String SHIPPINGADDRESS
Consignment.shippingAddress attributepublic static final java.lang.String DELIVERYMODE
Consignment.deliveryMode attributepublic static final java.lang.String NAMEDDELIVERYDATE
Consignment.namedDeliveryDate attributepublic static final java.lang.String SHIPPINGDATE
Consignment.shippingDate attributepublic static final java.lang.String TRACKINGID
Consignment.trackingID attributepublic static final java.lang.String CARRIER
Consignment.carrier attributepublic static final java.lang.String STATUS
Consignment.status attributepublic static final java.lang.String WAREHOUSE
Consignment.warehouse attributepublic static final java.lang.String CONSIGNMENTENTRIES
Consignment.consignmentEntries attributepublic static final java.lang.String ORDER
Consignment.order attributepublic static final java.lang.String CONSIGNMENTPROCESSES
Consignment.consignmentProcesses attributeprotected static final BidirectionalOneToManyHandler<GeneratedConsignment> WAREHOUSEHANDLER
BidirectionalOneToManyHandler for handling 1:n WAREHOUSE's relation attributes from 'one' side.protected static final OneToManyHandler<ConsignmentEntry> CONSIGNMENTENTRIESHANDLER
OneToManyHandler for handling 1:n CONSIGNMENTENTRIES's relation attributes from 'many' side.protected static final BidirectionalOneToManyHandler<GeneratedConsignment> ORDERHANDLER
BidirectionalOneToManyHandler for handling 1:n ORDER's relation attributes from 'one' side.protected static final OneToManyHandler<ConsignmentProcess> CONSIGNMENTPROCESSESHANDLER
OneToManyHandler for handling 1:n CONSIGNMENTPROCESSES'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.lang.String getCarrier(SessionContext ctx)
Consignment.carrier attribute.public java.lang.String getCarrier()
Consignment.carrier attribute.public void setCarrier(SessionContext ctx, java.lang.String value)
Consignment.carrier attribute.value - the carrierpublic void setCarrier(java.lang.String value)
Consignment.carrier attribute.value - the carrierpublic java.lang.String getCode(SessionContext ctx)
Consignment.code attribute.public java.lang.String getCode()
Consignment.code attribute.protected void setCode(SessionContext ctx, java.lang.String value)
Consignment.code attribute.value - the codeprotected void setCode(java.lang.String value)
Consignment.code attribute.value - the codepublic java.util.Set<ConsignmentEntry> getConsignmentEntries(SessionContext ctx)
Consignment.consignmentEntries attribute.public java.util.Set<ConsignmentEntry> getConsignmentEntries()
Consignment.consignmentEntries attribute.public void setConsignmentEntries(SessionContext ctx, java.util.Set<ConsignmentEntry> value)
Consignment.consignmentEntries attribute.value - the consignmentEntriespublic void setConsignmentEntries(java.util.Set<ConsignmentEntry> value)
Consignment.consignmentEntries attribute.value - the consignmentEntriespublic void addToConsignmentEntries(SessionContext ctx, ConsignmentEntry value)
value to consignmentEntries.value - the item to add to consignmentEntriespublic void addToConsignmentEntries(ConsignmentEntry value)
value to consignmentEntries.value - the item to add to consignmentEntriespublic void removeFromConsignmentEntries(SessionContext ctx, ConsignmentEntry value)
value from consignmentEntries.value - the item to remove from consignmentEntriespublic void removeFromConsignmentEntries(ConsignmentEntry value)
value from consignmentEntries.value - the item to remove from consignmentEntriespublic java.util.Collection<ConsignmentProcess> getConsignmentProcesses(SessionContext ctx)
Consignment.consignmentProcesses attribute.public java.util.Collection<ConsignmentProcess> getConsignmentProcesses()
Consignment.consignmentProcesses attribute.public void setConsignmentProcesses(SessionContext ctx, java.util.Collection<ConsignmentProcess> value)
Consignment.consignmentProcesses attribute.value - the consignmentProcessespublic void setConsignmentProcesses(java.util.Collection<ConsignmentProcess> value)
Consignment.consignmentProcesses attribute.value - the consignmentProcessespublic void addToConsignmentProcesses(SessionContext ctx, ConsignmentProcess value)
value to consignmentProcesses.value - the item to add to consignmentProcessespublic void addToConsignmentProcesses(ConsignmentProcess value)
value to consignmentProcesses.value - the item to add to consignmentProcessespublic void removeFromConsignmentProcesses(SessionContext ctx, ConsignmentProcess value)
value from consignmentProcesses.value - the item to remove from consignmentProcessespublic void removeFromConsignmentProcesses(ConsignmentProcess value)
value from consignmentProcesses.value - the item to remove from consignmentProcessesprotected 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 DeliveryMode getDeliveryMode(SessionContext ctx)
Consignment.deliveryMode attribute.public DeliveryMode getDeliveryMode()
Consignment.deliveryMode attribute.protected void setDeliveryMode(SessionContext ctx, DeliveryMode value)
Consignment.deliveryMode attribute.value - the deliveryModeprotected void setDeliveryMode(DeliveryMode value)
Consignment.deliveryMode attribute.value - the deliveryModepublic java.util.Date getNamedDeliveryDate(SessionContext ctx)
Consignment.namedDeliveryDate attribute.public java.util.Date getNamedDeliveryDate()
Consignment.namedDeliveryDate attribute.protected void setNamedDeliveryDate(SessionContext ctx, java.util.Date value)
Consignment.namedDeliveryDate attribute.value - the namedDeliveryDateprotected void setNamedDeliveryDate(java.util.Date value)
Consignment.namedDeliveryDate attribute.value - the namedDeliveryDatepublic AbstractOrder getOrder(SessionContext ctx)
Consignment.order attribute.public AbstractOrder getOrder()
Consignment.order attribute.protected void setOrder(SessionContext ctx, AbstractOrder value)
Consignment.order attribute.value - the orderprotected void setOrder(AbstractOrder value)
Consignment.order attribute.value - the orderpublic Address getShippingAddress(SessionContext ctx)
Consignment.shippingAddress attribute.public Address getShippingAddress()
Consignment.shippingAddress attribute.protected void setShippingAddress(SessionContext ctx, Address value)
Consignment.shippingAddress attribute.value - the shippingAddressprotected void setShippingAddress(Address value)
Consignment.shippingAddress attribute.value - the shippingAddresspublic java.util.Date getShippingDate(SessionContext ctx)
Consignment.shippingDate attribute.public java.util.Date getShippingDate()
Consignment.shippingDate attribute.public void setShippingDate(SessionContext ctx, java.util.Date value)
Consignment.shippingDate attribute.value - the shippingDatepublic void setShippingDate(java.util.Date value)
Consignment.shippingDate attribute.value - the shippingDatepublic EnumerationValue getStatus(SessionContext ctx)
Consignment.status attribute.public EnumerationValue getStatus()
Consignment.status attribute.public void setStatus(SessionContext ctx, EnumerationValue value)
Consignment.status attribute.value - the statuspublic void setStatus(EnumerationValue value)
Consignment.status attribute.value - the statuspublic java.lang.String getTrackingID(SessionContext ctx)
Consignment.trackingID attribute.public java.lang.String getTrackingID()
Consignment.trackingID attribute.public void setTrackingID(SessionContext ctx, java.lang.String value)
Consignment.trackingID attribute.value - the trackingIDpublic void setTrackingID(java.lang.String value)
Consignment.trackingID attribute.value - the trackingIDpublic Warehouse getWarehouse(SessionContext ctx)
Consignment.warehouse attribute.public Warehouse getWarehouse()
Consignment.warehouse attribute.protected void setWarehouse(SessionContext ctx, Warehouse value)
Consignment.warehouse attribute.value - the warehouseprotected void setWarehouse(Warehouse value)
Consignment.warehouse attribute.value - the warehouseCopyright © 2018 SAP SE. All Rights Reserved.