org.opencrx.kernel.contract1.jpa3
Class QuantityModification

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jpa3.AbstractObject
          extended by org.opencrx.kernel.contract1.jpa3.PositionModification
              extended by org.opencrx.kernel.contract1.jpa3.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 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.contract1.cci2.PositionModification
PositionModification.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::contract1::QuantityModification
 
Fields inherited from class org.opencrx.kernel.contract1.jpa3.PositionModification
BASE_CLASS
 
Constructor Summary
QuantityModification()
          Constructor
 
Method Summary
 BigDecimal getQuantity()
          Retrieves the value for the attribute quantity.
protected  org.w3c.jpa3.AbstractObject.Slice newQuantityModification$Slice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
 void setQuantity(BigDecimal quantity)
          Sets a new value for the attribute quantity.
 
Methods inherited from class org.opencrx.kernel.contract1.jpa3.PositionModification
addOwningGroup, checkPermissions, getAccessGrantedByParent_Id, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAudit, getContext, getCreatedAt, getCreatedBy, getIdentity, getInvolved_Id, getInvolved, getModifiedAt, getModifiedBy, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, newPositionModification$Slice, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setContract_Id, setContract, setInvolved_Id, setInvolved, setOwningUser_Id, setOwningUser, setOwningUser
 
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.contract1.cci2.PositionModification
getInvolved, setInvolved
 
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
 
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::contract1::QuantityModification

Constructor Detail

QuantityModification

public QuantityModification()
Constructor

Method Detail

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

newQuantityModification$Slice

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

openmdxjdoGetClass

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

Overrides:
openmdxjdoGetClass in class PositionModification
Returns:
the model class
See Also:
QuantityModification.CLASS


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