org.oddjob.designer.model
Interface DesignComponent

All Known Subinterfaces:
InsertableDesignComponent, StructuralDesignComponent
All Known Implementing Classes:
BaseDC, InsertableDC, RootDC, StructuralDC, UnknownDC, VariablesDC

public interface DesignComponent

A DesignComponent provides the configuration for a job.


Method Summary
 SimpleHierarchy availableActions()
           
 FormDefinition form()
           
 java.lang.String name()
          Used to name the component in the Designer tree view.
 void name(java.lang.String name)
          Used by the DesignFactory to provide the component with a default name.
 java.lang.String tag()
          Required for producing the XML.
 void tag(java.lang.String tag)
          Used by the DesignFactory to provide the component with it's tag.
 

Method Detail

form

public FormDefinition form()

name

public java.lang.String name()
Used to name the component in the Designer tree view. This is not a getter because the name would appear in the XML where it may not be a required attribute.

Returns:
The tag name.

name

public void name(java.lang.String name)
Used by the DesignFactory to provide the component with a default name.

Parameters:
name - The name

tag

public java.lang.String tag()
Required for producing the XML.

Returns:
The tag name.

tag

public void tag(java.lang.String tag)
Used by the DesignFactory to provide the component with it's tag.

Parameters:
tag - The tag.

availableActions

public SimpleHierarchy availableActions()