public class BeanDefinition extends Object
Constructor and Description |
---|
BeanDefinition() |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Getter for class name;
|
String |
getDesignFactory()
Getter for design factory.
|
String |
getElement()
Getter for element.
|
ParsingInterceptor |
getInterceptor()
Getter for interceptor.
|
void |
setAnnotations(int index,
AnnotationDefinition annotation)
Setter for annotations.
|
void |
setClassName(String className)
Setter for class name.
|
void |
setDesignFactory(String designFactory)
Setter for design factory.
|
void |
setElement(String element)
Setter for element
|
void |
setInterceptor(ParsingInterceptor parsingInterceptor)
Setter for interceptor.
|
void |
setProperties(int index,
PropertyDefinition property)
Setter for property definitions.
|
Collection<AnnotationDefinition> |
toAnnotationDefinitions()
Convert annotations to a collection.
|
Collection<PropertyDefinition> |
toPropertyDefinitions()
Convert the property definitions to a collection.
|
String |
toString() |
public void setInterceptor(ParsingInterceptor parsingInterceptor)
parsingInterceptor
- public ParsingInterceptor getInterceptor()
public String getClassName()
public void setClassName(String className)
className
- public String getDesignFactory()
public void setDesignFactory(String designFactory)
designFactory
- public String getElement()
public void setElement(String element)
element
- public void setProperties(int index, PropertyDefinition property)
index
- property
- public Collection<PropertyDefinition> toPropertyDefinitions()
public void setAnnotations(int index, AnnotationDefinition annotation)
index
- annotation
- public Collection<AnnotationDefinition> toAnnotationDefinitions()