public class ClassMappingsList extends java.lang.Object implements ElementMappings
ElementMappings. Used by ListDescriptor| Constructor and Description |
|---|
ClassMappingsList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMappings(ElementMappings mappings) |
DesignFactory |
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.
|
ArooaElement[] |
elementsFor(InstantiationContext propertyContext)
Provide a list of all elements in this mapping that support
the given context.
|
MappingsContents |
getBeanDoc(ArooaType arooaType)
Get the BeanDoc for this mapping.
|
ArooaClass |
mappingFor(ArooaElement element,
InstantiationContext parentContext)
Provide a mapping from an element to the name of a java class.
|
public void addMappings(ElementMappings mappings)
public ArooaClass mappingFor(ArooaElement element, InstantiationContext parentContext)
ElementMappingsmappingFor in interface ElementMappingselement - The element.parentContext - The InstantiationContext.public DesignFactory designFor(ArooaElement element, InstantiationContext parentContext)
ElementMappingsdesignFor in interface ElementMappingselement - The element.parentContext - The InstantiationContext.public ArooaElement[] elementsFor(InstantiationContext propertyContext)
ElementMappingselementsFor in interface ElementMappingspublic MappingsContents getBeanDoc(ArooaType arooaType)
ElementMappingsgetBeanDoc in interface ElementMappingsarooaType - The type of Mapping.