com.openharbor.beck.get
Class MemberGetter

java.lang.Object
  extended bycom.openharbor.beck.get.DefaultGetter
      extended bycom.openharbor.beck.get.MemberGetter
All Implemented Interfaces:
Getter

public class MemberGetter
extends DefaultGetter

Gets a member of a heterogeneous collection (typically a Collection).


Field Summary
 
Fields inherited from class com.openharbor.beck.get.DefaultGetter
log
 
Constructor Summary
MemberGetter()
           
 
Method Summary
 java.lang.String getName(java.lang.Class sourceClass)
           
 java.lang.Object getValue(java.lang.Object member)
           
 
Methods inherited from class com.openharbor.beck.get.DefaultGetter
getClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemberGetter

public MemberGetter()
Method Detail

getName

public java.lang.String getName(java.lang.Class sourceClass)
Returns:
the name of the object in the context of its parent or null to indicate that the object is anonymous (e.g. a collection member).

getValue

public java.lang.Object getValue(java.lang.Object member)
Returns:
the object to which this get refers.