|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.indirection.ValueHolder
public class ValueHolder
Purpose: Act as a place holder for a variable that required a value holder interface. This class should be used to initialze an objects attributes that are using indirection is their mappings.
Field Summary |
---|
Fields inherited from interface oracle.toplink.indirection.ValueHolderInterface |
---|
shouldToStringInstantiate |
Constructor Summary | |
---|---|
ValueHolder() Initialize the holder. |
|
ValueHolder(java.lang.Object value) Initialize the holder with an object. |
Method Summary | |
---|---|
java.lang.Object |
getValue() Return the wrapped object. |
boolean |
isCoordinatedWithProperty() Used as part of the implementation of WeavedAttributeValueHolderInterface Used to track whether a valueholder that has been weaved into a class is coordinated with the underlying property |
boolean |
isInstantiated() Return a boolean indicating whether the wrapped object has been set or not. |
boolean |
isNewlyWeavedValueHolder() Used as part of the implementation of WeavedAttributeValueHolderInterface Used to determine if this ValueHolder was added instantiated as part of the constructor of a weaved class |
void |
setIsCoordinatedWithProperty(boolean coordinated) Used as part of the implementation of WeavedAttributeValueHolderInterface Used to track whether a valueholder that has been weaved into a class is coordinated with the underlying property This method will be called internall when the state of Coordination between the weaved valueholder and the underlying value is known |
void |
setIsNewlyWeavedValueHolder(boolean isNew) Used as part of the implementation of WeavedAttributeValueHolderInterface Used to determine if this ValueHolder was added instantiated as part of the constructor of a weaved class This method will be called when a ValueHolder is instantiated in a weaved class |
void |
setValue(java.lang.Object value) Set the wrapped object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValueHolder()
public ValueHolder(java.lang.Object value)
Method Detail |
---|
public java.lang.Object getValue()
getValue
in interface ValueHolderInterface
public boolean isCoordinatedWithProperty()
isCoordinatedWithProperty
in interface oracle.toplink.indirection.WeavedAttributeValueHolderInterface
public boolean isNewlyWeavedValueHolder()
isNewlyWeavedValueHolder
in interface oracle.toplink.indirection.WeavedAttributeValueHolderInterface
public boolean isInstantiated()
isInstantiated
in interface ValueHolderInterface
public void setIsCoordinatedWithProperty(boolean coordinated)
setIsCoordinatedWithProperty
in interface oracle.toplink.indirection.WeavedAttributeValueHolderInterface
public void setIsNewlyWeavedValueHolder(boolean isNew)
setIsNewlyWeavedValueHolder
in interface oracle.toplink.indirection.WeavedAttributeValueHolderInterface
public void setValue(java.lang.Object value)
setValue
in interface ValueHolderInterface
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |