public class BeanDefinition
extends java.lang.Object
ArooaBeanDescriptor
to be
provided for the class by specifying additional PropertyDefinition
s.
Constructor and Description |
---|
BeanDefinition() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Getter for class name;
|
DesignFactory |
getDesign()
Getter for Design.
|
java.lang.String |
getDesignFactory()
Getter for design factory.
|
java.lang.String |
getElement()
Getter for element.
|
ParsingInterceptor |
getInterceptor()
Getter for interceptor.
|
void |
setAnnotations(int index,
AnnotationDefinition annotation)
Setter for annotations.
|
void |
setClassName(java.lang.String className)
Setter for class name.
|
void |
setDesign(DesignFactory design)
Setter for Design.
|
void |
setDesignFactory(java.lang.String designFactory)
Setter for design factory.
|
void |
setElement(java.lang.String element)
Setter for element
|
void |
setInterceptor(ParsingInterceptor parsingInterceptor)
Setter for interceptor.
|
void |
setProperties(int index,
PropertyDefinition property)
Setter for property definitions.
|
java.util.Collection<AnnotationDefinition> |
toAnnotationDefinitions()
Convert annotations to a collection.
|
java.util.Collection<PropertyDefinition> |
toPropertyDefinitions()
Convert the property definitions to a collection.
|
java.lang.String |
toString() |
public void setInterceptor(ParsingInterceptor parsingInterceptor)
parsingInterceptor
- public ParsingInterceptor getInterceptor()
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
className
- public java.lang.String getDesignFactory()
public void setDesignFactory(java.lang.String designFactory)
designFactory
- public DesignFactory getDesign()
public void setDesign(DesignFactory design)
design
- A Design Factory or null.public java.lang.String getElement()
public void setElement(java.lang.String element)
element
- public void setProperties(int index, PropertyDefinition property)
index
- property
- public java.util.Collection<PropertyDefinition> toPropertyDefinitions()
public void setAnnotations(int index, AnnotationDefinition annotation)
index
- annotation
- public java.util.Collection<AnnotationDefinition> toAnnotationDefinitions()
public java.lang.String toString()
toString
in class java.lang.Object