org.oddjob.arooa.design
Class MappedDesignProperty.InstanceWrapper
java.lang.Object
org.oddjob.arooa.design.MappedDesignProperty.InstanceWrapper
- All Implemented Interfaces:
- DesignInstance
- Enclosing class:
- MappedDesignProperty
public static class MappedDesignProperty.InstanceWrapper
- extends Object
- implements DesignInstance
MappedDesignProperty.InstanceWrapper
public MappedDesignProperty.InstanceWrapper(DesignInstance wrapping,
String key)
detail
public Form detail()
- Description copied from interface:
DesignInstance
- The method is overridden by sub classes which have a detailed
definition for their configuration. For DesignElement which
hasn't got detail this method should never be called, and as such
it should throw a RuntimeException if it is.
- Specified by:
detail
in interface DesignInstance
- Returns:
- The DesignDefinition for their configuration. Never null.
element
public ArooaElement element()
- Description copied from interface:
DesignInstance
- Required for producing the XML.
- Specified by:
element
in interface DesignInstance
- Returns:
- The element.
getArooaContext
public ArooaContext getArooaContext()
- Description copied from interface:
DesignInstance
- Get the
ArooaContext
associated with this instance.
- Specified by:
getArooaContext
in interface DesignInstance
- Returns:
- The context. Never null.
getWrapping
public DesignInstance getWrapping()
toString
public String toString()
- Overrides:
toString
in class Object