org.opencrx.kernel.product1.jpa3
Class LinearPriceModifier

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jpa3.AbstractObject
          extended by org.opencrx.kernel.product1.jpa3.PriceModifier
              extended by org.opencrx.kernel.product1.jpa3.LinearPriceModifier
All Implemented Interfaces:
Serializable, SecureObject, LinearPriceModifier, PriceModifier, AspectCapable, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable

public class LinearPriceModifier
extends PriceModifier
implements LinearPriceModifier

Class LinearPriceModifier

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject
org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.Slice
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.product1.cci2.PriceModifier
PriceModifier.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::product1::LinearPriceModifier
 
Fields inherited from class org.opencrx.kernel.product1.jpa3.PriceModifier
BASE_CLASS
 
Constructor Summary
LinearPriceModifier()
          Constructor
 
Method Summary
 BigDecimal getPriceMultiplier()
          Retrieves the possibly null value for the optional attribute priceMultiplier.
 BigDecimal getPriceOffset()
          Retrieves the possibly null value for the optional attribute priceOffset.
 BigDecimal getRoundingFactor()
          Retrieves the possibly null value for the optional attribute roundingFactor.
protected  org.w3c.jpa3.AbstractObject.Slice newLinearPriceModifier$Slice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
 void setPriceMultiplier(BigDecimal priceMultiplier)
          Sets a new value for the attribute priceMultiplier.
 void setPriceOffset(BigDecimal priceOffset)
          Sets a new value for the attribute priceOffset.
 void setRoundingFactor(BigDecimal roundingFactor)
          Sets a new value for the attribute roundingFactor.
 
Methods inherited from class org.opencrx.kernel.product1.jpa3.PriceModifier
addOwningGroup, checkPermissions, getAccessGrantedByParent_Id, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getContext, getCreatedAt, getCreatedBy, getDescription, getIdentity, getModifiedAt, getModifiedBy, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, getQuantityFrom, getQuantityTo, newPriceModifier$Slice, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setDescription, setOwningUser_Id, setOwningUser, setOwningUser, setPriceLevel_Id, setPriceLevel, setQuantityFrom, setQuantityTo
 
Methods inherited from class org.w3c.jpa3.AbstractObject
openmdxjdoClassName, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.PriceModifier
getDescription, getQuantityFrom, getQuantityTo, setDescription, setQuantityFrom, setQuantityTo
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::product1::LinearPriceModifier

Constructor Detail

LinearPriceModifier

public LinearPriceModifier()
Constructor

Method Detail

getPriceMultiplier

public final BigDecimal getPriceMultiplier()
Retrieves the possibly null value for the optional attribute priceMultiplier.

Specified by:
getPriceMultiplier in interface LinearPriceModifier
Returns:
The possibly null value for attribute priceMultiplier.

setPriceMultiplier

public void setPriceMultiplier(BigDecimal priceMultiplier)
Sets a new value for the attribute priceMultiplier.

Specified by:
setPriceMultiplier in interface LinearPriceModifier
Parameters:
priceMultiplier - The possibly null new value for attribute priceMultiplier.

getPriceOffset

public final BigDecimal getPriceOffset()
Retrieves the possibly null value for the optional attribute priceOffset.

Specified by:
getPriceOffset in interface LinearPriceModifier
Returns:
The possibly null value for attribute priceOffset.

setPriceOffset

public void setPriceOffset(BigDecimal priceOffset)
Sets a new value for the attribute priceOffset.

Specified by:
setPriceOffset in interface LinearPriceModifier
Parameters:
priceOffset - The possibly null new value for attribute priceOffset.

getRoundingFactor

public final BigDecimal getRoundingFactor()
Retrieves the possibly null value for the optional attribute roundingFactor.

Specified by:
getRoundingFactor in interface LinearPriceModifier
Returns:
The possibly null value for attribute roundingFactor.

setRoundingFactor

public void setRoundingFactor(BigDecimal roundingFactor)
Sets a new value for the attribute roundingFactor.

Specified by:
setRoundingFactor in interface LinearPriceModifier
Parameters:
roundingFactor - The possibly null new value for attribute roundingFactor.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class PriceModifier

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class PriceModifier

newLinearPriceModifier$Slice

protected org.w3c.jpa3.AbstractObject.Slice newLinearPriceModifier$Slice(int index)

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class PriceModifier
Returns:
the model class
See Also:
LinearPriceModifier.CLASS


This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.