Package com.reportmill.base
Class RMKey
- java.lang.Object
- 
- com.reportmill.base.RMKey
 
- 
 public class RMKey extends java.lang.ObjectThis class provides an optimized convenience for getting named values from arbitrary objects.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceRMKey.ValueForKeyThis interface is implemented by objects that want to handle getting key values themselves.static interfaceRMKey.ValueForKeyChainThis interface is implemented by objects that want to handle getting keychain values themselves.
 - 
Constructor SummaryConstructors Constructor Description RMKey()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static intintValueForKey(java.lang.Object anObj, java.lang.String aKey)Returns an int value for a key.static voidsetValueForKey(java.lang.Object anObj, java.lang.String aKey, java.lang.Object aValue)static java.lang.StringstringValueForKey(java.lang.Object anObj, java.lang.String aKey)Returns a string value for a key.static java.lang.ObjectvalueForKey(java.lang.Object anObj, java.lang.String aKey)Returns value for aKey from anObj, where aKey is expected to be a public method name, ivar, Map key, etc.
 
- 
- 
- 
Method Detail- 
valueForKeypublic static java.lang.Object valueForKey(java.lang.Object anObj, java.lang.String aKey)Returns value for aKey from anObj, where aKey is expected to be a public method name, ivar, Map key, etc.
 - 
setValueForKeypublic static void setValueForKey(java.lang.Object anObj, java.lang.String aKey, java.lang.Object aValue)
 - 
stringValueForKeypublic static java.lang.String stringValueForKey(java.lang.Object anObj, java.lang.String aKey)Returns a string value for a key.
 - 
intValueForKeypublic static int intValueForKey(java.lang.Object anObj, java.lang.String aKey)Returns an int value for a key.
 
- 
 
-