org.opencrx.kernel.contract1.jdo2
Class QuantityModification
java.lang.Object
org.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.contract1.jdo2.PositionModification
org.opencrx.kernel.contract1.jdo2.QuantityModification
- All Implemented Interfaces:
- Serializable, Auditee, SecureObject, PositionModification, QuantityModification, AspectCapable, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable
public class QuantityModification
- extends PositionModification
- implements QuantityModification
Class QuantityModification
- See Also:
- Serialized Form
| 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::contract1::QuantityModification |
| Methods inherited from class org.opencrx.kernel.contract1.jdo2.PositionModification |
addOwningGroup, addToContract, addToContract, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAudit, getContext, getCreatedAt, getCreatedBy, getIdentity, getInvolved, getModifiedAt, getModifiedBy, getOwner, getOwningGroup, getOwningUser, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setInvolved, setOwningUser, setOwningUser |
| Methods inherited from class org.w3c.jdo2.AbstractObject |
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, 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, 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.Auditee |
getAudit |
| 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 |
CLASS
public static final List<String> CLASS
- Define the model class
org::opencrx::kernel::contract1::QuantityModification
QuantityModification
public QuantityModification()
getQuantity
public BigDecimal getQuantity()
- Retrieves the value for the attribute
quantity.
- Specified by:
getQuantity in interface QuantityModification
- Returns:
- The non-null value for attribute
quantity.
setQuantity
public void setQuantity(BigDecimal quantity)
- Sets a new value for the attribute
quantity.
- Specified by:
setQuantity in interface QuantityModification
- Parameters:
quantity - The non-null new value for attribute quantity.
openmdxjdoGetSize
protected int openmdxjdoGetSize(int field)
- Overrides:
openmdxjdoGetSize in class PositionModification
openmdxjdoSetSize
protected void openmdxjdoSetSize(int field,
int size)
- Overrides:
openmdxjdoSetSize in class PositionModification
newSlice
protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
- Overrides:
newSlice in class PositionModification
openmdxjdoGetClass
protected List<String> openmdxjdoGetClass()
- Retrieve the model class
- Overrides:
openmdxjdoGetClass in class PositionModification
- Returns:
- the model class
- See Also:
QuantityModification.CLASS
newIdentity
public static PositionModification.Identity newIdentity(Identity contract,
QualifierType idType,
String id)
openmdxjdoToIdentity
public static PositionModification.Identity openmdxjdoToIdentity(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.