org.oddjob.arooa.design.etc
Class UnknownInstance
java.lang.Object
org.oddjob.arooa.design.etc.UnknownInstance
- All Implemented Interfaces:
- DesignInstance, Unknown
- Direct Known Subclasses:
- UnknownComponent
public class UnknownInstance
- extends Object
- implements DesignInstance, Unknown
UnknownInstance
public UnknownInstance(ArooaElement element,
ArooaContext parentContext)
element
public ArooaElement element()
- Description copied from interface:
DesignInstance
- Required for producing the XML.
- Specified by:
element
in interface DesignInstance
- Returns:
- The element.
toString
public String toString()
- Overrides:
toString
in class Object
setXml
public void setXml(String xml)
- Specified by:
setXml
in interface Unknown
getXml
public String getXml()
- Specified by:
getXml
in interface Unknown
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.
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.