Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.indirection
Interface ValueHolderInterface

All Known Implementing Classes:
ValueHolder

public interface ValueHolderInterface

Purpose: Interface to allow lazy loading of an object's relationships from the database.

See Also:
ValueHolder, DatabaseValueHolder

Method Summary
 java.lang.Object getValue()
          PUBLIC: Return the value.
 boolean isInstantiated()
          PUBLIC: Return whether the contents have been read from the database.
 void setValue(java.lang.Object value)
          PUBLIC: Set the value.

 

Method Detail

getValue

public java.lang.Object getValue()
PUBLIC: Return the value.

isInstantiated

public boolean isInstantiated()
PUBLIC: Return whether the contents have been read from the database. This is used periodically by the indirection policy to determine whether to trigger the database read.

setValue

public void setValue(java.lang.Object value)
PUBLIC: Set the value.

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.