Package de.hybris.platform.jalo.order
Class GeneratedAbstractOrderEntry
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- de.hybris.platform.jalo.GenericItem
-
- de.hybris.platform.jalo.order.GeneratedAbstractOrderEntry
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable
- Direct Known Subclasses:
AbstractOrderEntry
public abstract class GeneratedAbstractOrderEntry extends GenericItem
Generated class for typeAbstractOrderEntry.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBASEPRICEQualifier of theAbstractOrderEntry.basePriceattributestatic java.lang.StringCALCULATEDQualifier of theAbstractOrderEntry.calculatedattributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringDISCOUNTVALUESINTERNALQualifier of theAbstractOrderEntry.discountValuesInternalattributestatic java.lang.StringENTRYGROUPNUMBERSQualifier of theAbstractOrderEntry.entryGroupNumbersattributestatic java.lang.StringENTRYNUMBERQualifier of theAbstractOrderEntry.entryNumberattributestatic java.lang.StringGIVEAWAYQualifier of theAbstractOrderEntry.giveAwayattributestatic java.lang.StringINFOQualifier of theAbstractOrderEntry.infoattributestatic java.lang.StringORDERQualifier of theAbstractOrderEntry.orderattributeprotected static BidirectionalOneToManyHandler<GeneratedAbstractOrderEntry>ORDERHANDLERBidirectionalOneToManyHandlerfor handling 1:n ORDER's relation attributes from 'one' side.static java.lang.StringPRODUCTQualifier of theAbstractOrderEntry.productattributestatic java.lang.StringQUANTITYQualifier of theAbstractOrderEntry.quantityattributestatic java.lang.StringREJECTEDQualifier of theAbstractOrderEntry.rejectedattributestatic java.lang.StringTAXVALUESINTERNALQualifier of theAbstractOrderEntry.taxValuesInternalattributestatic java.lang.StringTOTALPRICEQualifier of theAbstractOrderEntry.totalPriceattributestatic java.lang.StringUNITQualifier of theAbstractOrderEntry.unitattribute-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedAbstractOrderEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)Has to be implemented for each concrete subtype of item.java.lang.DoublegetBasePrice()Generated method - Getter of theAbstractOrderEntry.basePriceattribute.java.lang.DoublegetBasePrice(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.basePriceattribute.doublegetBasePriceAsPrimitive()Generated method - Getter of theAbstractOrderEntry.basePriceattribute.doublegetBasePriceAsPrimitive(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.basePriceattribute.protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()java.lang.StringgetDiscountValuesInternal()Generated method - Getter of theAbstractOrderEntry.discountValuesInternalattribute.java.lang.StringgetDiscountValuesInternal(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.discountValuesInternalattribute.java.util.Set<java.lang.Integer>getEntryGroupNumbers()Generated method - Getter of theAbstractOrderEntry.entryGroupNumbersattribute.java.util.Set<java.lang.Integer>getEntryGroupNumbers(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.entryGroupNumbersattribute.java.lang.IntegergetEntryNumber()Generated method - Getter of theAbstractOrderEntry.entryNumberattribute.java.lang.IntegergetEntryNumber(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.entryNumberattribute.intgetEntryNumberAsPrimitive()Generated method - Getter of theAbstractOrderEntry.entryNumberattribute.intgetEntryNumberAsPrimitive(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.entryNumberattribute.java.lang.StringgetInfo()Generated method - Getter of theAbstractOrderEntry.infoattribute.java.lang.StringgetInfo(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.infoattribute.AbstractOrdergetOrder()Generated method - Getter of theAbstractOrderEntry.orderattribute.AbstractOrdergetOrder(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.orderattribute.ProductgetProduct()Generated method - Getter of theAbstractOrderEntry.productattribute.ProductgetProduct(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.productattribute.java.lang.LonggetQuantity()Generated method - Getter of theAbstractOrderEntry.quantityattribute.java.lang.LonggetQuantity(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.quantityattribute.longgetQuantityAsPrimitive()Generated method - Getter of theAbstractOrderEntry.quantityattribute.longgetQuantityAsPrimitive(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.quantityattribute.java.lang.StringgetTaxValuesInternal()Generated method - Getter of theAbstractOrderEntry.taxValuesInternalattribute.java.lang.StringgetTaxValuesInternal(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.taxValuesInternalattribute.java.lang.DoublegetTotalPrice()Generated method - Getter of theAbstractOrderEntry.totalPriceattribute.java.lang.DoublegetTotalPrice(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.totalPriceattribute.doublegetTotalPriceAsPrimitive()Generated method - Getter of theAbstractOrderEntry.totalPriceattribute.doublegetTotalPriceAsPrimitive(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.totalPriceattribute.UnitgetUnit()Generated method - Getter of theAbstractOrderEntry.unitattribute.UnitgetUnit(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.unitattribute.java.lang.BooleanisCalculated()Generated method - Getter of theAbstractOrderEntry.calculatedattribute.java.lang.BooleanisCalculated(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.calculatedattribute.booleanisCalculatedAsPrimitive()Generated method - Getter of theAbstractOrderEntry.calculatedattribute.booleanisCalculatedAsPrimitive(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.calculatedattribute.java.lang.BooleanisGiveAway()Generated method - Getter of theAbstractOrderEntry.giveAwayattribute.java.lang.BooleanisGiveAway(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.giveAwayattribute.booleanisGiveAwayAsPrimitive()Generated method - Getter of theAbstractOrderEntry.giveAwayattribute.booleanisGiveAwayAsPrimitive(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.giveAwayattribute.java.lang.BooleanisRejected()Generated method - Getter of theAbstractOrderEntry.rejectedattribute.java.lang.BooleanisRejected(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.rejectedattribute.booleanisRejectedAsPrimitive()Generated method - Getter of theAbstractOrderEntry.rejectedattribute.booleanisRejectedAsPrimitive(SessionContext ctx)Generated method - Getter of theAbstractOrderEntry.rejectedattribute.voidsetBasePrice(double value)Generated method - Setter of theAbstractOrderEntry.basePriceattribute.voidsetBasePrice(SessionContext ctx, double value)Generated method - Setter of theAbstractOrderEntry.basePriceattribute.voidsetBasePrice(SessionContext ctx, java.lang.Double value)Generated method - Setter of theAbstractOrderEntry.basePriceattribute.voidsetBasePrice(java.lang.Double value)Generated method - Setter of theAbstractOrderEntry.basePriceattribute.voidsetCalculated(boolean value)Generated method - Setter of theAbstractOrderEntry.calculatedattribute.voidsetCalculated(SessionContext ctx, boolean value)Generated method - Setter of theAbstractOrderEntry.calculatedattribute.voidsetCalculated(SessionContext ctx, java.lang.Boolean value)Generated method - Setter of theAbstractOrderEntry.calculatedattribute.voidsetCalculated(java.lang.Boolean value)Generated method - Setter of theAbstractOrderEntry.calculatedattribute.voidsetDiscountValuesInternal(SessionContext ctx, java.lang.String value)Generated method - Setter of theAbstractOrderEntry.discountValuesInternalattribute.voidsetDiscountValuesInternal(java.lang.String value)Generated method - Setter of theAbstractOrderEntry.discountValuesInternalattribute.voidsetEntryGroupNumbers(SessionContext ctx, java.util.Set<java.lang.Integer> value)Generated method - Setter of theAbstractOrderEntry.entryGroupNumbersattribute.voidsetEntryGroupNumbers(java.util.Set<java.lang.Integer> value)Generated method - Setter of theAbstractOrderEntry.entryGroupNumbersattribute.voidsetEntryNumber(int value)Generated method - Setter of theAbstractOrderEntry.entryNumberattribute.voidsetEntryNumber(SessionContext ctx, int value)Generated method - Setter of theAbstractOrderEntry.entryNumberattribute.voidsetEntryNumber(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theAbstractOrderEntry.entryNumberattribute.voidsetEntryNumber(java.lang.Integer value)Generated method - Setter of theAbstractOrderEntry.entryNumberattribute.voidsetGiveAway(boolean value)Generated method - Setter of theAbstractOrderEntry.giveAwayattribute.voidsetGiveAway(SessionContext ctx, boolean value)Generated method - Setter of theAbstractOrderEntry.giveAwayattribute.voidsetGiveAway(SessionContext ctx, java.lang.Boolean value)Generated method - Setter of theAbstractOrderEntry.giveAwayattribute.voidsetGiveAway(java.lang.Boolean value)Generated method - Setter of theAbstractOrderEntry.giveAwayattribute.voidsetInfo(SessionContext ctx, java.lang.String value)Generated method - Setter of theAbstractOrderEntry.infoattribute.voidsetInfo(java.lang.String value)Generated method - Setter of theAbstractOrderEntry.infoattribute.voidsetOrder(AbstractOrder value)Generated method - Setter of theAbstractOrderEntry.orderattribute.voidsetOrder(SessionContext ctx, AbstractOrder value)Generated method - Setter of theAbstractOrderEntry.orderattribute.voidsetProduct(Product value)Generated method - Setter of theAbstractOrderEntry.productattribute.voidsetProduct(SessionContext ctx, Product value)Generated method - Setter of theAbstractOrderEntry.productattribute.voidsetQuantity(long value)Generated method - Setter of theAbstractOrderEntry.quantityattribute.voidsetQuantity(SessionContext ctx, long value)Generated method - Setter of theAbstractOrderEntry.quantityattribute.voidsetQuantity(SessionContext ctx, java.lang.Long value)Generated method - Setter of theAbstractOrderEntry.quantityattribute.voidsetQuantity(java.lang.Long value)Generated method - Setter of theAbstractOrderEntry.quantityattribute.voidsetRejected(boolean value)Generated method - Setter of theAbstractOrderEntry.rejectedattribute.voidsetRejected(SessionContext ctx, boolean value)Generated method - Setter of theAbstractOrderEntry.rejectedattribute.voidsetRejected(SessionContext ctx, java.lang.Boolean value)Generated method - Setter of theAbstractOrderEntry.rejectedattribute.voidsetRejected(java.lang.Boolean value)Generated method - Setter of theAbstractOrderEntry.rejectedattribute.voidsetTaxValuesInternal(SessionContext ctx, java.lang.String value)Generated method - Setter of theAbstractOrderEntry.taxValuesInternalattribute.voidsetTaxValuesInternal(java.lang.String value)Generated method - Setter of theAbstractOrderEntry.taxValuesInternalattribute.voidsetTotalPrice(double value)Generated method - Setter of theAbstractOrderEntry.totalPriceattribute.voidsetTotalPrice(SessionContext ctx, double value)Generated method - Setter of theAbstractOrderEntry.totalPriceattribute.voidsetTotalPrice(SessionContext ctx, java.lang.Double value)Generated method - Setter of theAbstractOrderEntry.totalPriceattribute.voidsetTotalPrice(java.lang.Double value)Generated method - Setter of theAbstractOrderEntry.totalPriceattribute.voidsetUnit(Unit value)Generated method - Setter of theAbstractOrderEntry.unitattribute.voidsetUnit(SessionContext ctx, Unit value)Generated method - Setter of theAbstractOrderEntry.unitattribute.-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, 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, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
BASEPRICE
public static final java.lang.String BASEPRICE
Qualifier of theAbstractOrderEntry.basePriceattribute- See Also:
- Constant Field Values
-
CALCULATED
public static final java.lang.String CALCULATED
Qualifier of theAbstractOrderEntry.calculatedattribute- See Also:
- Constant Field Values
-
DISCOUNTVALUESINTERNAL
public static final java.lang.String DISCOUNTVALUESINTERNAL
Qualifier of theAbstractOrderEntry.discountValuesInternalattribute- See Also:
- Constant Field Values
-
ENTRYNUMBER
public static final java.lang.String ENTRYNUMBER
Qualifier of theAbstractOrderEntry.entryNumberattribute- See Also:
- Constant Field Values
-
INFO
public static final java.lang.String INFO
Qualifier of theAbstractOrderEntry.infoattribute- See Also:
- Constant Field Values
-
PRODUCT
public static final java.lang.String PRODUCT
Qualifier of theAbstractOrderEntry.productattribute- See Also:
- Constant Field Values
-
QUANTITY
public static final java.lang.String QUANTITY
Qualifier of theAbstractOrderEntry.quantityattribute- See Also:
- Constant Field Values
-
TAXVALUESINTERNAL
public static final java.lang.String TAXVALUESINTERNAL
Qualifier of theAbstractOrderEntry.taxValuesInternalattribute- See Also:
- Constant Field Values
-
TOTALPRICE
public static final java.lang.String TOTALPRICE
Qualifier of theAbstractOrderEntry.totalPriceattribute- See Also:
- Constant Field Values
-
UNIT
public static final java.lang.String UNIT
Qualifier of theAbstractOrderEntry.unitattribute- See Also:
- Constant Field Values
-
GIVEAWAY
public static final java.lang.String GIVEAWAY
Qualifier of theAbstractOrderEntry.giveAwayattribute- See Also:
- Constant Field Values
-
REJECTED
public static final java.lang.String REJECTED
Qualifier of theAbstractOrderEntry.rejectedattribute- See Also:
- Constant Field Values
-
ENTRYGROUPNUMBERS
public static final java.lang.String ENTRYGROUPNUMBERS
Qualifier of theAbstractOrderEntry.entryGroupNumbersattribute- See Also:
- Constant Field Values
-
ORDER
public static final java.lang.String ORDER
Qualifier of theAbstractOrderEntry.orderattribute- See Also:
- Constant Field Values
-
ORDERHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedAbstractOrderEntry> ORDERHANDLER
BidirectionalOneToManyHandlerfor handling 1:n ORDER's relation attributes from 'one' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModesin classItem
-
getBasePrice
public java.lang.Double getBasePrice(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.basePriceattribute.- Returns:
- the basePrice
-
getBasePrice
public java.lang.Double getBasePrice()
Generated method - Getter of theAbstractOrderEntry.basePriceattribute.- Returns:
- the basePrice
-
getBasePriceAsPrimitive
public double getBasePriceAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.basePriceattribute.- Returns:
- the basePrice
-
getBasePriceAsPrimitive
public double getBasePriceAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.basePriceattribute.- Returns:
- the basePrice
-
setBasePrice
public void setBasePrice(SessionContext ctx, java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.basePriceattribute.- Parameters:
value- the basePrice
-
setBasePrice
public void setBasePrice(java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.basePriceattribute.- Parameters:
value- the basePrice
-
setBasePrice
public void setBasePrice(SessionContext ctx, double value)
Generated method - Setter of theAbstractOrderEntry.basePriceattribute.- Parameters:
value- the basePrice
-
setBasePrice
public void setBasePrice(double value)
Generated method - Setter of theAbstractOrderEntry.basePriceattribute.- Parameters:
value- the basePrice
-
isCalculated
public java.lang.Boolean isCalculated(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.calculatedattribute.- Returns:
- the calculated
-
isCalculated
public java.lang.Boolean isCalculated()
Generated method - Getter of theAbstractOrderEntry.calculatedattribute.- Returns:
- the calculated
-
isCalculatedAsPrimitive
public boolean isCalculatedAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.calculatedattribute.- Returns:
- the calculated
-
isCalculatedAsPrimitive
public boolean isCalculatedAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.calculatedattribute.- Returns:
- the calculated
-
setCalculated
public void setCalculated(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.calculatedattribute.- Parameters:
value- the calculated
-
setCalculated
public void setCalculated(java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.calculatedattribute.- Parameters:
value- the calculated
-
setCalculated
public void setCalculated(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractOrderEntry.calculatedattribute.- Parameters:
value- the calculated
-
setCalculated
public void setCalculated(boolean value)
Generated method - Setter of theAbstractOrderEntry.calculatedattribute.- Parameters:
value- the calculated
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:ItemHas to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.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; }- Overrides:
createItemin classGenericItem- Parameters:
ctx- 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 )- Returns:
- the new item instance
- Throws:
JaloBusinessException- indicates an error during creation - any changes will be rollbacked
-
getDiscountValuesInternal
public java.lang.String getDiscountValuesInternal(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.discountValuesInternalattribute.- Returns:
- the discountValuesInternal
-
getDiscountValuesInternal
public java.lang.String getDiscountValuesInternal()
Generated method - Getter of theAbstractOrderEntry.discountValuesInternalattribute.- Returns:
- the discountValuesInternal
-
setDiscountValuesInternal
public void setDiscountValuesInternal(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.discountValuesInternalattribute.- Parameters:
value- the discountValuesInternal
-
setDiscountValuesInternal
public void setDiscountValuesInternal(java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.discountValuesInternalattribute.- Parameters:
value- the discountValuesInternal
-
getEntryGroupNumbers
public java.util.Set<java.lang.Integer> getEntryGroupNumbers(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.entryGroupNumbersattribute.- Returns:
- the entryGroupNumbers - List of EntryGroup numbers that this order entry belongs to.
-
getEntryGroupNumbers
public java.util.Set<java.lang.Integer> getEntryGroupNumbers()
Generated method - Getter of theAbstractOrderEntry.entryGroupNumbersattribute.- Returns:
- the entryGroupNumbers - List of EntryGroup numbers that this order entry belongs to.
-
setEntryGroupNumbers
public void setEntryGroupNumbers(SessionContext ctx, java.util.Set<java.lang.Integer> value)
Generated method - Setter of theAbstractOrderEntry.entryGroupNumbersattribute.- Parameters:
value- the entryGroupNumbers - List of EntryGroup numbers that this order entry belongs to.
-
setEntryGroupNumbers
public void setEntryGroupNumbers(java.util.Set<java.lang.Integer> value)
Generated method - Setter of theAbstractOrderEntry.entryGroupNumbersattribute.- Parameters:
value- the entryGroupNumbers - List of EntryGroup numbers that this order entry belongs to.
-
getEntryNumber
public java.lang.Integer getEntryNumber(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.entryNumberattribute.- Returns:
- the entryNumber
-
getEntryNumber
public java.lang.Integer getEntryNumber()
Generated method - Getter of theAbstractOrderEntry.entryNumberattribute.- Returns:
- the entryNumber
-
getEntryNumberAsPrimitive
public int getEntryNumberAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.entryNumberattribute.- Returns:
- the entryNumber
-
getEntryNumberAsPrimitive
public int getEntryNumberAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.entryNumberattribute.- Returns:
- the entryNumber
-
setEntryNumber
public void setEntryNumber(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theAbstractOrderEntry.entryNumberattribute.- Parameters:
value- the entryNumber
-
setEntryNumber
public void setEntryNumber(java.lang.Integer value)
Generated method - Setter of theAbstractOrderEntry.entryNumberattribute.- Parameters:
value- the entryNumber
-
setEntryNumber
public void setEntryNumber(SessionContext ctx, int value)
Generated method - Setter of theAbstractOrderEntry.entryNumberattribute.- Parameters:
value- the entryNumber
-
setEntryNumber
public void setEntryNumber(int value)
Generated method - Setter of theAbstractOrderEntry.entryNumberattribute.- Parameters:
value- the entryNumber
-
isGiveAway
public java.lang.Boolean isGiveAway(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.giveAwayattribute.- Returns:
- the giveAway
-
isGiveAway
public java.lang.Boolean isGiveAway()
Generated method - Getter of theAbstractOrderEntry.giveAwayattribute.- Returns:
- the giveAway
-
isGiveAwayAsPrimitive
public boolean isGiveAwayAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.giveAwayattribute.- Returns:
- the giveAway
-
isGiveAwayAsPrimitive
public boolean isGiveAwayAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.giveAwayattribute.- Returns:
- the giveAway
-
setGiveAway
public void setGiveAway(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAwayattribute.- Parameters:
value- the giveAway
-
setGiveAway
public void setGiveAway(java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAwayattribute.- Parameters:
value- the giveAway
-
setGiveAway
public void setGiveAway(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAwayattribute.- Parameters:
value- the giveAway
-
setGiveAway
public void setGiveAway(boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAwayattribute.- Parameters:
value- the giveAway
-
getInfo
public java.lang.String getInfo(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.infoattribute.- Returns:
- the info
-
getInfo
public java.lang.String getInfo()
Generated method - Getter of theAbstractOrderEntry.infoattribute.- Returns:
- the info
-
setInfo
public void setInfo(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.infoattribute.- Parameters:
value- the info
-
setInfo
public void setInfo(java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.infoattribute.- Parameters:
value- the info
-
getOrder
public AbstractOrder getOrder(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.orderattribute.- Returns:
- the order
-
getOrder
public AbstractOrder getOrder()
Generated method - Getter of theAbstractOrderEntry.orderattribute.- Returns:
- the order
-
setOrder
public void setOrder(SessionContext ctx, AbstractOrder value)
Generated method - Setter of theAbstractOrderEntry.orderattribute.- Parameters:
value- the order
-
setOrder
public void setOrder(AbstractOrder value)
Generated method - Setter of theAbstractOrderEntry.orderattribute.- Parameters:
value- the order
-
getProduct
public Product getProduct(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.productattribute.- Returns:
- the product
-
getProduct
public Product getProduct()
Generated method - Getter of theAbstractOrderEntry.productattribute.- Returns:
- the product
-
setProduct
public void setProduct(SessionContext ctx, Product value)
Generated method - Setter of theAbstractOrderEntry.productattribute.- Parameters:
value- the product
-
setProduct
public void setProduct(Product value)
Generated method - Setter of theAbstractOrderEntry.productattribute.- Parameters:
value- the product
-
getQuantity
public java.lang.Long getQuantity(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.quantityattribute.- Returns:
- the quantity
-
getQuantity
public java.lang.Long getQuantity()
Generated method - Getter of theAbstractOrderEntry.quantityattribute.- Returns:
- the quantity
-
getQuantityAsPrimitive
public long getQuantityAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.quantityattribute.- Returns:
- the quantity
-
getQuantityAsPrimitive
public long getQuantityAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.quantityattribute.- Returns:
- the quantity
-
setQuantity
public void setQuantity(SessionContext ctx, java.lang.Long value)
Generated method - Setter of theAbstractOrderEntry.quantityattribute.- Parameters:
value- the quantity
-
setQuantity
public void setQuantity(java.lang.Long value)
Generated method - Setter of theAbstractOrderEntry.quantityattribute.- Parameters:
value- the quantity
-
setQuantity
public void setQuantity(SessionContext ctx, long value)
Generated method - Setter of theAbstractOrderEntry.quantityattribute.- Parameters:
value- the quantity
-
setQuantity
public void setQuantity(long value)
Generated method - Setter of theAbstractOrderEntry.quantityattribute.- Parameters:
value- the quantity
-
isRejected
public java.lang.Boolean isRejected(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.rejectedattribute.- Returns:
- the rejected
-
isRejected
public java.lang.Boolean isRejected()
Generated method - Getter of theAbstractOrderEntry.rejectedattribute.- Returns:
- the rejected
-
isRejectedAsPrimitive
public boolean isRejectedAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.rejectedattribute.- Returns:
- the rejected
-
isRejectedAsPrimitive
public boolean isRejectedAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.rejectedattribute.- Returns:
- the rejected
-
setRejected
public void setRejected(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.rejectedattribute.- Parameters:
value- the rejected
-
setRejected
public void setRejected(java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.rejectedattribute.- Parameters:
value- the rejected
-
setRejected
public void setRejected(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractOrderEntry.rejectedattribute.- Parameters:
value- the rejected
-
setRejected
public void setRejected(boolean value)
Generated method - Setter of theAbstractOrderEntry.rejectedattribute.- Parameters:
value- the rejected
-
getTaxValuesInternal
public java.lang.String getTaxValuesInternal(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.taxValuesInternalattribute.- Returns:
- the taxValuesInternal
-
getTaxValuesInternal
public java.lang.String getTaxValuesInternal()
Generated method - Getter of theAbstractOrderEntry.taxValuesInternalattribute.- Returns:
- the taxValuesInternal
-
setTaxValuesInternal
public void setTaxValuesInternal(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.taxValuesInternalattribute.- Parameters:
value- the taxValuesInternal
-
setTaxValuesInternal
public void setTaxValuesInternal(java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.taxValuesInternalattribute.- Parameters:
value- the taxValuesInternal
-
getTotalPrice
public java.lang.Double getTotalPrice(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.totalPriceattribute.- Returns:
- the totalPrice
-
getTotalPrice
public java.lang.Double getTotalPrice()
Generated method - Getter of theAbstractOrderEntry.totalPriceattribute.- Returns:
- the totalPrice
-
getTotalPriceAsPrimitive
public double getTotalPriceAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.totalPriceattribute.- Returns:
- the totalPrice
-
getTotalPriceAsPrimitive
public double getTotalPriceAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.totalPriceattribute.- Returns:
- the totalPrice
-
setTotalPrice
public void setTotalPrice(SessionContext ctx, java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.totalPriceattribute.- Parameters:
value- the totalPrice
-
setTotalPrice
public void setTotalPrice(java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.totalPriceattribute.- Parameters:
value- the totalPrice
-
setTotalPrice
public void setTotalPrice(SessionContext ctx, double value)
Generated method - Setter of theAbstractOrderEntry.totalPriceattribute.- Parameters:
value- the totalPrice
-
setTotalPrice
public void setTotalPrice(double value)
Generated method - Setter of theAbstractOrderEntry.totalPriceattribute.- Parameters:
value- the totalPrice
-
getUnit
public Unit getUnit(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.unitattribute.- Returns:
- the unit
-
getUnit
public Unit getUnit()
Generated method - Getter of theAbstractOrderEntry.unitattribute.- Returns:
- the unit
-
setUnit
public void setUnit(SessionContext ctx, Unit value)
Generated method - Setter of theAbstractOrderEntry.unitattribute.- Parameters:
value- the unit
-
setUnit
public void setUnit(Unit value)
Generated method - Setter of theAbstractOrderEntry.unitattribute.- Parameters:
value- the unit
-
-