ariba.ui.aribaweb.core
Class FieldValue_AWSubcomponent

java.lang.Object
  extended by ariba.util.core.ClassExtension
      extended by ariba.util.fieldvalue.FieldValue
          extended by ariba.util.fieldvalue.FieldValue_Object
              extended by ariba.ui.aribaweb.core.FieldValue_AWSubcomponent
All Implemented Interfaces:
java.lang.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).


Field Summary
 
Fields inherited from class ariba.util.fieldvalue.FieldValue
Getter, Setter
 
Fields inherited from class ariba.util.core.ClassExtension
forClass
 
Constructor Summary
FieldValue_AWSubcomponent()
           
 
Method Summary
 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.
 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.
 
Methods inherited from class ariba.util.fieldvalue.FieldValue_Object
createAccessor, getAccessor, getFieldValue, populateFieldInfo, setFieldValue
 
Methods inherited from class ariba.util.fieldvalue.FieldValue
get, get, getFieldValue, registerClassExtension, setFieldValue
 
Methods inherited from class ariba.util.core.ClassExtension
clone, forClass, getRealClass, setForClass
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldValue_AWSubcomponent

public FieldValue_AWSubcomponent()
Method Detail

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 fieldPath
fieldPath - 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 fieldPath
fieldPath - 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-2014 Ariba, Inc. All Rights Reserved.