org.opencrx.kernel.base.jdo2
Class IntegerProperty

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.IntegerProperty
All Implemented Interfaces:
Serializable, IntegerProperty, Property, SecureObject, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class IntegerProperty
extends Property
implements IntegerProperty

Class IntegerProperty

See Also:
Serialized Form

Nested Class Summary
static class IntegerProperty.Slice
          Slice object hold the IntegerProperty'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::IntegerProperty
 
Fields inherited from class org.opencrx.kernel.base.jdo2.Property
BASE_CLASS
 
Constructor Summary
IntegerProperty()
           
 
Method Summary
 int getIntegerValue()
          Retrieves the value for the attribute integerValue.
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 setIntegerValue(int integerValue)
          Sets a new value for the attribute integerValue.
 
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::IntegerProperty

Constructor Detail

IntegerProperty

public IntegerProperty()
Method Detail

getIntegerValue

public int getIntegerValue()
Retrieves the value for the attribute integerValue.

Specified by:
getIntegerValue in interface IntegerProperty
Returns:
The non-null value for attribute integerValue.

setIntegerValue

public void setIntegerValue(int integerValue)
Sets a new value for the attribute integerValue.

Specified by:
setIntegerValue in interface IntegerProperty
Parameters:
integerValue - The non-null new value for attribute integerValue.

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:
IntegerProperty.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.