org.opencrx.kernel.depot1.jdo2
Class Room

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.depot1.jdo2.DepotAddress
              extended by org.opencrx.kernel.depot1.jdo2.Room
All Implemented Interfaces:
Serializable, RoomAddressable, SecureObject, DepotAddress, Room, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class Room
extends DepotAddress
implements Room

Class Room

See Also:
Serialized Form

Nested Class Summary
static class Room.Slice
          Slice object hold the Room's multivalued attributes
 
Nested classes/interfaces inherited from class org.opencrx.kernel.depot1.jdo2.DepotAddress
DepotAddress.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.depot1.cci2.DepotAddress
DepotAddress.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::depot1::Room
 
Fields inherited from class org.opencrx.kernel.depot1.jdo2.DepotAddress
BASE_CLASS
 
Constructor Summary
Room()
           
 
Method Summary
 String getRoomNumber()
          Retrieves the possibly null value for the optional attribute roomNumber.
static DepotAddress.Identity newIdentity(DepotHolder.Identity depotHolder, boolean idIsPersistent, 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 DepotAddress.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
           
 void setRoomNumber(String roomNumber)
          Sets a new value for the attribute roomNumber.
 
Methods inherited from class org.opencrx.kernel.depot1.jdo2.DepotAddress
addOwningGroup, addToDepotHolder, addToDepotHolder, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getCreatedAt, getCreatedBy, getIdentity, getModifiedAt, getModifiedBy, getOwner, getOwningGroup, getOwningUser, getView, getView, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
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
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::depot1::Room

Constructor Detail

Room

public Room()
Method Detail

getRoomNumber

public final String getRoomNumber()
Retrieves the possibly null value for the optional attribute roomNumber.

Specified by:
getRoomNumber in interface RoomAddressable
Returns:
The possibly null value for attribute roomNumber.

setRoomNumber

public void setRoomNumber(String roomNumber)
Sets a new value for the attribute roomNumber.

Specified by:
setRoomNumber in interface RoomAddressable
Parameters:
roomNumber - The possibly null new value for attribute roomNumber.

openmdxjdoGetSize

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

openmdxjdoSetSize

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

newSlice

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

openmdxjdoGetClass

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

Overrides:
openmdxjdoGetClass in class DepotAddress
Returns:
the model class
See Also:
Room.CLASS

newIdentity

public static DepotAddress.Identity newIdentity(DepotHolder.Identity depotHolder,
                                                boolean idIsPersistent,
                                                String id)

openmdxjdoToIdentity

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