Package org.oddjob.arooa
Interface ArooaBeanDescriptor
- All Known Implementing Classes:
LinkedBeanDescriptor,Oddjob.OddjobRootArooa,PropertiesBaseArooa,PropertiesJobArooa,PropertiesTypeArooa,VariablesJobArooa,XMLTypeArooa
public interface ArooaBeanDescriptor
A description of any special types of properties a
class might have.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionProvide annotation information about methods.default ArooaTypegetArooaType(String property) Get the type of the property.The name of the component property.getConfiguredHow(String property) How is a property configured.getFlavour(String property) Get the property flavour.Get TheParsingInterceptor.The name of the property which can be set using the text of an xml element.booleanIndicates that the property should be set automatically from the services.
-
Method Details
-
getParsingInterceptor
ParsingInterceptor getParsingInterceptor()Get TheParsingInterceptor.- Returns:
- A Parsing Interceptor or null if one isn't available
-
getTextProperty
String getTextProperty()The name of the property which can be set using the text of an xml element. At most only one property can be set using the text of an element.The actual property name is required because unlike components and values, the property name can not be derrived from an element name.
- Returns:
- The name of the property to be set using the text of the element. Will be null if the class doesn't support setting element text.
-
getComponentProperty
String getComponentProperty()The name of the component property. A bean can have at most one component property.- Returns:
- The name of the property or null if there isn't one.
-
getArooaType
Get the type of the property.- Parameters:
property- The property.- Returns:
- The type. Never null.
-
getConfiguredHow
How is a property configured.- Parameters:
property- The property name.- Returns:
- How the property is configured. Never null.
-
getFlavour
Get the property flavour. This is for services.- Parameters:
property- The property name.- Returns:
- The flavour. May be null.
-
isAuto
Indicates that the property should be set automatically from the services.- Parameters:
property- The property name.- Returns:
- true if the property can be set automatically, false otherwise.
-
getAnnotations
ArooaAnnotations getAnnotations()Provide annotation information about methods. Used to allow life cycle methods, and any other custom annotation methods to defined separately from the class.- Returns:
- The annotations.
-