All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jfd.ale.FieldToComponentMapper

public interface FieldToComponentMapper

Method Index

 o mapToComponent(Field)
Return a reference to the Component member variable whose Field object is passed in.

Methods

 o mapToComponent
 public abstract Component mapToComponent(Field f) throws Exception
Return a reference to the Component member variable whose Field object is passed in. Note, although this is an interface mapToComponent should be implemented exactly like this:
 public Component mapToComponent(Field f) throws Exception
 {
    return((Component)f.get(this));
 }
 
By any class implementing this interface.

Parameters:
f - the field object corresponding to the Component to which a reference is needed.
Throws: Exception
thrown if a reference to the Component cannot be obtained

All Packages  Class Hierarchy  This Package  Previous  Next  Index