public class BeanDescriptorBuilder extends Object implements BeanDescriptorAccumulator
ArooaBeanDescriptor. This
is the main implementation and as such should really have a different
name.
DefaultBeanDescriptorProvider,
AnnotatedBeanDescriptorContributor,
ArooaDescriptorBean| Constructor and Description |
|---|
BeanDescriptorBuilder(ArooaClass classFor)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeProperty(String propertyName) |
void |
addElementProperty(String propertyName) |
void |
addHiddenProperty(String propertyName) |
ArooaBeanDescriptor |
build() |
ArooaClass |
getClassIdentifier()
Get the class identifier this is the descriptor for.
|
BeanDescriptorBuilder |
setArooaAnnotations(ArooaAnnotations arooaAnnotations) |
void |
setAuto(String propertyName) |
void |
setComponentProperty(String property)
Set the component property.
|
void |
setFlavour(String property,
String flavour)
Set the flavour for a property.
|
void |
setParsingInterceptor(ParsingInterceptor interceptor)
Set the parsing interceptor.
|
void |
setTextProperty(String property)
Set the text property.
|
String |
toString() |
public BeanDescriptorBuilder(ArooaClass classFor)
classFor - public ArooaClass getClassIdentifier()
getClassIdentifier in interface ConfiguredHowAccumulatorpublic void addElementProperty(String propertyName)
addElementProperty in interface ConfiguredHowAccumulatorpublic void addAttributeProperty(String propertyName)
addAttributeProperty in interface ConfiguredHowAccumulatorpublic void addHiddenProperty(String propertyName)
addHiddenProperty in interface BeanDescriptorAccumulatorpublic void setAuto(String propertyName)
setAuto in interface BeanDescriptorAccumulatorpublic void setComponentProperty(String property)
setComponentProperty in interface BeanDescriptorAccumulatorproperty - public void setTextProperty(String property)
setTextProperty in interface BeanDescriptorAccumulatorproperty - public void setFlavour(String property, String flavour)
setFlavour in interface BeanDescriptorAccumulatorproperty - flavour - public void setParsingInterceptor(ParsingInterceptor interceptor)
AnnotatedBeanDescriptorContributor.setParsingInterceptor in interface BeanDescriptorAccumulatorinterceptor - public BeanDescriptorBuilder setArooaAnnotations(ArooaAnnotations arooaAnnotations)
public ArooaBeanDescriptor build()
Copyright © 2023. All rights reserved.