org.oddjob.arooa
Interface ArooaBeanDescriptor

All Known Implementing Classes:
BeanDescriptorHelper, LinkedBeanDescriptor, Oddjob.OddjobRootArooa, PropertiesBaseArooa, PropertiesJobArooa, PropertiesTypeArooa, PropertyDefinitionsHelper, VariablesJobArooa, XMLTypeArooa

public interface ArooaBeanDescriptor

A description of any special types of properties a class might have.

See Also:
ArooaDescriptor}

Method Summary
 ArooaAnnotations getAnnotations()
          Provide annotation information about methods.
 String getComponentProperty()
          The name of the component property.
 ConfiguredHow getConfiguredHow(String property)
          How is a property configured.
 String getFlavour(String property)
          Get the property flavour.
 ParsingInterceptor getParsingInterceptor()
          Get The ParsingInterceptor.
 String getTextProperty()
          The name of the property which can be set using the text of an xml element.
 boolean isAuto(String property)
          Indicates that the property should be set automatically from the services.
 

Method Detail

getParsingInterceptor

ParsingInterceptor getParsingInterceptor()
Get The ParsingInterceptor.

Returns:

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.

Returns:

getConfiguredHow

ConfiguredHow getConfiguredHow(String property)
How is a property configured.

Parameters:
property - The property name.
Returns:
How the property is configured. Never null.

getFlavour

String getFlavour(String property)
Get the property flavour. This is for services.

Parameters:
property - The property name.
Returns:
The flavour. May be null.

isAuto

boolean isAuto(String property)
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.