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 SummaryNested Classes Modifier and Type Class Description static classRMKey.KeyAccessor.Type
 - 
Constructor SummaryConstructors Constructor Description KeyAccessor(java.lang.Object anObj, java.lang.String aKey)Creates a new getter for given object and key (caches type).
 - 
Method SummaryAll 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- 
getpublic java.lang.Object get(java.lang.Object anObj) This method actually retrieves a value for an object and a key.
 - 
getGetMethodpublic java.lang.reflect.Method getGetMethod() Searches for a get method for given key then caches and returns result.
 - 
setpublic 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
 
 - 
getSetMethodpublic 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
 
 
- 
 
-