Package com.inductiveautomation.rm.base
Class RMKey.KeyAccessor
java.lang.Object
com.inductiveautomation.rm.base.RMKey.KeyAccessor
- Enclosing class:
- RMKey
KeyAccessor - enclosed class for actually getting/setting values for a given object (class) and key.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionKeyAccessor
(Object anObj, String aKey) Creates a new getter for given object and key (caches type). -
Method Summary
Modifier and TypeMethodDescriptionThis method actually retrieves a value for an object and a key.Searches for a get method for given key then caches and returns result.Searches for a set method for given key then caches and returns result.void
This method actually retrieves a value for an object and a key.
-
Constructor Details
-
KeyAccessor
Creates a new getter for given object and key (caches type).
-
-
Method Details
-
get
This method actually retrieves a value for an object and a key. -
getGetMethod
Searches for a get method for given key then caches and returns result. -
set
This method actually retrieves a value for an object and a key.- Throws:
Exception
-
getSetMethod
Searches for a set method for given key then caches and returns result.- Throws:
Exception
-