org.opencrx.kernel.product1.jdo2
Class LinearPriceModifier
java.lang.Object
org.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.product1.jdo2.PriceModifier
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
Slice object hold the LinearPriceModifier's
multivalued attributes |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
|
Field Summary |
static List<String> |
CLASS
Define the model class org::opencrx::kernel::product1::LinearPriceModifier |
| Methods inherited from class org.opencrx.kernel.product1.jdo2.PriceModifier |
addOwningGroup, addToPriceLevel, addToPriceLevel, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getCreatedAt, getCreatedBy, getDescription, getIdentity, getModifiedAt, getModifiedBy, getOwner, getOwningGroup, getOwningUser, getQuantityFrom, getQuantityTo, getView, getView, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setDescription, setOwningUser, setOwningUser, 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 |
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.base.cci2.SecureObject |
addOwningGroup, checkPermissions, 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, getView |
CLASS
public static final List<String> CLASS
- Define the model class
org::opencrx::kernel::product1::LinearPriceModifier
LinearPriceModifier
public LinearPriceModifier()
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
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(AbstractPriceLevel.Identity priceLevel,
boolean idIsPersistent,
String id)
openmdxjdoToIdentity
public static PriceModifier.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.