public class Annotation extends Object implements ModelObject
| Modifier and Type | Field and Description |
|---|---|
static String |
copyright |
protected Annotation |
javaAnnotation |
protected Class |
javaAnnotationClass |
static org.slf4j.Logger |
logger |
protected Object |
parent |
protected String |
type |
protected List<String> |
values |
| Constructor and Description |
|---|
Annotation() |
Annotation(Object parent,
String type) |
Annotation(String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Unmarshaller u,
Object parent) |
Annotation |
getJavaAnnotation() |
Class |
getJavaAnnotationClass() |
Object |
getParent() |
String |
getType() |
List<String> |
getValues() |
void |
init(Model model) |
void |
link(Model model) |
void |
reset() |
void |
setParent(Object parent) |
void |
setType(String type) |
void |
visitChildren(ModelObjectVisitor visitor) |
public static final String copyright
protected Object parent
protected String type
protected Class javaAnnotationClass
protected Annotation javaAnnotation
public static final org.slf4j.Logger logger
public Annotation()
public Annotation(String type)
public void afterUnmarshal(Unmarshaller u, Object parent)
afterUnmarshal in interface ModelObjectpublic void reset()
reset in interface ModelObjectpublic void init(Model model)
init in interface ModelObjectpublic void link(Model model)
link in interface ModelObjectpublic void visitChildren(ModelObjectVisitor visitor)
visitChildren in interface ModelObjectpublic Object getParent()
public void setParent(Object parent)
public String getType()
public void setType(String type)
public Class getJavaAnnotationClass()
public Annotation getJavaAnnotation()