ariba.ui.aribaweb.util
Class AWStringsFieldValueClassExtension
java.lang.Object
ariba.util.core.ClassExtension
ariba.util.fieldvalue.FieldValue
ariba.util.fieldvalue.FieldValue_Object
ariba.ui.aribaweb.util.AWStringsFieldValueClassExtension
- All Implemented Interfaces:
- Cloneable
public class AWStringsFieldValueClassExtension
- extends FieldValue_Object
AWStringsFieldValueClassExtension
public AWStringsFieldValueClassExtension()
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
setFieldValuePrimitive
public void setFieldValuePrimitive(Object target,
String key,
Object value)
getFieldValuePrimitive
public Object getFieldValuePrimitive(Object target,
String key)
getFieldValue
public Object getFieldValue(Object target,
FieldPath fieldPath)
- Description copied from class:
FieldValue_Object
- Recursively calls getFieldValuePrimitive() with the head of the fieldPath list.
Each time the recursion iterates, the receiver is the value of the previous
getFieldValuePrimitive().
- Overrides:
getFieldValue in class FieldValue_Object
- Parameters:
target - the first object from which to start the recursion for getting
the value identified by the fieldPath.fieldPath - the linked list of fieldPath nodes that identifes the value to get
- Returns:
- the value obtained from the last object in the chain
setFieldValue
public void setFieldValue(Object target,
FieldPath fieldPath,
Object value)
- Description copied from class:
FieldValue_Object
- Recursively calls getFieldValuePrimitive() with the head of the fieldPath
list up to the last fieldPath node and then calls setFieldValuePrimitive().
Each time the recursion iterates, the receiver is the value of the
previous getFieldValuePrimitive().
- Overrides:
setFieldValue in class FieldValue_Object
- Parameters:
target - the object on which to start the recursion for setting
the value using the fieldPathfieldPath - the linked list of fieldPath nodes used to navigate from
target to the final object in the chain, upon which the value is setvalue - the value which is set on the final object in the chain
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.