public class AnnotationImp extends Object implements IAnnotationReader, IAnnotationPropertyWriter, IAnnotationLocationReader, IAnnotationLocationWriter
| Constructor and Description |
|---|
AnnotationImp(Class<? extends Annotation> annotation) |
AnnotationImp(IAnnotationReader reader) |
| Modifier and Type | Method and Description |
|---|---|
IAnnotationWriter |
and() |
Class<? extends Annotation> |
annotation() |
LocationEnum |
location() |
IAnnotationPropertyWriter |
location(LocationEnum location) |
Map<String,Object> |
properties() |
IAnnotationPropertyWriter |
property(Object value) |
IAnnotationPropertyWriter |
property(String property,
Object value) |
void |
setAnd(IAnnotationWriter writer) |
String |
toString() |
public AnnotationImp(Class<? extends Annotation> annotation)
annotation - to associatepublic AnnotationImp(IAnnotationReader reader)
reader - to associatespublic IAnnotationPropertyWriter property(Object value)
property in interface IAnnotationPropertyWritervalue - to setpublic IAnnotationPropertyWriter property(String property, Object value)
property in interface IAnnotationPropertyWriterproperty - the name of the property to setvalue - the value of the property setpublic Class<? extends Annotation> annotation()
annotation in interface IAnnotationReaderpublic Map<String,Object> properties()
properties in interface IAnnotationPropertyReaderpublic IAnnotationWriter and()
and in interface IAnnotationPropertyWriterpublic void setAnd(IAnnotationWriter writer)
setAnd in interface IAnnotationPropertyReaderwriter - to setpublic IAnnotationPropertyWriter location(LocationEnum location)
location in interface IAnnotationLocationWriterlocation - of annotationpublic LocationEnum location()
location in interface IAnnotationLocationReaderCopyright © 2017 Esfinge Framework. All rights reserved.