ariba.ui.aribaweb.core
Class FieldValue_AWSubcomponent
java.lang.Object
ariba.util.core.ClassExtension
ariba.util.fieldvalue.FieldValue
ariba.util.fieldvalue.FieldValue_Object
ariba.ui.aribaweb.core.FieldValue_AWSubcomponent
- All Implemented Interfaces:
- Cloneable
public final class FieldValue_AWSubcomponent
- extends FieldValue_Object
See AWIncludeBlock for big picture.
This class extends the FieldValue_Object classExtension to cause fieldVlaue access for AWIncludeBlock to be forwarded to the target's parent component. This way, when an AWBlock has $ bindings in it, those will actually be evaluated within the parent component (ie the component in which the AWBlock is defined).
|
Method Summary |
Object |
getFieldValuePrimitive(Object target,
FieldPath fieldPath)
Gets the value from the reveiver using the fieldName indicated by
fieldPath -- only the first node of the fieldPath is considered if
it is a multi-node path. |
void |
setFieldValuePrimitive(Object target,
FieldPath fieldPath,
Object value)
Sets the value on the reveiver using the fieldName indicated by
fieldPath -- only the first node of the fieldPath is considered if it is
a multi-node path. |
FieldValue_AWSubcomponent
public FieldValue_AWSubcomponent()
setFieldValuePrimitive
public void setFieldValuePrimitive(Object target,
FieldPath fieldPath,
Object value)
- Description copied from class:
FieldValue_Object
- Sets the value on the reveiver using the fieldName indicated by
fieldPath -- only the first node of the fieldPath is considered if it is
a multi-node path.
- Overrides:
setFieldValuePrimitive in class FieldValue_Object
- Parameters:
target - the object on which the value will be set for the field identiifed by fieldPathfieldPath - the fieldPath node (which contains a candidate accessor) to be
used to set the value on target.value - the value to set on the target
getFieldValuePrimitive
public Object getFieldValuePrimitive(Object target,
FieldPath fieldPath)
- Description copied from class:
FieldValue_Object
- Gets the value from the reveiver using the fieldName indicated by
fieldPath -- only the first node of the fieldPath is considered if
it is a multi-node path.
- Overrides:
getFieldValuePrimitive in class FieldValue_Object
- Parameters:
target - the object from which to get the value of the field identified by fieldPathfieldPath - the fieldPath node which identifes the field to get.
- Returns:
- the value obtained from the target using the fieldPath
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.