org.oddjob.designer.elements.persisters
Class SqlPersisterDE

java.lang.Object
  extended byjava.util.Observable
      extended byorg.oddjob.designer.model.DesignAdult
          extended byorg.oddjob.designer.model.DesignElementType
              extended byorg.oddjob.designer.model.DesignElementAttribute
                  extended byorg.oddjob.designer.elements.persisters.SqlPersisterDE
All Implemented Interfaces:
DesignAttribute, DesignElement

public class SqlPersisterDE
extends DesignElementAttribute


Field Summary
 
Fields inherited from class org.oddjob.designer.model.DesignElementType
detailObserver
 
Fields inherited from class org.oddjob.designer.model.DesignAdult
parent
 
Constructor Summary
SqlPersisterDE()
           
 
Method Summary
 void clear()
          Clear the DesignElement of Data.
 DesignDefinition detail()
          The method is overridden by sub classes which have a detailed definition for their configuration.
 ConnectionDE getConnection()
           
 SimpleTextAttribute getPrefix()
           
 void setConnection(ConnectionDE connection)
           
 void setPrefix(SimpleTextAttribute prefix)
           
 
Methods inherited from class org.oddjob.designer.model.DesignElementAttribute
attribute, attribute
 
Methods inherited from class org.oddjob.designer.model.DesignElementType
getName, hasDetail, setName, type, type
 
Methods inherited from class org.oddjob.designer.model.DesignAdult
addChild, childCount, childElements, children, children, clearChildren, createType, insertChild, parent, removeChild, supportedTypes, supportedTypes
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.oddjob.designer.model.DesignElement
hasDetail
 

Constructor Detail

SqlPersisterDE

public SqlPersisterDE()
Method Detail

detail

public DesignDefinition detail()
Description copied from interface: DesignElement
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 DesignElement
Overrides:
detail in class DesignElementType
Returns:
The DesignDefinition for their configuration.

clear

public void clear()
Description copied from interface: DesignElement
Clear the DesignElement of Data. This method will be called when a selection changes.

Specified by:
clear in interface DesignElement
Overrides:
clear in class DesignElementAttribute

getPrefix

public SimpleTextAttribute getPrefix()

setPrefix

public void setPrefix(SimpleTextAttribute prefix)

getConnection

public ConnectionDE getConnection()

setConnection

public void setConnection(ConnectionDE connection)