SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

com.solarmetric.kodo.util
Interface Proxy

All Known Implementing Classes:
ProxyDate

public interface Proxy

Interface implemented by all proxy types to allow setting and nulling of their owning JDO instance.


Method Summary
 Object getCopy(Object orig)
          This method should return a copy of the given proxy; the copy should be of the same class as the non-proxied version of this class (typically this proxy's superclass).
 Object getOwner()
          Return the owning object.
 String getOwnerFieldName()
          Return the owning field name.
 void setOwner(Object pc, String fieldName)
          Set the owning JDO instance of the proxy and the name of the field it is assigned to.
 

Method Detail

setOwner

public void setOwner(Object pc,
                     String fieldName)
Set the owning JDO instance of the proxy and the name of the field it is assigned to. Set to null to indicate that the proxy is no longer managed.

getOwner

public Object getOwner()
Return the owning object.

getOwnerFieldName

public String getOwnerFieldName()
Return the owning field name.

getCopy

public Object getCopy(Object orig)
This method should return a copy of the given proxy; the copy should be of the same class as the non-proxied version of this class (typically this proxy's superclass).

SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.