Package com.reportmill.base
Class RMKey
java.lang.Object
com.reportmill.base.RMKey
This class provides an optimized convenience for getting named values from arbitrary objects.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceThis interface is implemented by objects that want to handle getting key values themselves.static interfaceThis interface is implemented by objects that want to handle getting keychain values themselves.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic intintValueForKey(Object anObj, String aKey) Returns an int value for a key.static voidsetValueForKey(Object anObj, String aKey, Object aValue) static StringstringValueForKey(Object anObj, String aKey) Returns a string value for a key.static ObjectvalueForKey(Object anObj, String aKey) Returns value for aKey from anObj, where aKey is expected to be a public method name, ivar, Map key, etc.
- 
Constructor Details- 
RMKeypublic RMKey()
 
- 
- 
Method Details- 
valueForKeyReturns value for aKey from anObj, where aKey is expected to be a public method name, ivar, Map key, etc.
- 
setValueForKey
- 
stringValueForKeyReturns a string value for a key.
- 
intValueForKeyReturns an int value for a key.
 
-