public abstract class GeneratedPackagingInfo extends GenericItem
PackagingInfo.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 |
CONSIGNMENT
Qualifier of the
PackagingInfo.consignment attribute |
protected static BidirectionalOneToManyHandler<GeneratedPackagingInfo> |
CONSIGNMENTHANDLER
BidirectionalOneToManyHandler for handling 1:n CONSIGNMENT's relation attributes from 'one' side. |
static java.lang.String |
CONSIGNMENTPOS
Qualifier of the
PackagingInfo.consignmentPOS attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
DIMENSIONUNIT
Qualifier of the
PackagingInfo.dimensionUnit attribute |
static java.lang.String |
GROSSWEIGHT
Qualifier of the
PackagingInfo.grossWeight attribute |
static java.lang.String |
HEIGHT
Qualifier of the
PackagingInfo.height attribute |
static java.lang.String |
INSUREDVALUE
Qualifier of the
PackagingInfo.insuredValue attribute |
static java.lang.String |
LENGTH
Qualifier of the
PackagingInfo.length attribute |
static java.lang.String |
WEIGHTUNIT
Qualifier of the
PackagingInfo.weightUnit attribute |
static java.lang.String |
WIDTH
Qualifier of the
PackagingInfo.width 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 |
|---|
GeneratedPackagingInfo() |
| 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.
|
Consignment |
getConsignment()
Generated method - Getter of the
PackagingInfo.consignment attribute. |
Consignment |
getConsignment(SessionContext ctx)
Generated method - Getter of the
PackagingInfo.consignment attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getDimensionUnit()
Generated method - Getter of the
PackagingInfo.dimensionUnit attribute. |
java.lang.String |
getDimensionUnit(SessionContext ctx)
Generated method - Getter of the
PackagingInfo.dimensionUnit attribute. |
java.lang.String |
getGrossWeight()
Generated method - Getter of the
PackagingInfo.grossWeight attribute. |
java.lang.String |
getGrossWeight(SessionContext ctx)
Generated method - Getter of the
PackagingInfo.grossWeight attribute. |
java.lang.String |
getHeight()
Generated method - Getter of the
PackagingInfo.height attribute. |
java.lang.String |
getHeight(SessionContext ctx)
Generated method - Getter of the
PackagingInfo.height attribute. |
java.lang.String |
getInsuredValue()
Generated method - Getter of the
PackagingInfo.insuredValue attribute. |
java.lang.String |
getInsuredValue(SessionContext ctx)
Generated method - Getter of the
PackagingInfo.insuredValue attribute. |
java.lang.String |
getLength()
Generated method - Getter of the
PackagingInfo.length attribute. |
java.lang.String |
getLength(SessionContext ctx)
Generated method - Getter of the
PackagingInfo.length attribute. |
java.lang.String |
getWeightUnit()
Generated method - Getter of the
PackagingInfo.weightUnit attribute. |
java.lang.String |
getWeightUnit(SessionContext ctx)
Generated method - Getter of the
PackagingInfo.weightUnit attribute. |
java.lang.String |
getWidth()
Generated method - Getter of the
PackagingInfo.width attribute. |
java.lang.String |
getWidth(SessionContext ctx)
Generated method - Getter of the
PackagingInfo.width attribute. |
protected void |
setConsignment(Consignment value)
Generated method - Setter of the
PackagingInfo.consignment attribute. |
protected void |
setConsignment(SessionContext ctx,
Consignment value)
Generated method - Setter of the
PackagingInfo.consignment attribute. |
void |
setDimensionUnit(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PackagingInfo.dimensionUnit attribute. |
void |
setDimensionUnit(java.lang.String value)
Generated method - Setter of the
PackagingInfo.dimensionUnit attribute. |
void |
setGrossWeight(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PackagingInfo.grossWeight attribute. |
void |
setGrossWeight(java.lang.String value)
Generated method - Setter of the
PackagingInfo.grossWeight attribute. |
void |
setHeight(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PackagingInfo.height attribute. |
void |
setHeight(java.lang.String value)
Generated method - Setter of the
PackagingInfo.height attribute. |
void |
setInsuredValue(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PackagingInfo.insuredValue attribute. |
void |
setInsuredValue(java.lang.String value)
Generated method - Setter of the
PackagingInfo.insuredValue attribute. |
void |
setLength(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PackagingInfo.length attribute. |
void |
setLength(java.lang.String value)
Generated method - Setter of the
PackagingInfo.length attribute. |
void |
setWeightUnit(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PackagingInfo.weightUnit attribute. |
void |
setWeightUnit(java.lang.String value)
Generated method - Setter of the
PackagingInfo.weightUnit attribute. |
void |
setWidth(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PackagingInfo.width attribute. |
void |
setWidth(java.lang.String value)
Generated method - Setter of the
PackagingInfo.width 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 WIDTH
PackagingInfo.width attributepublic static final java.lang.String HEIGHT
PackagingInfo.height attributepublic static final java.lang.String LENGTH
PackagingInfo.length attributepublic static final java.lang.String GROSSWEIGHT
PackagingInfo.grossWeight attributepublic static final java.lang.String DIMENSIONUNIT
PackagingInfo.dimensionUnit attributepublic static final java.lang.String WEIGHTUNIT
PackagingInfo.weightUnit attributepublic static final java.lang.String INSUREDVALUE
PackagingInfo.insuredValue attributepublic static final java.lang.String CONSIGNMENTPOS
PackagingInfo.consignmentPOS attributepublic static final java.lang.String CONSIGNMENT
PackagingInfo.consignment attributeprotected static final BidirectionalOneToManyHandler<GeneratedPackagingInfo> CONSIGNMENTHANDLER
BidirectionalOneToManyHandler for handling 1:n CONSIGNMENT's relation attributes from 'one' 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 Consignment getConsignment(SessionContext ctx)
PackagingInfo.consignment attribute.public Consignment getConsignment()
PackagingInfo.consignment attribute.protected void setConsignment(SessionContext ctx, Consignment value)
PackagingInfo.consignment attribute.value - the consignmentprotected void setConsignment(Consignment value)
PackagingInfo.consignment attribute.value - the consignmentprotected 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 getDimensionUnit(SessionContext ctx)
PackagingInfo.dimensionUnit attribute.public java.lang.String getDimensionUnit()
PackagingInfo.dimensionUnit attribute.public void setDimensionUnit(SessionContext ctx, java.lang.String value)
PackagingInfo.dimensionUnit attribute.value - the dimensionUnitpublic void setDimensionUnit(java.lang.String value)
PackagingInfo.dimensionUnit attribute.value - the dimensionUnitpublic java.lang.String getGrossWeight(SessionContext ctx)
PackagingInfo.grossWeight attribute.public java.lang.String getGrossWeight()
PackagingInfo.grossWeight attribute.public void setGrossWeight(SessionContext ctx, java.lang.String value)
PackagingInfo.grossWeight attribute.value - the grossWeightpublic void setGrossWeight(java.lang.String value)
PackagingInfo.grossWeight attribute.value - the grossWeightpublic java.lang.String getHeight(SessionContext ctx)
PackagingInfo.height attribute.public java.lang.String getHeight()
PackagingInfo.height attribute.public void setHeight(SessionContext ctx, java.lang.String value)
PackagingInfo.height attribute.value - the heightpublic void setHeight(java.lang.String value)
PackagingInfo.height attribute.value - the heightpublic java.lang.String getInsuredValue(SessionContext ctx)
PackagingInfo.insuredValue attribute.public java.lang.String getInsuredValue()
PackagingInfo.insuredValue attribute.public void setInsuredValue(SessionContext ctx, java.lang.String value)
PackagingInfo.insuredValue attribute.value - the insuredValuepublic void setInsuredValue(java.lang.String value)
PackagingInfo.insuredValue attribute.value - the insuredValuepublic java.lang.String getLength(SessionContext ctx)
PackagingInfo.length attribute.public java.lang.String getLength()
PackagingInfo.length attribute.public void setLength(SessionContext ctx, java.lang.String value)
PackagingInfo.length attribute.value - the lengthpublic void setLength(java.lang.String value)
PackagingInfo.length attribute.value - the lengthpublic java.lang.String getWeightUnit(SessionContext ctx)
PackagingInfo.weightUnit attribute.public java.lang.String getWeightUnit()
PackagingInfo.weightUnit attribute.public void setWeightUnit(SessionContext ctx, java.lang.String value)
PackagingInfo.weightUnit attribute.value - the weightUnitpublic void setWeightUnit(java.lang.String value)
PackagingInfo.weightUnit attribute.value - the weightUnitpublic java.lang.String getWidth(SessionContext ctx)
PackagingInfo.width attribute.public java.lang.String getWidth()
PackagingInfo.width attribute.public void setWidth(SessionContext ctx, java.lang.String value)
PackagingInfo.width attribute.value - the widthpublic void setWidth(java.lang.String value)
PackagingInfo.width attribute.value - the widthCopyright © 2018 SAP SE. All Rights Reserved.