org.apache.ojb.odmg
Class Image.MultipleRef

java.lang.Object
  extended by org.apache.ojb.odmg.Image
      extended by org.apache.ojb.odmg.Image.MultipleRef
All Implemented Interfaces:
CollectionProxyListener
Enclosing class:
Image

public static class Image.MultipleRef
extends Image
implements CollectionProxyListener


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.MultipleRef(Image.ImageListener listener, CollectionDescriptor cod, java.lang.Object collectionOrArray)
           
 
Method Summary
 void afterLoading(CollectionProxyDefaultImpl colProxy)
          this callback is invoked after a CollectionProxy is loaded
 void beforeLoading(CollectionProxyDefaultImpl colProxy)
          this callback is invoked before a CollectionProxy is loaded
 void cleanup(boolean reuse)
           
 boolean modified(Image other)
          Always return 'false', because changed 1:n or m:n references do not affect the main object.
 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.MultipleRef

public Image.MultipleRef(Image.ImageListener listener,
                         CollectionDescriptor cod,
                         java.lang.Object collectionOrArray)
Method Detail

cleanup

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

modified

public boolean modified(Image other)
Always return 'false', because changed 1:n or m:n references do not affect the main object.

Specified by:
modified in class Image

beforeLoading

public void beforeLoading(CollectionProxyDefaultImpl colProxy)
Description copied from interface: CollectionProxyListener
this callback is invoked before a CollectionProxy is loaded

Specified by:
beforeLoading in interface CollectionProxyListener
Parameters:
colProxy - the CollectionProxy

afterLoading

public void afterLoading(CollectionProxyDefaultImpl colProxy)
Description copied from interface: CollectionProxyListener
this callback is invoked after a CollectionProxy is loaded

Specified by:
afterLoading in interface CollectionProxyListener
Parameters:
colProxy - the CollectionProxy

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