public static class BeanProperties.DefaultAttribute extends java.lang.Object implements Attribute
Attribute.AttributeReader, Attribute.AttributeWriter, Attribute.TypedAttributeProvider
Constructor and Description |
---|
DefaultAttribute(java.lang.String name,
java.lang.Class<?> type,
Attribute.AttributeReader reader,
Attribute.AttributeWriter writer) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRead() |
boolean |
canWrite() |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
java.lang.String |
getName() |
java.lang.Class<?> |
getType() |
java.lang.Object |
readValue() |
void |
writeValue(java.lang.Object value) |
public DefaultAttribute(java.lang.String name, java.lang.Class<?> type, Attribute.AttributeReader reader, Attribute.AttributeWriter writer)
public java.lang.Object readValue() throws java.lang.Exception
public void writeValue(java.lang.Object value) throws java.lang.Exception
writeValue
in interface Attribute
java.lang.Exception
public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations
in interface Attribute
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation
in interface Attribute
Copyright © 2019. All rights reserved.