public class FieldAccess extends java.lang.Object implements Attribute.AttributeReader, Attribute.AttributeWriter
v2.1.1 Gordio - SERVICE PACK 1
project Ardulink http://www.ardulink.org/Constructor and Description |
---|
FieldAccess(java.lang.Object bean,
java.lang.String name,
java.lang.reflect.Field field) |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotations(java.util.Collection<java.lang.annotation.Annotation> annotations) |
java.lang.String |
getName() |
java.lang.Class<?> |
getType() |
java.lang.Object |
getValue() |
void |
setValue(java.lang.Object value) |
public FieldAccess(java.lang.Object bean, java.lang.String name, java.lang.reflect.Field field)
public java.lang.Object getValue() throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException
getValue
in interface Attribute.AttributeReader
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
public void setValue(java.lang.Object value) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException
setValue
in interface Attribute.AttributeWriter
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
public java.lang.Class<?> getType()
getType
in interface Attribute.TypedAttributeProvider
public java.lang.String getName()
getName
in interface Attribute.TypedAttributeProvider
public void addAnnotations(java.util.Collection<java.lang.annotation.Annotation> annotations)
addAnnotations
in interface Attribute.AttributeReader
addAnnotations
in interface Attribute.AttributeWriter
Copyright © 2019. All rights reserved.