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.String
BASEPRICE
Qualifier of theAbstractOrderEntry.basePrice
attributestatic java.lang.String
CALCULATED
Qualifier of theAbstractOrderEntry.calculated
attributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
static java.lang.String
DISCOUNTVALUESINTERNAL
Qualifier of theAbstractOrderEntry.discountValuesInternal
attributestatic java.lang.String
ENTRYGROUPNUMBERS
Qualifier of theAbstractOrderEntry.entryGroupNumbers
attributestatic java.lang.String
ENTRYNUMBER
Qualifier of theAbstractOrderEntry.entryNumber
attributestatic java.lang.String
GIVEAWAY
Qualifier of theAbstractOrderEntry.giveAway
attributestatic java.lang.String
INFO
Qualifier of theAbstractOrderEntry.info
attributestatic java.lang.String
ORDER
Qualifier of theAbstractOrderEntry.order
attributeprotected static BidirectionalOneToManyHandler<GeneratedAbstractOrderEntry>
ORDERHANDLER
BidirectionalOneToManyHandler
for handling 1:n ORDER's relation attributes from 'one' side.static java.lang.String
PRODUCT
Qualifier of theAbstractOrderEntry.product
attributestatic java.lang.String
QUANTITY
Qualifier of theAbstractOrderEntry.quantity
attributestatic java.lang.String
REJECTED
Qualifier of theAbstractOrderEntry.rejected
attributestatic java.lang.String
TAXVALUESINTERNAL
Qualifier of theAbstractOrderEntry.taxValuesInternal
attributestatic java.lang.String
TOTALPRICE
Qualifier of theAbstractOrderEntry.totalPrice
attributestatic java.lang.String
UNIT
Qualifier of theAbstractOrderEntry.unit
attribute-
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 Item
createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.java.lang.Double
getBasePrice()
Generated method - Getter of theAbstractOrderEntry.basePrice
attribute.java.lang.Double
getBasePrice(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.basePrice
attribute.double
getBasePriceAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.basePrice
attribute.double
getBasePriceAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.basePrice
attribute.protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
java.lang.String
getDiscountValuesInternal()
Generated method - Getter of theAbstractOrderEntry.discountValuesInternal
attribute.java.lang.String
getDiscountValuesInternal(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.discountValuesInternal
attribute.java.util.Set<java.lang.Integer>
getEntryGroupNumbers()
Generated method - Getter of theAbstractOrderEntry.entryGroupNumbers
attribute.java.util.Set<java.lang.Integer>
getEntryGroupNumbers(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.entryGroupNumbers
attribute.java.lang.Integer
getEntryNumber()
Generated method - Getter of theAbstractOrderEntry.entryNumber
attribute.java.lang.Integer
getEntryNumber(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.entryNumber
attribute.int
getEntryNumberAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.entryNumber
attribute.int
getEntryNumberAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.entryNumber
attribute.java.lang.String
getInfo()
Generated method - Getter of theAbstractOrderEntry.info
attribute.java.lang.String
getInfo(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.info
attribute.AbstractOrder
getOrder()
Generated method - Getter of theAbstractOrderEntry.order
attribute.AbstractOrder
getOrder(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.order
attribute.Product
getProduct()
Generated method - Getter of theAbstractOrderEntry.product
attribute.Product
getProduct(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.product
attribute.java.lang.Long
getQuantity()
Generated method - Getter of theAbstractOrderEntry.quantity
attribute.java.lang.Long
getQuantity(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.quantity
attribute.long
getQuantityAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.quantity
attribute.long
getQuantityAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.quantity
attribute.java.lang.String
getTaxValuesInternal()
Generated method - Getter of theAbstractOrderEntry.taxValuesInternal
attribute.java.lang.String
getTaxValuesInternal(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.taxValuesInternal
attribute.java.lang.Double
getTotalPrice()
Generated method - Getter of theAbstractOrderEntry.totalPrice
attribute.java.lang.Double
getTotalPrice(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.totalPrice
attribute.double
getTotalPriceAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.totalPrice
attribute.double
getTotalPriceAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.totalPrice
attribute.Unit
getUnit()
Generated method - Getter of theAbstractOrderEntry.unit
attribute.Unit
getUnit(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.unit
attribute.java.lang.Boolean
isCalculated()
Generated method - Getter of theAbstractOrderEntry.calculated
attribute.java.lang.Boolean
isCalculated(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.calculated
attribute.boolean
isCalculatedAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.calculated
attribute.boolean
isCalculatedAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.calculated
attribute.java.lang.Boolean
isGiveAway()
Generated method - Getter of theAbstractOrderEntry.giveAway
attribute.java.lang.Boolean
isGiveAway(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.giveAway
attribute.boolean
isGiveAwayAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.giveAway
attribute.boolean
isGiveAwayAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.giveAway
attribute.java.lang.Boolean
isRejected()
Generated method - Getter of theAbstractOrderEntry.rejected
attribute.java.lang.Boolean
isRejected(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.rejected
attribute.boolean
isRejectedAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.rejected
attribute.boolean
isRejectedAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.rejected
attribute.void
setBasePrice(double value)
Generated method - Setter of theAbstractOrderEntry.basePrice
attribute.void
setBasePrice(SessionContext ctx, double value)
Generated method - Setter of theAbstractOrderEntry.basePrice
attribute.void
setBasePrice(SessionContext ctx, java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.basePrice
attribute.void
setBasePrice(java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.basePrice
attribute.void
setCalculated(boolean value)
Generated method - Setter of theAbstractOrderEntry.calculated
attribute.void
setCalculated(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractOrderEntry.calculated
attribute.void
setCalculated(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.calculated
attribute.void
setCalculated(java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.calculated
attribute.void
setDiscountValuesInternal(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.discountValuesInternal
attribute.void
setDiscountValuesInternal(java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.discountValuesInternal
attribute.void
setEntryGroupNumbers(SessionContext ctx, java.util.Set<java.lang.Integer> value)
Generated method - Setter of theAbstractOrderEntry.entryGroupNumbers
attribute.void
setEntryGroupNumbers(java.util.Set<java.lang.Integer> value)
Generated method - Setter of theAbstractOrderEntry.entryGroupNumbers
attribute.void
setEntryNumber(int value)
Generated method - Setter of theAbstractOrderEntry.entryNumber
attribute.void
setEntryNumber(SessionContext ctx, int value)
Generated method - Setter of theAbstractOrderEntry.entryNumber
attribute.void
setEntryNumber(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theAbstractOrderEntry.entryNumber
attribute.void
setEntryNumber(java.lang.Integer value)
Generated method - Setter of theAbstractOrderEntry.entryNumber
attribute.void
setGiveAway(boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAway
attribute.void
setGiveAway(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAway
attribute.void
setGiveAway(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAway
attribute.void
setGiveAway(java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAway
attribute.void
setInfo(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.info
attribute.void
setInfo(java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.info
attribute.void
setOrder(AbstractOrder value)
Generated method - Setter of theAbstractOrderEntry.order
attribute.void
setOrder(SessionContext ctx, AbstractOrder value)
Generated method - Setter of theAbstractOrderEntry.order
attribute.void
setProduct(Product value)
Generated method - Setter of theAbstractOrderEntry.product
attribute.void
setProduct(SessionContext ctx, Product value)
Generated method - Setter of theAbstractOrderEntry.product
attribute.void
setQuantity(long value)
Generated method - Setter of theAbstractOrderEntry.quantity
attribute.void
setQuantity(SessionContext ctx, long value)
Generated method - Setter of theAbstractOrderEntry.quantity
attribute.void
setQuantity(SessionContext ctx, java.lang.Long value)
Generated method - Setter of theAbstractOrderEntry.quantity
attribute.void
setQuantity(java.lang.Long value)
Generated method - Setter of theAbstractOrderEntry.quantity
attribute.void
setRejected(boolean value)
Generated method - Setter of theAbstractOrderEntry.rejected
attribute.void
setRejected(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractOrderEntry.rejected
attribute.void
setRejected(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.rejected
attribute.void
setRejected(java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.rejected
attribute.void
setTaxValuesInternal(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.taxValuesInternal
attribute.void
setTaxValuesInternal(java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.taxValuesInternal
attribute.void
setTotalPrice(double value)
Generated method - Setter of theAbstractOrderEntry.totalPrice
attribute.void
setTotalPrice(SessionContext ctx, double value)
Generated method - Setter of theAbstractOrderEntry.totalPrice
attribute.void
setTotalPrice(SessionContext ctx, java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.totalPrice
attribute.void
setTotalPrice(java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.totalPrice
attribute.void
setUnit(Unit value)
Generated method - Setter of theAbstractOrderEntry.unit
attribute.void
setUnit(SessionContext ctx, Unit value)
Generated method - Setter of theAbstractOrderEntry.unit
attribute.-
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.basePrice
attribute- See Also:
- Constant Field Values
-
CALCULATED
public static final java.lang.String CALCULATED
Qualifier of theAbstractOrderEntry.calculated
attribute- See Also:
- Constant Field Values
-
DISCOUNTVALUESINTERNAL
public static final java.lang.String DISCOUNTVALUESINTERNAL
Qualifier of theAbstractOrderEntry.discountValuesInternal
attribute- See Also:
- Constant Field Values
-
ENTRYNUMBER
public static final java.lang.String ENTRYNUMBER
Qualifier of theAbstractOrderEntry.entryNumber
attribute- See Also:
- Constant Field Values
-
INFO
public static final java.lang.String INFO
Qualifier of theAbstractOrderEntry.info
attribute- See Also:
- Constant Field Values
-
PRODUCT
public static final java.lang.String PRODUCT
Qualifier of theAbstractOrderEntry.product
attribute- See Also:
- Constant Field Values
-
QUANTITY
public static final java.lang.String QUANTITY
Qualifier of theAbstractOrderEntry.quantity
attribute- See Also:
- Constant Field Values
-
TAXVALUESINTERNAL
public static final java.lang.String TAXVALUESINTERNAL
Qualifier of theAbstractOrderEntry.taxValuesInternal
attribute- See Also:
- Constant Field Values
-
TOTALPRICE
public static final java.lang.String TOTALPRICE
Qualifier of theAbstractOrderEntry.totalPrice
attribute- See Also:
- Constant Field Values
-
UNIT
public static final java.lang.String UNIT
Qualifier of theAbstractOrderEntry.unit
attribute- See Also:
- Constant Field Values
-
GIVEAWAY
public static final java.lang.String GIVEAWAY
Qualifier of theAbstractOrderEntry.giveAway
attribute- See Also:
- Constant Field Values
-
REJECTED
public static final java.lang.String REJECTED
Qualifier of theAbstractOrderEntry.rejected
attribute- See Also:
- Constant Field Values
-
ENTRYGROUPNUMBERS
public static final java.lang.String ENTRYGROUPNUMBERS
Qualifier of theAbstractOrderEntry.entryGroupNumbers
attribute- See Also:
- Constant Field Values
-
ORDER
public static final java.lang.String ORDER
Qualifier of theAbstractOrderEntry.order
attribute- See Also:
- Constant Field Values
-
ORDERHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedAbstractOrderEntry> ORDERHANDLER
BidirectionalOneToManyHandler
for 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:
getDefaultAttributeModes
in classItem
-
getBasePrice
public java.lang.Double getBasePrice(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.basePrice
attribute.- Returns:
- the basePrice
-
getBasePrice
public java.lang.Double getBasePrice()
Generated method - Getter of theAbstractOrderEntry.basePrice
attribute.- Returns:
- the basePrice
-
getBasePriceAsPrimitive
public double getBasePriceAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.basePrice
attribute.- Returns:
- the basePrice
-
getBasePriceAsPrimitive
public double getBasePriceAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.basePrice
attribute.- Returns:
- the basePrice
-
setBasePrice
public void setBasePrice(SessionContext ctx, java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.basePrice
attribute.- Parameters:
value
- the basePrice
-
setBasePrice
public void setBasePrice(java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.basePrice
attribute.- Parameters:
value
- the basePrice
-
setBasePrice
public void setBasePrice(SessionContext ctx, double value)
Generated method - Setter of theAbstractOrderEntry.basePrice
attribute.- Parameters:
value
- the basePrice
-
setBasePrice
public void setBasePrice(double value)
Generated method - Setter of theAbstractOrderEntry.basePrice
attribute.- Parameters:
value
- the basePrice
-
isCalculated
public java.lang.Boolean isCalculated(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.calculated
attribute.- Returns:
- the calculated
-
isCalculated
public java.lang.Boolean isCalculated()
Generated method - Getter of theAbstractOrderEntry.calculated
attribute.- Returns:
- the calculated
-
isCalculatedAsPrimitive
public boolean isCalculatedAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.calculated
attribute.- Returns:
- the calculated
-
isCalculatedAsPrimitive
public boolean isCalculatedAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.calculated
attribute.- Returns:
- the calculated
-
setCalculated
public void setCalculated(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.calculated
attribute.- Parameters:
value
- the calculated
-
setCalculated
public void setCalculated(java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.calculated
attribute.- Parameters:
value
- the calculated
-
setCalculated
public void setCalculated(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractOrderEntry.calculated
attribute.- Parameters:
value
- the calculated
-
setCalculated
public void setCalculated(boolean value)
Generated method - Setter of theAbstractOrderEntry.calculated
attribute.- Parameters:
value
- the calculated
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:Item
Has 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:
createItem
in 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.discountValuesInternal
attribute.- Returns:
- the discountValuesInternal
-
getDiscountValuesInternal
public java.lang.String getDiscountValuesInternal()
Generated method - Getter of theAbstractOrderEntry.discountValuesInternal
attribute.- Returns:
- the discountValuesInternal
-
setDiscountValuesInternal
public void setDiscountValuesInternal(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.discountValuesInternal
attribute.- Parameters:
value
- the discountValuesInternal
-
setDiscountValuesInternal
public void setDiscountValuesInternal(java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.discountValuesInternal
attribute.- Parameters:
value
- the discountValuesInternal
-
getEntryGroupNumbers
public java.util.Set<java.lang.Integer> getEntryGroupNumbers(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.entryGroupNumbers
attribute.- 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.entryGroupNumbers
attribute.- 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.entryGroupNumbers
attribute.- 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.entryGroupNumbers
attribute.- 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.entryNumber
attribute.- Returns:
- the entryNumber
-
getEntryNumber
public java.lang.Integer getEntryNumber()
Generated method - Getter of theAbstractOrderEntry.entryNumber
attribute.- Returns:
- the entryNumber
-
getEntryNumberAsPrimitive
public int getEntryNumberAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.entryNumber
attribute.- Returns:
- the entryNumber
-
getEntryNumberAsPrimitive
public int getEntryNumberAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.entryNumber
attribute.- Returns:
- the entryNumber
-
setEntryNumber
public void setEntryNumber(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theAbstractOrderEntry.entryNumber
attribute.- Parameters:
value
- the entryNumber
-
setEntryNumber
public void setEntryNumber(java.lang.Integer value)
Generated method - Setter of theAbstractOrderEntry.entryNumber
attribute.- Parameters:
value
- the entryNumber
-
setEntryNumber
public void setEntryNumber(SessionContext ctx, int value)
Generated method - Setter of theAbstractOrderEntry.entryNumber
attribute.- Parameters:
value
- the entryNumber
-
setEntryNumber
public void setEntryNumber(int value)
Generated method - Setter of theAbstractOrderEntry.entryNumber
attribute.- Parameters:
value
- the entryNumber
-
isGiveAway
public java.lang.Boolean isGiveAway(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.giveAway
attribute.- Returns:
- the giveAway
-
isGiveAway
public java.lang.Boolean isGiveAway()
Generated method - Getter of theAbstractOrderEntry.giveAway
attribute.- Returns:
- the giveAway
-
isGiveAwayAsPrimitive
public boolean isGiveAwayAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.giveAway
attribute.- Returns:
- the giveAway
-
isGiveAwayAsPrimitive
public boolean isGiveAwayAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.giveAway
attribute.- Returns:
- the giveAway
-
setGiveAway
public void setGiveAway(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAway
attribute.- Parameters:
value
- the giveAway
-
setGiveAway
public void setGiveAway(java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAway
attribute.- Parameters:
value
- the giveAway
-
setGiveAway
public void setGiveAway(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAway
attribute.- Parameters:
value
- the giveAway
-
setGiveAway
public void setGiveAway(boolean value)
Generated method - Setter of theAbstractOrderEntry.giveAway
attribute.- Parameters:
value
- the giveAway
-
getInfo
public java.lang.String getInfo(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.info
attribute.- Returns:
- the info
-
getInfo
public java.lang.String getInfo()
Generated method - Getter of theAbstractOrderEntry.info
attribute.- Returns:
- the info
-
setInfo
public void setInfo(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.info
attribute.- Parameters:
value
- the info
-
setInfo
public void setInfo(java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.info
attribute.- Parameters:
value
- the info
-
getOrder
public AbstractOrder getOrder(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.order
attribute.- Returns:
- the order
-
getOrder
public AbstractOrder getOrder()
Generated method - Getter of theAbstractOrderEntry.order
attribute.- Returns:
- the order
-
setOrder
public void setOrder(SessionContext ctx, AbstractOrder value)
Generated method - Setter of theAbstractOrderEntry.order
attribute.- Parameters:
value
- the order
-
setOrder
public void setOrder(AbstractOrder value)
Generated method - Setter of theAbstractOrderEntry.order
attribute.- Parameters:
value
- the order
-
getProduct
public Product getProduct(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.product
attribute.- Returns:
- the product
-
getProduct
public Product getProduct()
Generated method - Getter of theAbstractOrderEntry.product
attribute.- Returns:
- the product
-
setProduct
public void setProduct(SessionContext ctx, Product value)
Generated method - Setter of theAbstractOrderEntry.product
attribute.- Parameters:
value
- the product
-
setProduct
public void setProduct(Product value)
Generated method - Setter of theAbstractOrderEntry.product
attribute.- Parameters:
value
- the product
-
getQuantity
public java.lang.Long getQuantity(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.quantity
attribute.- Returns:
- the quantity
-
getQuantity
public java.lang.Long getQuantity()
Generated method - Getter of theAbstractOrderEntry.quantity
attribute.- Returns:
- the quantity
-
getQuantityAsPrimitive
public long getQuantityAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.quantity
attribute.- Returns:
- the quantity
-
getQuantityAsPrimitive
public long getQuantityAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.quantity
attribute.- Returns:
- the quantity
-
setQuantity
public void setQuantity(SessionContext ctx, java.lang.Long value)
Generated method - Setter of theAbstractOrderEntry.quantity
attribute.- Parameters:
value
- the quantity
-
setQuantity
public void setQuantity(java.lang.Long value)
Generated method - Setter of theAbstractOrderEntry.quantity
attribute.- Parameters:
value
- the quantity
-
setQuantity
public void setQuantity(SessionContext ctx, long value)
Generated method - Setter of theAbstractOrderEntry.quantity
attribute.- Parameters:
value
- the quantity
-
setQuantity
public void setQuantity(long value)
Generated method - Setter of theAbstractOrderEntry.quantity
attribute.- Parameters:
value
- the quantity
-
isRejected
public java.lang.Boolean isRejected(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.rejected
attribute.- Returns:
- the rejected
-
isRejected
public java.lang.Boolean isRejected()
Generated method - Getter of theAbstractOrderEntry.rejected
attribute.- Returns:
- the rejected
-
isRejectedAsPrimitive
public boolean isRejectedAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.rejected
attribute.- Returns:
- the rejected
-
isRejectedAsPrimitive
public boolean isRejectedAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.rejected
attribute.- Returns:
- the rejected
-
setRejected
public void setRejected(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.rejected
attribute.- Parameters:
value
- the rejected
-
setRejected
public void setRejected(java.lang.Boolean value)
Generated method - Setter of theAbstractOrderEntry.rejected
attribute.- Parameters:
value
- the rejected
-
setRejected
public void setRejected(SessionContext ctx, boolean value)
Generated method - Setter of theAbstractOrderEntry.rejected
attribute.- Parameters:
value
- the rejected
-
setRejected
public void setRejected(boolean value)
Generated method - Setter of theAbstractOrderEntry.rejected
attribute.- Parameters:
value
- the rejected
-
getTaxValuesInternal
public java.lang.String getTaxValuesInternal(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.taxValuesInternal
attribute.- Returns:
- the taxValuesInternal
-
getTaxValuesInternal
public java.lang.String getTaxValuesInternal()
Generated method - Getter of theAbstractOrderEntry.taxValuesInternal
attribute.- Returns:
- the taxValuesInternal
-
setTaxValuesInternal
public void setTaxValuesInternal(SessionContext ctx, java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.taxValuesInternal
attribute.- Parameters:
value
- the taxValuesInternal
-
setTaxValuesInternal
public void setTaxValuesInternal(java.lang.String value)
Generated method - Setter of theAbstractOrderEntry.taxValuesInternal
attribute.- Parameters:
value
- the taxValuesInternal
-
getTotalPrice
public java.lang.Double getTotalPrice(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.totalPrice
attribute.- Returns:
- the totalPrice
-
getTotalPrice
public java.lang.Double getTotalPrice()
Generated method - Getter of theAbstractOrderEntry.totalPrice
attribute.- Returns:
- the totalPrice
-
getTotalPriceAsPrimitive
public double getTotalPriceAsPrimitive(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.totalPrice
attribute.- Returns:
- the totalPrice
-
getTotalPriceAsPrimitive
public double getTotalPriceAsPrimitive()
Generated method - Getter of theAbstractOrderEntry.totalPrice
attribute.- Returns:
- the totalPrice
-
setTotalPrice
public void setTotalPrice(SessionContext ctx, java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.totalPrice
attribute.- Parameters:
value
- the totalPrice
-
setTotalPrice
public void setTotalPrice(java.lang.Double value)
Generated method - Setter of theAbstractOrderEntry.totalPrice
attribute.- Parameters:
value
- the totalPrice
-
setTotalPrice
public void setTotalPrice(SessionContext ctx, double value)
Generated method - Setter of theAbstractOrderEntry.totalPrice
attribute.- Parameters:
value
- the totalPrice
-
setTotalPrice
public void setTotalPrice(double value)
Generated method - Setter of theAbstractOrderEntry.totalPrice
attribute.- Parameters:
value
- the totalPrice
-
getUnit
public Unit getUnit(SessionContext ctx)
Generated method - Getter of theAbstractOrderEntry.unit
attribute.- Returns:
- the unit
-
getUnit
public Unit getUnit()
Generated method - Getter of theAbstractOrderEntry.unit
attribute.- Returns:
- the unit
-
setUnit
public void setUnit(SessionContext ctx, Unit value)
Generated method - Setter of theAbstractOrderEntry.unit
attribute.- Parameters:
value
- the unit
-
setUnit
public void setUnit(Unit value)
Generated method - Setter of theAbstractOrderEntry.unit
attribute.- Parameters:
value
- the unit
-
-