org.oddjob.arooa.reflect
Class PropertyIdentifier<R,N>

java.lang.Object
  extended by org.oddjob.arooa.reflect.PropertyIdentifier<R,N>
Type Parameters:
R -

public class PropertyIdentifier<R,N>
extends Object

Provides a result based on a class definition, descriptor and element definition.

Author:
rob

Nested Class Summary
static interface PropertyIdentifier.ElementActionFactory<N>
          Element Action Factory
static interface PropertyIdentifier.PropertyTypeActions<R,N>
          Users of the PropertyIdentifier class provide an instance of this to provide the correct Result in the various possibilities for the property.
 
Constructor Summary
PropertyIdentifier(PropertyIdentifier.ElementActionFactory<N> actionFactory, PropertyIdentifier.PropertyTypeActions<R,N> elementAction)
          Constructor.
 
Method Summary
 R identifyPropertyFor(ArooaClass classId, ArooaElement element, ArooaContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyIdentifier

public PropertyIdentifier(PropertyIdentifier.ElementActionFactory<N> actionFactory,
                          PropertyIdentifier.PropertyTypeActions<R,N> elementAction)
Constructor.

Parameters:
elementAction -
Method Detail

identifyPropertyFor

public R identifyPropertyFor(ArooaClass classId,
                             ArooaElement element,
                             ArooaContext context)
                      throws ArooaConfigurationException
Throws:
ArooaConfigurationException