Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.clone
Class ClonedObject

java.lang.Object
  extended by ag.ion.bion.officelayer.clone.ClonedObject
All Implemented Interfaces:
IClonedObject

public class ClonedObject
extends java.lang.Object
implements IClonedObject

Concrete implementation of the cloned object. This class serves as store for cloned objects. hcih are used in several instances of the cloneservice as return type.


Constructor Summary
ClonedObject(java.lang.Object storeableObject, java.lang.Class clazz)
          Constructs a new ClonedObject,
 
Method Summary
 java.lang.Class getCloneClassType()
          The class of the cloned object (importatn if you want to cast it to its original type.
 java.lang.Object getClonedObject()
          The cloned object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClonedObject

public ClonedObject(java.lang.Object storeableObject,
                    java.lang.Class clazz)
Constructs a new ClonedObject,

Parameters:
storeableObject - the object that should be placed in the store
clazz - the class-type of the stored object
Method Detail

getClonedObject

public java.lang.Object getClonedObject()
The cloned object.

Specified by:
getClonedObject in interface IClonedObject
Returns:
the object stored.

getCloneClassType

public java.lang.Class getCloneClassType()
The class of the cloned object (importatn if you want to cast it to its original type.

Specified by:
getCloneClassType in interface IClonedObject
Returns:
the original class of the stored object

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013