org.siebengeisslein.client
Class Ref

java.lang.Object
  extended by org.siebengeisslein.client.Ref

public final class Ref
extends java.lang.Object


Method Summary
 boolean addChangeListener(ObjectChangeListener ocl)
           
protected  java.lang.ref.SoftReference createSoftRef(Persistent p)
           
 Persistent get()
           
 Persistent get(boolean load)
           
 long getOID()
           
 boolean isLoaded()
           
 boolean isNew()
           
static Ref read(java.io.DataInput in)
           
 void removeChangeListener(ObjectChangeListener ocl)
           
 java.lang.String toString()
           
static void write(java.io.DataOutput out, Ref ref)
           
static void write(java.io.DataOutput out, Ref ref, boolean noFollow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createSoftRef

protected java.lang.ref.SoftReference createSoftRef(Persistent p)

getOID

public long getOID()

isNew

public boolean isNew()

get

public Persistent get()

get

public Persistent get(boolean load)

addChangeListener

public boolean addChangeListener(ObjectChangeListener ocl)

removeChangeListener

public void removeChangeListener(ObjectChangeListener ocl)

write

public static final void write(java.io.DataOutput out,
                               Ref ref)
                        throws java.io.IOException
Throws:
java.io.IOException

write

public static final void write(java.io.DataOutput out,
                               Ref ref,
                               boolean noFollow)
                        throws java.io.IOException
Throws:
java.io.IOException

read

public static final Ref read(java.io.DataInput in)
                      throws java.io.IOException,
                             CoreException
Throws:
java.io.IOException
CoreException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isLoaded

public boolean isLoaded()