public abstract class GeneratedStockLevelHistoryEntry extends GenericItem
StockLevelHistoryEntry.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 |
ACTUAL
Qualifier of the
StockLevelHistoryEntry.actual attribute |
static java.lang.String |
COMMENT
Qualifier of the
StockLevelHistoryEntry.comment attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
RESERVED
Qualifier of the
StockLevelHistoryEntry.reserved attribute |
static java.lang.String |
STOCKLEVEL
Qualifier of the
StockLevelHistoryEntry.stockLevel attribute |
protected static BidirectionalOneToManyHandler<GeneratedStockLevelHistoryEntry> |
STOCKLEVELHANDLER
BidirectionalOneToManyHandler for handling 1:n STOCKLEVEL's relation attributes from 'one' side. |
static java.lang.String |
STOCKLEVELPOS
Qualifier of the
StockLevelHistoryEntry.stockLevelPOS attribute |
static java.lang.String |
UPDATEDATE
Qualifier of the
StockLevelHistoryEntry.updateDate attribute |
static java.lang.String |
UPDATETYPE
Qualifier of the
StockLevelHistoryEntry.updateType 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 |
|---|
GeneratedStockLevelHistoryEntry() |
| 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.
|
java.lang.Integer |
getActual()
Generated method - Getter of the
StockLevelHistoryEntry.actual attribute. |
java.lang.Integer |
getActual(SessionContext ctx)
Generated method - Getter of the
StockLevelHistoryEntry.actual attribute. |
int |
getActualAsPrimitive()
Generated method - Getter of the
StockLevelHistoryEntry.actual attribute. |
int |
getActualAsPrimitive(SessionContext ctx)
Generated method - Getter of the
StockLevelHistoryEntry.actual attribute. |
java.lang.String |
getComment()
Generated method - Getter of the
StockLevelHistoryEntry.comment attribute. |
java.lang.String |
getComment(SessionContext ctx)
Generated method - Getter of the
StockLevelHistoryEntry.comment attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.Integer |
getReserved()
Generated method - Getter of the
StockLevelHistoryEntry.reserved attribute. |
java.lang.Integer |
getReserved(SessionContext ctx)
Generated method - Getter of the
StockLevelHistoryEntry.reserved attribute. |
int |
getReservedAsPrimitive()
Generated method - Getter of the
StockLevelHistoryEntry.reserved attribute. |
int |
getReservedAsPrimitive(SessionContext ctx)
Generated method - Getter of the
StockLevelHistoryEntry.reserved attribute. |
StockLevel |
getStockLevel()
Generated method - Getter of the
StockLevelHistoryEntry.stockLevel attribute. |
StockLevel |
getStockLevel(SessionContext ctx)
Generated method - Getter of the
StockLevelHistoryEntry.stockLevel attribute. |
java.util.Date |
getUpdateDate()
Generated method - Getter of the
StockLevelHistoryEntry.updateDate attribute. |
java.util.Date |
getUpdateDate(SessionContext ctx)
Generated method - Getter of the
StockLevelHistoryEntry.updateDate attribute. |
EnumerationValue |
getUpdateType()
Generated method - Getter of the
StockLevelHistoryEntry.updateType attribute. |
EnumerationValue |
getUpdateType(SessionContext ctx)
Generated method - Getter of the
StockLevelHistoryEntry.updateType attribute. |
void |
setActual(int value)
Generated method - Setter of the
StockLevelHistoryEntry.actual attribute. |
void |
setActual(java.lang.Integer value)
Generated method - Setter of the
StockLevelHistoryEntry.actual attribute. |
void |
setActual(SessionContext ctx,
int value)
Generated method - Setter of the
StockLevelHistoryEntry.actual attribute. |
void |
setActual(SessionContext ctx,
java.lang.Integer value)
Generated method - Setter of the
StockLevelHistoryEntry.actual attribute. |
void |
setComment(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
StockLevelHistoryEntry.comment attribute. |
void |
setComment(java.lang.String value)
Generated method - Setter of the
StockLevelHistoryEntry.comment attribute. |
void |
setReserved(int value)
Generated method - Setter of the
StockLevelHistoryEntry.reserved attribute. |
void |
setReserved(java.lang.Integer value)
Generated method - Setter of the
StockLevelHistoryEntry.reserved attribute. |
void |
setReserved(SessionContext ctx,
int value)
Generated method - Setter of the
StockLevelHistoryEntry.reserved attribute. |
void |
setReserved(SessionContext ctx,
java.lang.Integer value)
Generated method - Setter of the
StockLevelHistoryEntry.reserved attribute. |
protected void |
setStockLevel(SessionContext ctx,
StockLevel value)
Generated method - Setter of the
StockLevelHistoryEntry.stockLevel attribute. |
protected void |
setStockLevel(StockLevel value)
Generated method - Setter of the
StockLevelHistoryEntry.stockLevel attribute. |
void |
setUpdateDate(java.util.Date value)
Generated method - Setter of the
StockLevelHistoryEntry.updateDate attribute. |
void |
setUpdateDate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
StockLevelHistoryEntry.updateDate attribute. |
void |
setUpdateType(EnumerationValue value)
Generated method - Setter of the
StockLevelHistoryEntry.updateType attribute. |
void |
setUpdateType(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
StockLevelHistoryEntry.updateType 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 UPDATEDATE
StockLevelHistoryEntry.updateDate attributepublic static final java.lang.String ACTUAL
StockLevelHistoryEntry.actual attributepublic static final java.lang.String RESERVED
StockLevelHistoryEntry.reserved attributepublic static final java.lang.String UPDATETYPE
StockLevelHistoryEntry.updateType attributepublic static final java.lang.String COMMENT
StockLevelHistoryEntry.comment attributepublic static final java.lang.String STOCKLEVELPOS
StockLevelHistoryEntry.stockLevelPOS attributepublic static final java.lang.String STOCKLEVEL
StockLevelHistoryEntry.stockLevel attributeprotected static final BidirectionalOneToManyHandler<GeneratedStockLevelHistoryEntry> STOCKLEVELHANDLER
BidirectionalOneToManyHandler for handling 1:n STOCKLEVEL'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 java.lang.Integer getActual(SessionContext ctx)
StockLevelHistoryEntry.actual attribute.public java.lang.Integer getActual()
StockLevelHistoryEntry.actual attribute.public int getActualAsPrimitive(SessionContext ctx)
StockLevelHistoryEntry.actual attribute.public int getActualAsPrimitive()
StockLevelHistoryEntry.actual attribute.public void setActual(SessionContext ctx, java.lang.Integer value)
StockLevelHistoryEntry.actual attribute.value - the actualpublic void setActual(java.lang.Integer value)
StockLevelHistoryEntry.actual attribute.value - the actualpublic void setActual(SessionContext ctx, int value)
StockLevelHistoryEntry.actual attribute.value - the actualpublic void setActual(int value)
StockLevelHistoryEntry.actual attribute.value - the actualpublic java.lang.String getComment(SessionContext ctx)
StockLevelHistoryEntry.comment attribute.public java.lang.String getComment()
StockLevelHistoryEntry.comment attribute.public void setComment(SessionContext ctx, java.lang.String value)
StockLevelHistoryEntry.comment attribute.value - the commentpublic void setComment(java.lang.String value)
StockLevelHistoryEntry.comment attribute.value - the commentprotected 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.Integer getReserved(SessionContext ctx)
StockLevelHistoryEntry.reserved attribute.public java.lang.Integer getReserved()
StockLevelHistoryEntry.reserved attribute.public int getReservedAsPrimitive(SessionContext ctx)
StockLevelHistoryEntry.reserved attribute.public int getReservedAsPrimitive()
StockLevelHistoryEntry.reserved attribute.public void setReserved(SessionContext ctx, java.lang.Integer value)
StockLevelHistoryEntry.reserved attribute.value - the reservedpublic void setReserved(java.lang.Integer value)
StockLevelHistoryEntry.reserved attribute.value - the reservedpublic void setReserved(SessionContext ctx, int value)
StockLevelHistoryEntry.reserved attribute.value - the reservedpublic void setReserved(int value)
StockLevelHistoryEntry.reserved attribute.value - the reservedpublic StockLevel getStockLevel(SessionContext ctx)
StockLevelHistoryEntry.stockLevel attribute.public StockLevel getStockLevel()
StockLevelHistoryEntry.stockLevel attribute.protected void setStockLevel(SessionContext ctx, StockLevel value)
StockLevelHistoryEntry.stockLevel attribute.value - the stockLevelprotected void setStockLevel(StockLevel value)
StockLevelHistoryEntry.stockLevel attribute.value - the stockLevelpublic java.util.Date getUpdateDate(SessionContext ctx)
StockLevelHistoryEntry.updateDate attribute.public java.util.Date getUpdateDate()
StockLevelHistoryEntry.updateDate attribute.public void setUpdateDate(SessionContext ctx, java.util.Date value)
StockLevelHistoryEntry.updateDate attribute.value - the updateDatepublic void setUpdateDate(java.util.Date value)
StockLevelHistoryEntry.updateDate attribute.value - the updateDatepublic EnumerationValue getUpdateType(SessionContext ctx)
StockLevelHistoryEntry.updateType attribute.public EnumerationValue getUpdateType()
StockLevelHistoryEntry.updateType attribute.public void setUpdateType(SessionContext ctx, EnumerationValue value)
StockLevelHistoryEntry.updateType attribute.value - the updateTypepublic void setUpdateType(EnumerationValue value)
StockLevelHistoryEntry.updateType attribute.value - the updateTypeCopyright © 2018 SAP SE. All Rights Reserved.