Package com.inductiveautomation.rm.base
Class RMKey.KeyAccessor
- java.lang.Object
 - 
- com.inductiveautomation.rm.base.RMKey.KeyAccessor
 
 
- 
- Enclosing class:
 - RMKey
 
public static class RMKey.KeyAccessor extends java.lang.ObjectKeyAccessor - enclosed class for actually getting/setting values for a given object (class) and key. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRMKey.KeyAccessor.Type 
- 
Constructor Summary
Constructors Constructor Description KeyAccessor(java.lang.Object anObj, java.lang.String aKey)Creates a new getter for given object and key (caches type). 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(java.lang.Object anObj)This method actually retrieves a value for an object and a key.java.lang.reflect.MethodgetGetMethod()Searches for a get method for given key then caches and returns result.java.lang.reflect.MethodgetSetMethod()Searches for a set method for given key then caches and returns result.voidset(java.lang.Object anObj, java.lang.Object aValue)This method actually retrieves a value for an object and a key. 
 - 
 
- 
- 
Method Detail
- 
get
public java.lang.Object get(java.lang.Object anObj)
This method actually retrieves a value for an object and a key. 
- 
getGetMethod
public java.lang.reflect.Method getGetMethod()
Searches for a get method for given key then caches and returns result. 
- 
set
public void set(java.lang.Object anObj, java.lang.Object aValue) throws java.lang.ExceptionThis method actually retrieves a value for an object and a key.- Throws:
 java.lang.Exception
 
- 
getSetMethod
public java.lang.reflect.Method getSetMethod() throws java.lang.ExceptionSearches for a set method for given key then caches and returns result.- Throws:
 java.lang.Exception
 
 - 
 
 -