Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated)
11g Release 1 (11.1.1)

B32476-04

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

Field Summary
static boolean shouldToStringInstantiate
          Can be used to have transparent indirection toString instantiate the objects.
 
Method Summary
 java.lang.Object getValue()
          Return the value.
 boolean isInstantiated()
          Return whether the contents have been read from the database.
 void setValue(java.lang.Object value)
          Set the value.
 

Field Detail

shouldToStringInstantiate

static final boolean shouldToStringInstantiate
Description copied from interface: ValueHolderInterface
Can be used to have transparent indirection toString instantiate the objects.

See Also:
Constant Field Values
Method Detail

getValue

java.lang.Object getValue()
Return the value.


isInstantiated

boolean isInstantiated()
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

void setValue(java.lang.Object value)
Set the value.


Copyright © 1998, 2012, Oracle. All Rights Reserved.