Package ariba.util.fieldvalue Description

The core property access mechanism used by AribaWeb bindings and the Expr expression language. FieldValue provides a uniform Map-like (get/set) interface to objects of various sorts (POJOs, Maps, scriptable objects, ...). FieldValue is implemented as a ClassExtension, meaning that implementation of the FieldValue abstraction can be done outside of the target classes, thereby allowing implementations on existing core Java classes (Object, Map, etc).

FieldValue provides optimized access for field paths (e.g. "employee.manager.name") via the FieldPath class. FieldPaths are pre-parsed and cache the FieldValueAccessor to which they last (dynamically) resolved, thereby avoiding future lookup/reflection on repeated use.


Interface Summary
Extensible The Extensible interface can be implemented when a given class wants to provide dynamically added fields.
FieldValueAccessor The FieldValueAccessor class is a base class that serves as the base for all FieldValueAccessors.
FieldValueGetter The FieldValueGetter class is an abstract class that serves as the base for all FieldValueGetters.
FieldValueSetter The FieldValueSetter class is an abstract class that serves as the base for all FieldValueSetters.
 

Class Summary
AWPrimitiveArrayClassExtension  
BaseAccessor The BaseAccessor class is a base class that serves as the base for all FieldValueAccessors.
ClassExtensionGetter A special FieldValueAccessor subclass which supports the use of the FieldValue subsystem to invoke ClassExtension methods.
ClassExtensionSetter A special FieldValueAccessor subclass which supports the use of the FieldValue subsystem to invoke ClassExtension methods.
CompiledAccessor  
CompiledAccessorFactory CompiledAccessorFactory creates instances of CompiledAccessor given either a java.lang.reflect.Field or java.lang.reflect.Method.
CompiledAccessorFactory.ByteArrayClassLoader  
Expression Abstract representation of an expression in an unspecified expression language.
ExpressionEvaluator Abstraction of a factory class for creating Expressions.

ExtensibleFieldValueAccessor FieldValue_Extensible provides an implementation of the FieldValue interface for the Extensible interface.
FieldInfo  
FieldInfo.Collection  
FieldPath The FieldPath class is an object representation of a dotted fieldPath.
FieldValue The FieldValue class defines a ClassExtension for JavaBean-like property access on target objects.
FieldValue_Extensible FieldValue_Extensible provides an implementation of the FieldValue interface for the Extensible interface.
FieldValue_JavaHashtable The JavaHashtableFieldValueClassExtension converts the behavior of java.util.Map so that using fieldValue accessors on them does not attempt to access the fields or methods of the Map itself, but will access the values stored in the Map.
FieldValue_Object The FieldValue_Object class extension is the default implementation of the FieldValue interface.
FieldValueAccessorUtil Several static methods which are used in various places within the FieldValue subsystem to handle certain reflection operations more gracefully.
OrderedList Sample Usage: int index = OrderedList.get(someList).indexOf(someList, someObject);
OrderedList_AribaVector  
OrderedList_Collection Partial implementation of OrderedList protocol for Collections (Useful for Sets)
OrderedList_JavaVector  
OrderedList_List  
OrderedList_ObjectArray  
ReflectionMethodAccessor The ReflectionMethodAccessor is a wrapper for java.lang.reflect.Method and provides a uniform interface so that users needn't know if the accesor they're dealing with is either a Method or a Field.
ReflectionMethodGetter The ReflectionMethodGetter is a wrapper for java.lang.reflect.Method and provides a uniform interface so that users needn't know if the accesor they're dealing with is either a Method or a Field.
ReflectionMethodSetter The ReflectionMethodSetter is a wrapper for java.lang.reflect.Method and provides a uniform interface so that users needn't know if the accesor they're dealing with is either a Method or a Field.
RelationshipField Used to manipulate Collection-typed properties.
RelationshipField.Adder  
 

Exception Summary
ExpressionEvaluatorException An Exception class for the ExpressionEvaluator class.
ExpressionException Represents an exceptional condition that has ocurred in some way related to Expressions.
FieldValueException The FieldValueException class provides a simple runtime exception for all the various problems which might occur within the FieldValue dispatch mechanism.
 


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.