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:
- java.lang.Cloneable
public class AWStringsFieldValueClassExtension
- extends FieldValue_Object
Method Summary |
java.lang.Object |
getFieldValue(java.lang.Object target,
FieldPath fieldPath)
Recursively calls getFieldValuePrimitive() with the head of the fieldPath list. |
java.lang.Object |
getFieldValuePrimitive(java.lang.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. |
java.lang.Object |
getFieldValuePrimitive(java.lang.Object target,
java.lang.String key)
|
void |
setFieldValue(java.lang.Object target,
FieldPath fieldPath,
java.lang.Object value)
Recursively calls getFieldValuePrimitive() with the head of the fieldPath
list up to the last fieldPath node and then calls setFieldValuePrimitive(). |
void |
setFieldValuePrimitive(java.lang.Object target,
FieldPath fieldPath,
java.lang.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. |
void |
setFieldValuePrimitive(java.lang.Object target,
java.lang.String key,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AWStringsFieldValueClassExtension
public AWStringsFieldValueClassExtension()
setFieldValuePrimitive
public void setFieldValuePrimitive(java.lang.Object target,
FieldPath fieldPath,
java.lang.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 java.lang.Object getFieldValuePrimitive(java.lang.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(java.lang.Object target,
java.lang.String key,
java.lang.Object value)
getFieldValuePrimitive
public java.lang.Object getFieldValuePrimitive(java.lang.Object target,
java.lang.String key)
getFieldValue
public java.lang.Object getFieldValue(java.lang.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(java.lang.Object target,
FieldPath fieldPath,
java.lang.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-2014 Ariba, Inc. All Rights Reserved.