org.oddjob.arooa.design.etc
Class UnknownComponent

java.lang.Object
  extended by org.oddjob.arooa.design.etc.UnknownInstance
      extended by org.oddjob.arooa.design.etc.UnknownComponent
All Implemented Interfaces:
DesignComponent, DesignInstance, Unknown

public class UnknownComponent
extends UnknownInstance
implements DesignComponent


Constructor Summary
UnknownComponent(ArooaElement element, ArooaContext parentContext)
           
 
Method Summary
 void addStructuralListener(DesignListener listener)
           
 String getId()
          Get the id of the instance, if there is one.
 void removeStructuralListener(DesignListener listener)
           
 void setId(String id)
          Set the id of the instance.
 
Methods inherited from class org.oddjob.arooa.design.etc.UnknownInstance
detail, element, getArooaContext, getXml, setXml, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.oddjob.arooa.design.DesignInstance
detail, element, getArooaContext
 

Constructor Detail

UnknownComponent

public UnknownComponent(ArooaElement element,
                        ArooaContext parentContext)
Method Detail

addStructuralListener

public void addStructuralListener(DesignListener listener)
Specified by:
addStructuralListener in interface DesignComponent

removeStructuralListener

public void removeStructuralListener(DesignListener listener)
Specified by:
removeStructuralListener in interface DesignComponent

getId

public String getId()
Description copied from interface: DesignComponent
Get the id of the instance, if there is one.

Specified by:
getId in interface DesignComponent
Returns:
The id. May be null.

setId

public void setId(String id)
Description copied from interface: DesignComponent
Set the id of the instance.

Specified by:
setId in interface DesignComponent
Parameters:
id - The id. May be null.