public class WriteMethod extends java.lang.Object implements Attribute.AttributeWriter
v2.1.1 Gordio - SERVICE PACK 1
project Ardulink http://www.ardulink.org/Constructor and Description |
---|
WriteMethod(java.lang.Object bean,
java.lang.String name,
java.lang.reflect.Method writeMethod) |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotations(java.util.Collection<java.lang.annotation.Annotation> annotations) |
java.lang.String |
getName() |
java.lang.Class<?> |
getType() |
static boolean |
isWriteMethod(java.lang.reflect.Method method) |
void |
setValue(java.lang.Object value) |
public WriteMethod(java.lang.Object bean, java.lang.String name, java.lang.reflect.Method writeMethod)
public void setValue(java.lang.Object value) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
setValue
in interface Attribute.AttributeWriter
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
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.AttributeWriter
public static boolean isWriteMethod(java.lang.reflect.Method method)
Copyright © 2019. All rights reserved.