Methods Summary |
---|
public java.lang.Object | clone()INTERNAL:
try {
return super.clone();
} catch (CloneNotSupportedException exception) {
;
}
return null;
|
public synchronized java.lang.Object | getValue()PUBLIC:
Return the wrapped object.
return value;
|
public 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
return isCoordinatedWithProperty;
|
public boolean | isInstantiated()PUBLIC:
Return a boolean indicating whether the
wrapped object has been set or not.
// Always return true since we consider
// null to be a valid wrapped object.
return true;
|
public 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
return isNewlyWeavedValueHolder;
|
public 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
this.isCoordinatedWithProperty = coordinated;
// this is not a newly weaved valueholder any more since we have done some coordination work
isNewlyWeavedValueHolder = false;
|
public 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
this.isNewlyWeavedValueHolder = isNew;
|
public void | setValue(java.lang.Object value)PUBLIC:
Set the wrapped object.
this.value = value;
|
public java.lang.String | toString()INTERNAL:
if (getValue() == null) {
return "{" + null + "}";
}
return "{" + getValue().toString() + "}";
|