public static class ResourceDMBean.FieldAccessor extends java.lang.Object implements ResourceDMBean.Accessor
Modifier and Type | Field and Description |
---|---|
protected java.lang.reflect.Field |
field |
protected java.lang.Object |
target |
Constructor and Description |
---|
FieldAccessor(java.lang.reflect.Field field,
java.lang.Object target) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Field |
getField() |
java.lang.Object |
invoke(java.lang.Object new_val)
Invokes a getter or setter.
|
java.lang.String |
toString() |
protected final java.lang.reflect.Field field
protected final java.lang.Object target
public FieldAccessor(java.lang.reflect.Field field, java.lang.Object target)
public java.lang.reflect.Field getField()
public java.lang.Object invoke(java.lang.Object new_val) throws java.lang.Exception
ResourceDMBean.Accessor
invoke
in interface ResourceDMBean.Accessor
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1998-2020 Red Hat. All Rights Reserved.