org.opencrx.kernel.product1.jdo2
Class LinearPriceModifier

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.product1.jdo2.PriceModifier
              extended by org.opencrx.kernel.product1.jdo2.LinearPriceModifier
All Implemented Interfaces:
Serializable, SecureObject, LinearPriceModifier, PriceModifier, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class LinearPriceModifier
extends PriceModifier
implements LinearPriceModifier

Class LinearPriceModifier

See Also:
Serialized Form

Nested Class Summary
static class LinearPriceModifier.Slice
           
 
Nested classes/interfaces inherited from class org.opencrx.kernel.product1.jdo2.PriceModifier
PriceModifier.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.BLOB, org.w3c.jdo2.AbstractObject.CLOB, org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
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.jdo2.PriceModifier
BASE_CLASS
 
Constructor Summary
LinearPriceModifier()
           
 
Method Summary
 BigDecimal getPriceMultiplier()
           
 BigDecimal getPriceOffset()
           
 BigDecimal getRoundingFactor()
           
static PriceModifier.Identity newIdentity(PriceLevel.Identity priceLevel, boolean idIsPersistent, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(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.jdo2.PriceModifier
addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getCreatedAt, getCreatedBy, getDescription, getIdentity, getModifiedAt, getModifiedBy, getOwner, getOwningGroup, getOwningUser, getQuantityFrom, getQuantityTo, getView, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setDescription, setOwningUser, setOwningUser, setPriceLevel, setPriceLevel, setQuantityFrom, setQuantityTo
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
openmdxjdoGetIdentity, openmdxjdoGetIdentity, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId
 
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, setPriceLevel, setPriceLevel, setQuantityFrom, setQuantityTo
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Field Detail

CLASS

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

Constructor Detail

LinearPriceModifier

public LinearPriceModifier()
Method Detail

getPriceMultiplier

public final BigDecimal getPriceMultiplier()
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()
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()
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

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
Overrides:
newSlice in class PriceModifier

openmdxjdoGetClass

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

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

newIdentity

public static PriceModifier.Identity newIdentity(PriceLevel.Identity priceLevel,
                                                 boolean idIsPersistent,
                                                 String id)


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