Package org.oddjob.arooa.deploy
Class ClassMappingsList
java.lang.Object
org.oddjob.arooa.deploy.ClassMappingsList
- All Implemented Interfaces:
ElementMappings
Amalgamate
ElementMappings. Used by ListDescriptor- Author:
- rob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMappings(ElementMappings mappings) designFor(ArooaElement element, InstantiationContext parentContext) Provide a mapping from an element to the name of a java class that is a DesignFactory for the element.elementsFor(InstantiationContext propertyContext) Provide a list of all elements in this mapping that support the given context.getBeanDoc(ArooaType arooaType) Get the BeanDocMappingsContentsfor this mapping.mappingFor(ArooaElement element, InstantiationContext parentContext) Provide a mapping from an element to the name of a java class.
-
Constructor Details
-
ClassMappingsList
public ClassMappingsList()
-
-
Method Details
-
addMappings
-
mappingFor
Description copied from interface:ElementMappingsProvide a mapping from an element to the name of a java class.- Specified by:
mappingForin interfaceElementMappings- Parameters:
element- The element.parentContext- The InstantiationContext.- Returns:
- The ArooaClass. Null if no mappings exists.
-
designFor
Description copied from interface:ElementMappingsProvide a mapping from an element to the name of a java class that is a DesignFactory for the element.- Specified by:
designForin interfaceElementMappings- Parameters:
element- The element.parentContext- The InstantiationContext.- Returns:
- The DesignFactory. May be null.
-
elementsFor
Description copied from interface:ElementMappingsProvide a list of all elements in this mapping that support the given context.- Specified by:
elementsForin interfaceElementMappings- Returns:
- The elements. May be null.
-
getBeanDoc
Description copied from interface:ElementMappingsGet the BeanDocMappingsContentsfor this mapping.- Specified by:
getBeanDocin interfaceElementMappings- Parameters:
arooaType- The type of Mapping.- Returns:
- The BeanDoc. May be null.
-