SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

com.solarmetric.kodo.util
Interface Proxy

All Known Subinterfaces:
ChangeTracker, ProxyCollection, ProxyMap
All Known Implementing Classes:
ProxyDate

public interface Proxy

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

All concrete proxy classes should be public and have publc no-args constructors so that tools that work via reflection on persistent instances can manipulate them.


Method Summary
 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.

SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

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