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 ModelObject
public void reset()
reset
in interface ModelObject
public void init(Model model)
init
in interface ModelObject
public void link(Model model)
link
in interface ModelObject
public void visitChildren(ModelObjectVisitor visitor)
visitChildren
in interface ModelObject
public Object getParent()
public void setParent(Object parent)
public String getType()
public void setType(String type)
public Class getJavaAnnotationClass()
public Annotation getJavaAnnotation()