Class GeneratedPriceRow

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Direct Known Subclasses:
    PriceRow

    public abstract class GeneratedPriceRow
    extends PDTRow
    Generated class for type PriceRow.
    See Also:
    Serialized Form
    • Field Detail

      • CATALOGVERSION

        public static final java.lang.String CATALOGVERSION
        Qualifier of the PriceRow.catalogVersion attribute
        See Also:
        Constant Field Values
      • MATCHVALUE

        public static final java.lang.String MATCHVALUE
        Qualifier of the PriceRow.matchValue attribute
        See Also:
        Constant Field Values
      • CURRENCY

        public static final java.lang.String CURRENCY
        Qualifier of the PriceRow.currency attribute
        See Also:
        Constant Field Values
      • MINQTD

        public static final java.lang.String MINQTD
        Qualifier of the PriceRow.minqtd attribute
        See Also:
        Constant Field Values
      • NET

        public static final java.lang.String NET
        Qualifier of the PriceRow.net attribute
        See Also:
        Constant Field Values
      • PRICE

        public static final java.lang.String PRICE
        Qualifier of the PriceRow.price attribute
        See Also:
        Constant Field Values
      • UNIT

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

        public static final java.lang.String UNITFACTOR
        Qualifier of the PriceRow.unitFactor attribute
        See Also:
        Constant Field Values
      • GIVEAWAYPRICE

        public static final java.lang.String GIVEAWAYPRICE
        Qualifier of the PriceRow.giveAwayPrice attribute
        See Also:
        Constant Field Values
      • CHANNEL

        public static final java.lang.String CHANNEL
        Qualifier of the PriceRow.channel 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

      • GeneratedPriceRow

        public GeneratedPriceRow()
    • Method Detail

      • getCatalogVersion

        public CatalogVersion getCatalogVersion​(SessionContext ctx)
        Generated method - Getter of the PriceRow.catalogVersion attribute.
        Returns:
        the catalogVersion
      • getCatalogVersion

        public CatalogVersion getCatalogVersion()
        Generated method - Getter of the PriceRow.catalogVersion attribute.
        Returns:
        the catalogVersion
      • setCatalogVersion

        public void setCatalogVersion​(SessionContext ctx,
                                      CatalogVersion value)
        Generated method - Setter of the PriceRow.catalogVersion attribute.
        Parameters:
        value - the catalogVersion
      • setCatalogVersion

        public void setCatalogVersion​(CatalogVersion value)
        Generated method - Setter of the PriceRow.catalogVersion attribute.
        Parameters:
        value - the catalogVersion
      • getChannel

        public EnumerationValue getChannel​(SessionContext ctx)
        Generated method - Getter of the PriceRow.channel attribute.
        Returns:
        the channel
      • getChannel

        public EnumerationValue getChannel()
        Generated method - Getter of the PriceRow.channel attribute.
        Returns:
        the channel
      • setChannel

        public void setChannel​(SessionContext ctx,
                               EnumerationValue value)
        Generated method - Setter of the PriceRow.channel attribute.
        Parameters:
        value - the channel
      • setChannel

        public void setChannel​(EnumerationValue value)
        Generated method - Setter of the PriceRow.channel attribute.
        Parameters:
        value - the channel
      • 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 PDTRow
        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
      • getCurrency

        public Currency getCurrency​(SessionContext ctx)
        Generated method - Getter of the PriceRow.currency attribute.
        Returns:
        the currency
      • getCurrency

        public Currency getCurrency()
        Generated method - Getter of the PriceRow.currency attribute.
        Returns:
        the currency
      • setCurrency

        public void setCurrency​(SessionContext ctx,
                                Currency value)
        Generated method - Setter of the PriceRow.currency attribute.
        Parameters:
        value - the currency
      • setCurrency

        public void setCurrency​(Currency value)
        Generated method - Setter of the PriceRow.currency attribute.
        Parameters:
        value - the currency
      • isGiveAwayPrice

        public java.lang.Boolean isGiveAwayPrice​(SessionContext ctx)
        Generated method - Getter of the PriceRow.giveAwayPrice attribute.
        Returns:
        the giveAwayPrice
      • isGiveAwayPrice

        public java.lang.Boolean isGiveAwayPrice()
        Generated method - Getter of the PriceRow.giveAwayPrice attribute.
        Returns:
        the giveAwayPrice
      • isGiveAwayPriceAsPrimitive

        public boolean isGiveAwayPriceAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the PriceRow.giveAwayPrice attribute.
        Returns:
        the giveAwayPrice
      • isGiveAwayPriceAsPrimitive

        public boolean isGiveAwayPriceAsPrimitive()
        Generated method - Getter of the PriceRow.giveAwayPrice attribute.
        Returns:
        the giveAwayPrice
      • setGiveAwayPrice

        public void setGiveAwayPrice​(SessionContext ctx,
                                     java.lang.Boolean value)
        Generated method - Setter of the PriceRow.giveAwayPrice attribute.
        Parameters:
        value - the giveAwayPrice
      • setGiveAwayPrice

        public void setGiveAwayPrice​(java.lang.Boolean value)
        Generated method - Setter of the PriceRow.giveAwayPrice attribute.
        Parameters:
        value - the giveAwayPrice
      • setGiveAwayPrice

        public void setGiveAwayPrice​(SessionContext ctx,
                                     boolean value)
        Generated method - Setter of the PriceRow.giveAwayPrice attribute.
        Parameters:
        value - the giveAwayPrice
      • setGiveAwayPrice

        public void setGiveAwayPrice​(boolean value)
        Generated method - Setter of the PriceRow.giveAwayPrice attribute.
        Parameters:
        value - the giveAwayPrice
      • getMatchValue

        public java.lang.Integer getMatchValue​(SessionContext ctx)
        Generated method - Getter of the PriceRow.matchValue attribute.
        Returns:
        the matchValue
      • getMatchValue

        public java.lang.Integer getMatchValue()
        Generated method - Getter of the PriceRow.matchValue attribute.
        Returns:
        the matchValue
      • getMatchValueAsPrimitive

        public int getMatchValueAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the PriceRow.matchValue attribute.
        Returns:
        the matchValue
      • getMatchValueAsPrimitive

        public int getMatchValueAsPrimitive()
        Generated method - Getter of the PriceRow.matchValue attribute.
        Returns:
        the matchValue
      • setMatchValue

        public void setMatchValue​(SessionContext ctx,
                                  java.lang.Integer value)
        Generated method - Setter of the PriceRow.matchValue attribute.
        Parameters:
        value - the matchValue
      • setMatchValue

        public void setMatchValue​(java.lang.Integer value)
        Generated method - Setter of the PriceRow.matchValue attribute.
        Parameters:
        value - the matchValue
      • setMatchValue

        public void setMatchValue​(SessionContext ctx,
                                  int value)
        Generated method - Setter of the PriceRow.matchValue attribute.
        Parameters:
        value - the matchValue
      • setMatchValue

        public void setMatchValue​(int value)
        Generated method - Setter of the PriceRow.matchValue attribute.
        Parameters:
        value - the matchValue
      • getMinqtd

        public java.lang.Long getMinqtd​(SessionContext ctx)
        Generated method - Getter of the PriceRow.minqtd attribute.
        Returns:
        the minqtd
      • getMinqtd

        public java.lang.Long getMinqtd()
        Generated method - Getter of the PriceRow.minqtd attribute.
        Returns:
        the minqtd
      • getMinqtdAsPrimitive

        public long getMinqtdAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the PriceRow.minqtd attribute.
        Returns:
        the minqtd
      • getMinqtdAsPrimitive

        public long getMinqtdAsPrimitive()
        Generated method - Getter of the PriceRow.minqtd attribute.
        Returns:
        the minqtd
      • setMinqtd

        public void setMinqtd​(SessionContext ctx,
                              java.lang.Long value)
        Generated method - Setter of the PriceRow.minqtd attribute.
        Parameters:
        value - the minqtd
      • setMinqtd

        public void setMinqtd​(java.lang.Long value)
        Generated method - Setter of the PriceRow.minqtd attribute.
        Parameters:
        value - the minqtd
      • setMinqtd

        public void setMinqtd​(SessionContext ctx,
                              long value)
        Generated method - Setter of the PriceRow.minqtd attribute.
        Parameters:
        value - the minqtd
      • setMinqtd

        public void setMinqtd​(long value)
        Generated method - Setter of the PriceRow.minqtd attribute.
        Parameters:
        value - the minqtd
      • isNet

        public java.lang.Boolean isNet​(SessionContext ctx)
        Generated method - Getter of the PriceRow.net attribute.
        Returns:
        the net
      • isNet

        public java.lang.Boolean isNet()
        Generated method - Getter of the PriceRow.net attribute.
        Returns:
        the net
      • isNetAsPrimitive

        public boolean isNetAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the PriceRow.net attribute.
        Returns:
        the net
      • isNetAsPrimitive

        public boolean isNetAsPrimitive()
        Generated method - Getter of the PriceRow.net attribute.
        Returns:
        the net
      • setNet

        public void setNet​(SessionContext ctx,
                           java.lang.Boolean value)
        Generated method - Setter of the PriceRow.net attribute.
        Parameters:
        value - the net
      • setNet

        public void setNet​(java.lang.Boolean value)
        Generated method - Setter of the PriceRow.net attribute.
        Parameters:
        value - the net
      • setNet

        public void setNet​(SessionContext ctx,
                           boolean value)
        Generated method - Setter of the PriceRow.net attribute.
        Parameters:
        value - the net
      • setNet

        public void setNet​(boolean value)
        Generated method - Setter of the PriceRow.net attribute.
        Parameters:
        value - the net
      • getPrice

        public java.lang.Double getPrice​(SessionContext ctx)
        Generated method - Getter of the PriceRow.price attribute.
        Returns:
        the price
      • getPrice

        public java.lang.Double getPrice()
        Generated method - Getter of the PriceRow.price attribute.
        Returns:
        the price
      • getPriceAsPrimitive

        public double getPriceAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the PriceRow.price attribute.
        Returns:
        the price
      • getPriceAsPrimitive

        public double getPriceAsPrimitive()
        Generated method - Getter of the PriceRow.price attribute.
        Returns:
        the price
      • setPrice

        public void setPrice​(SessionContext ctx,
                             java.lang.Double value)
        Generated method - Setter of the PriceRow.price attribute.
        Parameters:
        value - the price
      • setPrice

        public void setPrice​(java.lang.Double value)
        Generated method - Setter of the PriceRow.price attribute.
        Parameters:
        value - the price
      • setPrice

        public void setPrice​(SessionContext ctx,
                             double value)
        Generated method - Setter of the PriceRow.price attribute.
        Parameters:
        value - the price
      • setPrice

        public void setPrice​(double value)
        Generated method - Setter of the PriceRow.price attribute.
        Parameters:
        value - the price
      • getUnit

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

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

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

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

        public java.lang.Integer getUnitFactor​(SessionContext ctx)
        Generated method - Getter of the PriceRow.unitFactor attribute.
        Returns:
        the unitFactor
      • getUnitFactor

        public java.lang.Integer getUnitFactor()
        Generated method - Getter of the PriceRow.unitFactor attribute.
        Returns:
        the unitFactor
      • getUnitFactorAsPrimitive

        public int getUnitFactorAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the PriceRow.unitFactor attribute.
        Returns:
        the unitFactor
      • getUnitFactorAsPrimitive

        public int getUnitFactorAsPrimitive()
        Generated method - Getter of the PriceRow.unitFactor attribute.
        Returns:
        the unitFactor
      • setUnitFactor

        public void setUnitFactor​(SessionContext ctx,
                                  java.lang.Integer value)
        Generated method - Setter of the PriceRow.unitFactor attribute.
        Parameters:
        value - the unitFactor
      • setUnitFactor

        public void setUnitFactor​(java.lang.Integer value)
        Generated method - Setter of the PriceRow.unitFactor attribute.
        Parameters:
        value - the unitFactor
      • setUnitFactor

        public void setUnitFactor​(SessionContext ctx,
                                  int value)
        Generated method - Setter of the PriceRow.unitFactor attribute.
        Parameters:
        value - the unitFactor
      • setUnitFactor

        public void setUnitFactor​(int value)
        Generated method - Setter of the PriceRow.unitFactor attribute.
        Parameters:
        value - the unitFactor