org.apache.ojb.odmg
Class Image.SingleRef

java.lang.Object
  extended by org.apache.ojb.odmg.Image
      extended by org.apache.ojb.odmg.Image.SingleRef
Enclosing class:
Image

public static class Image.SingleRef
extends Image


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.ojb.odmg.Image
Image.Field, Image.ImageException, Image.ImageListener, Image.MultipleRef, Image.SingleRef
 
Constructor Summary
Image.SingleRef(Image.ImageListener listener, ObjectReferenceDescriptor ord, java.lang.Object reference)
           
 
Method Summary
 void cleanup(boolean reuse)
           
 java.lang.Object getReferenceObjectOrProxy()
           
 boolean modified(Image toCompare)
          If a 1:1 reference has changed it will affects the main object (FK needs update).
 java.lang.String toString()
           
 
Methods inherited from class org.apache.ojb.odmg.Image
performReferenceDetection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Image.SingleRef

public Image.SingleRef(Image.ImageListener listener,
                       ObjectReferenceDescriptor ord,
                       java.lang.Object reference)
Method Detail

cleanup

public void cleanup(boolean reuse)
Specified by:
cleanup in class Image

getReferenceObjectOrProxy

public java.lang.Object getReferenceObjectOrProxy()

modified

public boolean modified(Image toCompare)
If a 1:1 reference has changed it will affects the main object (FK needs update).

Specified by:
modified in class Image

toString

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


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30