Class GeneratedAbstractOrderEntry

    • Field Detail

      • BASEPRICE

        public static final java.lang.String BASEPRICE
        Qualifier of the AbstractOrderEntry.basePrice attribute
        See Also:
        Constant Field Values
      • CALCULATED

        public static final java.lang.String CALCULATED
        Qualifier of the AbstractOrderEntry.calculated attribute
        See Also:
        Constant Field Values
      • DISCOUNTVALUESINTERNAL

        public static final java.lang.String DISCOUNTVALUESINTERNAL
        Qualifier of the AbstractOrderEntry.discountValuesInternal attribute
        See Also:
        Constant Field Values
      • ENTRYNUMBER

        public static final java.lang.String ENTRYNUMBER
        Qualifier of the AbstractOrderEntry.entryNumber attribute
        See Also:
        Constant Field Values
      • INFO

        public static final java.lang.String INFO
        Qualifier of the AbstractOrderEntry.info attribute
        See Also:
        Constant Field Values
      • PRODUCT

        public static final java.lang.String PRODUCT
        Qualifier of the AbstractOrderEntry.product attribute
        See Also:
        Constant Field Values
      • QUANTITY

        public static final java.lang.String QUANTITY
        Qualifier of the AbstractOrderEntry.quantity attribute
        See Also:
        Constant Field Values
      • TAXVALUESINTERNAL

        public static final java.lang.String TAXVALUESINTERNAL
        Qualifier of the AbstractOrderEntry.taxValuesInternal attribute
        See Also:
        Constant Field Values
      • TOTALPRICE

        public static final java.lang.String TOTALPRICE
        Qualifier of the AbstractOrderEntry.totalPrice attribute
        See Also:
        Constant Field Values
      • UNIT

        public static final java.lang.String UNIT
        Qualifier of the AbstractOrderEntry.unit attribute
        See Also:
        Constant Field Values
      • GIVEAWAY

        public static final java.lang.String GIVEAWAY
        Qualifier of the AbstractOrderEntry.giveAway attribute
        See Also:
        Constant Field Values
      • REJECTED

        public static final java.lang.String REJECTED
        Qualifier of the AbstractOrderEntry.rejected attribute
        See Also:
        Constant Field Values
      • ENTRYGROUPNUMBERS

        public static final java.lang.String ENTRYGROUPNUMBERS
        Qualifier of the AbstractOrderEntry.entryGroupNumbers attribute
        See Also:
        Constant Field Values
      • ORDER

        public static final java.lang.String ORDER
        Qualifier of the AbstractOrderEntry.order attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedAbstractOrderEntry

        public GeneratedAbstractOrderEntry()
    • Method Detail

      • getBasePrice

        public java.lang.Double getBasePrice​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.basePrice attribute.
        Returns:
        the basePrice
      • getBasePrice

        public java.lang.Double getBasePrice()
        Generated method - Getter of the AbstractOrderEntry.basePrice attribute.
        Returns:
        the basePrice
      • getBasePriceAsPrimitive

        public double getBasePriceAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.basePrice attribute.
        Returns:
        the basePrice
      • getBasePriceAsPrimitive

        public double getBasePriceAsPrimitive()
        Generated method - Getter of the AbstractOrderEntry.basePrice attribute.
        Returns:
        the basePrice
      • setBasePrice

        public void setBasePrice​(SessionContext ctx,
                                 java.lang.Double value)
        Generated method - Setter of the AbstractOrderEntry.basePrice attribute.
        Parameters:
        value - the basePrice
      • setBasePrice

        public void setBasePrice​(java.lang.Double value)
        Generated method - Setter of the AbstractOrderEntry.basePrice attribute.
        Parameters:
        value - the basePrice
      • setBasePrice

        public void setBasePrice​(SessionContext ctx,
                                 double value)
        Generated method - Setter of the AbstractOrderEntry.basePrice attribute.
        Parameters:
        value - the basePrice
      • setBasePrice

        public void setBasePrice​(double value)
        Generated method - Setter of the AbstractOrderEntry.basePrice attribute.
        Parameters:
        value - the basePrice
      • isCalculated

        public java.lang.Boolean isCalculated​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.calculated attribute.
        Returns:
        the calculated
      • isCalculated

        public java.lang.Boolean isCalculated()
        Generated method - Getter of the AbstractOrderEntry.calculated attribute.
        Returns:
        the calculated
      • isCalculatedAsPrimitive

        public boolean isCalculatedAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.calculated attribute.
        Returns:
        the calculated
      • isCalculatedAsPrimitive

        public boolean isCalculatedAsPrimitive()
        Generated method - Getter of the AbstractOrderEntry.calculated attribute.
        Returns:
        the calculated
      • setCalculated

        public void setCalculated​(SessionContext ctx,
                                  java.lang.Boolean value)
        Generated method - Setter of the AbstractOrderEntry.calculated attribute.
        Parameters:
        value - the calculated
      • setCalculated

        public void setCalculated​(java.lang.Boolean value)
        Generated method - Setter of the AbstractOrderEntry.calculated attribute.
        Parameters:
        value - the calculated
      • setCalculated

        public void setCalculated​(SessionContext ctx,
                                  boolean value)
        Generated method - Setter of the AbstractOrderEntry.calculated attribute.
        Parameters:
        value - the calculated
      • setCalculated

        public void setCalculated​(boolean value)
        Generated method - Setter of the AbstractOrderEntry.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. ) during ComposedType.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 class GenericItem
        Parameters:
        ctx - the current session context which this item is created within
        type - 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 the AbstractOrderEntry.discountValuesInternal attribute.
        Returns:
        the discountValuesInternal
      • getDiscountValuesInternal

        public java.lang.String getDiscountValuesInternal()
        Generated method - Getter of the AbstractOrderEntry.discountValuesInternal attribute.
        Returns:
        the discountValuesInternal
      • setDiscountValuesInternal

        public void setDiscountValuesInternal​(SessionContext ctx,
                                              java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.discountValuesInternal attribute.
        Parameters:
        value - the discountValuesInternal
      • setDiscountValuesInternal

        public void setDiscountValuesInternal​(java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.discountValuesInternal attribute.
        Parameters:
        value - the discountValuesInternal
      • getEntryGroupNumbers

        public java.util.Set<java.lang.Integer> getEntryGroupNumbers​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.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 the AbstractOrderEntry.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 the AbstractOrderEntry.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 the AbstractOrderEntry.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 the AbstractOrderEntry.entryNumber attribute.
        Returns:
        the entryNumber
      • getEntryNumber

        public java.lang.Integer getEntryNumber()
        Generated method - Getter of the AbstractOrderEntry.entryNumber attribute.
        Returns:
        the entryNumber
      • getEntryNumberAsPrimitive

        public int getEntryNumberAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.entryNumber attribute.
        Returns:
        the entryNumber
      • getEntryNumberAsPrimitive

        public int getEntryNumberAsPrimitive()
        Generated method - Getter of the AbstractOrderEntry.entryNumber attribute.
        Returns:
        the entryNumber
      • setEntryNumber

        public void setEntryNumber​(SessionContext ctx,
                                   java.lang.Integer value)
        Generated method - Setter of the AbstractOrderEntry.entryNumber attribute.
        Parameters:
        value - the entryNumber
      • setEntryNumber

        public void setEntryNumber​(java.lang.Integer value)
        Generated method - Setter of the AbstractOrderEntry.entryNumber attribute.
        Parameters:
        value - the entryNumber
      • setEntryNumber

        public void setEntryNumber​(SessionContext ctx,
                                   int value)
        Generated method - Setter of the AbstractOrderEntry.entryNumber attribute.
        Parameters:
        value - the entryNumber
      • setEntryNumber

        public void setEntryNumber​(int value)
        Generated method - Setter of the AbstractOrderEntry.entryNumber attribute.
        Parameters:
        value - the entryNumber
      • isGiveAway

        public java.lang.Boolean isGiveAway​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.giveAway attribute.
        Returns:
        the giveAway
      • isGiveAway

        public java.lang.Boolean isGiveAway()
        Generated method - Getter of the AbstractOrderEntry.giveAway attribute.
        Returns:
        the giveAway
      • isGiveAwayAsPrimitive

        public boolean isGiveAwayAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.giveAway attribute.
        Returns:
        the giveAway
      • isGiveAwayAsPrimitive

        public boolean isGiveAwayAsPrimitive()
        Generated method - Getter of the AbstractOrderEntry.giveAway attribute.
        Returns:
        the giveAway
      • setGiveAway

        public void setGiveAway​(SessionContext ctx,
                                java.lang.Boolean value)
        Generated method - Setter of the AbstractOrderEntry.giveAway attribute.
        Parameters:
        value - the giveAway
      • setGiveAway

        public void setGiveAway​(java.lang.Boolean value)
        Generated method - Setter of the AbstractOrderEntry.giveAway attribute.
        Parameters:
        value - the giveAway
      • setGiveAway

        public void setGiveAway​(SessionContext ctx,
                                boolean value)
        Generated method - Setter of the AbstractOrderEntry.giveAway attribute.
        Parameters:
        value - the giveAway
      • setGiveAway

        public void setGiveAway​(boolean value)
        Generated method - Setter of the AbstractOrderEntry.giveAway attribute.
        Parameters:
        value - the giveAway
      • getInfo

        public java.lang.String getInfo​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.info attribute.
        Returns:
        the info
      • getInfo

        public java.lang.String getInfo()
        Generated method - Getter of the AbstractOrderEntry.info attribute.
        Returns:
        the info
      • setInfo

        public void setInfo​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.info attribute.
        Parameters:
        value - the info
      • setInfo

        public void setInfo​(java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.info attribute.
        Parameters:
        value - the info
      • getOrder

        public AbstractOrder getOrder​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.order attribute.
        Returns:
        the order
      • getOrder

        public AbstractOrder getOrder()
        Generated method - Getter of the AbstractOrderEntry.order attribute.
        Returns:
        the order
      • setOrder

        public void setOrder​(SessionContext ctx,
                             AbstractOrder value)
        Generated method - Setter of the AbstractOrderEntry.order attribute.
        Parameters:
        value - the order
      • setOrder

        public void setOrder​(AbstractOrder value)
        Generated method - Setter of the AbstractOrderEntry.order attribute.
        Parameters:
        value - the order
      • getProduct

        public Product getProduct​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.product attribute.
        Returns:
        the product
      • getProduct

        public Product getProduct()
        Generated method - Getter of the AbstractOrderEntry.product attribute.
        Returns:
        the product
      • setProduct

        public void setProduct​(SessionContext ctx,
                               Product value)
        Generated method - Setter of the AbstractOrderEntry.product attribute.
        Parameters:
        value - the product
      • setProduct

        public void setProduct​(Product value)
        Generated method - Setter of the AbstractOrderEntry.product attribute.
        Parameters:
        value - the product
      • getQuantity

        public java.lang.Long getQuantity​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.quantity attribute.
        Returns:
        the quantity
      • getQuantity

        public java.lang.Long getQuantity()
        Generated method - Getter of the AbstractOrderEntry.quantity attribute.
        Returns:
        the quantity
      • getQuantityAsPrimitive

        public long getQuantityAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.quantity attribute.
        Returns:
        the quantity
      • getQuantityAsPrimitive

        public long getQuantityAsPrimitive()
        Generated method - Getter of the AbstractOrderEntry.quantity attribute.
        Returns:
        the quantity
      • setQuantity

        public void setQuantity​(SessionContext ctx,
                                java.lang.Long value)
        Generated method - Setter of the AbstractOrderEntry.quantity attribute.
        Parameters:
        value - the quantity
      • setQuantity

        public void setQuantity​(java.lang.Long value)
        Generated method - Setter of the AbstractOrderEntry.quantity attribute.
        Parameters:
        value - the quantity
      • setQuantity

        public void setQuantity​(SessionContext ctx,
                                long value)
        Generated method - Setter of the AbstractOrderEntry.quantity attribute.
        Parameters:
        value - the quantity
      • setQuantity

        public void setQuantity​(long value)
        Generated method - Setter of the AbstractOrderEntry.quantity attribute.
        Parameters:
        value - the quantity
      • isRejected

        public java.lang.Boolean isRejected​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.rejected attribute.
        Returns:
        the rejected
      • isRejected

        public java.lang.Boolean isRejected()
        Generated method - Getter of the AbstractOrderEntry.rejected attribute.
        Returns:
        the rejected
      • isRejectedAsPrimitive

        public boolean isRejectedAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.rejected attribute.
        Returns:
        the rejected
      • isRejectedAsPrimitive

        public boolean isRejectedAsPrimitive()
        Generated method - Getter of the AbstractOrderEntry.rejected attribute.
        Returns:
        the rejected
      • setRejected

        public void setRejected​(SessionContext ctx,
                                java.lang.Boolean value)
        Generated method - Setter of the AbstractOrderEntry.rejected attribute.
        Parameters:
        value - the rejected
      • setRejected

        public void setRejected​(java.lang.Boolean value)
        Generated method - Setter of the AbstractOrderEntry.rejected attribute.
        Parameters:
        value - the rejected
      • setRejected

        public void setRejected​(SessionContext ctx,
                                boolean value)
        Generated method - Setter of the AbstractOrderEntry.rejected attribute.
        Parameters:
        value - the rejected
      • setRejected

        public void setRejected​(boolean value)
        Generated method - Setter of the AbstractOrderEntry.rejected attribute.
        Parameters:
        value - the rejected
      • getTaxValuesInternal

        public java.lang.String getTaxValuesInternal​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.taxValuesInternal attribute.
        Returns:
        the taxValuesInternal
      • getTaxValuesInternal

        public java.lang.String getTaxValuesInternal()
        Generated method - Getter of the AbstractOrderEntry.taxValuesInternal attribute.
        Returns:
        the taxValuesInternal
      • setTaxValuesInternal

        public void setTaxValuesInternal​(SessionContext ctx,
                                         java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.taxValuesInternal attribute.
        Parameters:
        value - the taxValuesInternal
      • setTaxValuesInternal

        public void setTaxValuesInternal​(java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.taxValuesInternal attribute.
        Parameters:
        value - the taxValuesInternal
      • getTotalPrice

        public java.lang.Double getTotalPrice​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.totalPrice attribute.
        Returns:
        the totalPrice
      • getTotalPrice

        public java.lang.Double getTotalPrice()
        Generated method - Getter of the AbstractOrderEntry.totalPrice attribute.
        Returns:
        the totalPrice
      • getTotalPriceAsPrimitive

        public double getTotalPriceAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.totalPrice attribute.
        Returns:
        the totalPrice
      • getTotalPriceAsPrimitive

        public double getTotalPriceAsPrimitive()
        Generated method - Getter of the AbstractOrderEntry.totalPrice attribute.
        Returns:
        the totalPrice
      • setTotalPrice

        public void setTotalPrice​(SessionContext ctx,
                                  java.lang.Double value)
        Generated method - Setter of the AbstractOrderEntry.totalPrice attribute.
        Parameters:
        value - the totalPrice
      • setTotalPrice

        public void setTotalPrice​(java.lang.Double value)
        Generated method - Setter of the AbstractOrderEntry.totalPrice attribute.
        Parameters:
        value - the totalPrice
      • setTotalPrice

        public void setTotalPrice​(SessionContext ctx,
                                  double value)
        Generated method - Setter of the AbstractOrderEntry.totalPrice attribute.
        Parameters:
        value - the totalPrice
      • setTotalPrice

        public void setTotalPrice​(double value)
        Generated method - Setter of the AbstractOrderEntry.totalPrice attribute.
        Parameters:
        value - the totalPrice
      • getUnit

        public Unit getUnit​(SessionContext ctx)
        Generated method - Getter of the AbstractOrderEntry.unit attribute.
        Returns:
        the unit
      • getUnit

        public Unit getUnit()
        Generated method - Getter of the AbstractOrderEntry.unit attribute.
        Returns:
        the unit
      • setUnit

        public void setUnit​(SessionContext ctx,
                            Unit value)
        Generated method - Setter of the AbstractOrderEntry.unit attribute.
        Parameters:
        value - the unit
      • setUnit

        public void setUnit​(Unit value)
        Generated method - Setter of the AbstractOrderEntry.unit attribute.
        Parameters:
        value - the unit