org.opencrx.kernel.base.jdo2
Class DecimalProperty

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.base.jdo2.Property
              extended by org.opencrx.kernel.base.jdo2.DecimalProperty
All Implemented Interfaces:
Serializable, DecimalProperty, Property, SecureObject, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class DecimalProperty
extends Property
implements DecimalProperty

Class DecimalProperty

See Also:
Serialized Form

Nested Class Summary
static class DecimalProperty.Slice
          Slice object hold the DecimalProperty's multivalued attributes
 
Nested classes/interfaces inherited from class org.opencrx.kernel.base.jdo2.Property
Property.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.base.cci2.Property
Property.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::base::DecimalProperty
 
Fields inherited from class org.opencrx.kernel.base.jdo2.Property
BASE_CLASS
 
Constructor Summary
DecimalProperty()
           
 
Method Summary
 BigDecimal getDecimalValue()
          Retrieves the value for the attribute decimalValue.
static Property.Identity newIdentity(Identity propertySet, QualifierType idType, 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)
           
static Property.Identity openmdxjdoToIdentity(ObjectId objectId)
           
 void setDecimalValue(BigDecimal decimalValue)
          Sets a new value for the attribute decimalValue.
 
Methods inherited from class org.opencrx.kernel.base.jdo2.Property
addOwningGroup, addToPropertySet, addToPropertySet, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getContext, getCreatedAt, getCreatedBy, getDescription, getDomain, getIdentity, getModifiedAt, getModifiedBy, getName, getOwner, getOwningGroup, getOwningUser, getView, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setDescription, setDomain, setName, 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.Property
getDescription, getDomain, getName, setDescription, setDomain, setName
 
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.ContextCapable
getContext
 
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::base::DecimalProperty

Constructor Detail

DecimalProperty

public DecimalProperty()
Method Detail

getDecimalValue

public BigDecimal getDecimalValue()
Retrieves the value for the attribute decimalValue.

Specified by:
getDecimalValue in interface DecimalProperty
Returns:
The non-null value for attribute decimalValue.

setDecimalValue

public void setDecimalValue(BigDecimal decimalValue)
Sets a new value for the attribute decimalValue.

Specified by:
setDecimalValue in interface DecimalProperty
Parameters:
decimalValue - The non-null new value for attribute decimalValue.

openmdxjdoGetSize

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

openmdxjdoSetSize

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

newSlice

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

openmdxjdoGetClass

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

Overrides:
openmdxjdoGetClass in class Property
Returns:
the model class
See Also:
DecimalProperty.CLASS

newIdentity

public static Property.Identity newIdentity(Identity propertySet,
                                            QualifierType idType,
                                            String id)

openmdxjdoToIdentity

public static Property.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.