|
ReportMill 12 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.reportmill.base.RMKey.KeyAccessor
public static class RMKey.KeyAccessor
KeyAccessor - enclosed class for actually getting/setting values for a given object (class) and key.
| Field Summary | |
|---|---|
static int |
TYPE_FIELD
|
static int |
TYPE_GETSET
|
static int |
TYPE_LISTKEY
|
static int |
TYPE_MAP
|
static int |
TYPE_METHODS
|
static int |
TYPE_UNKNOWN
|
| Constructor Summary | |
|---|---|
RMKey.KeyAccessor(java.lang.Object anObj,
java.lang.String aKey)
Creates a new getter for given object and key (caches type). |
|
| Method Summary | |
|---|---|
java.lang.Object |
get(java.lang.Object anObj)
This method actually retrieves a value for an object and a key. |
java.lang.reflect.Method |
getGetMethod()
Searches for a get method for given key then caches and returns result. |
java.lang.reflect.Method |
getSetMethod()
Searches for a set method for given key then caches and returns result. |
boolean |
set(java.lang.Object anObj,
java.lang.Object aValue)
This method actually retrieves a value for an object and a key. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_MAP
public static final int TYPE_GETSET
public static final int TYPE_METHODS
public static final int TYPE_FIELD
public static final int TYPE_LISTKEY
public static final int TYPE_UNKNOWN
| Constructor Detail |
|---|
public RMKey.KeyAccessor(java.lang.Object anObj,
java.lang.String aKey)
| Method Detail |
|---|
public java.lang.Object get(java.lang.Object anObj)
public java.lang.reflect.Method getGetMethod()
public boolean set(java.lang.Object anObj,
java.lang.Object aValue)
public java.lang.reflect.Method getSetMethod()
|
ReportMill 12 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||