org.oddjob.designer.elements
Class ConnectionDE

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.ConnectionDE
All Implemented Interfaces:
DesignAttribute, DesignElement

public class ConnectionDE
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
ConnectionDE()
           
 
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.
 SimpleTextAttribute getDriver()
           
 SimpleTextAttribute getPassword()
           
 SimpleTextAttribute getUrl()
           
 SimpleTextAttribute getUsername()
           
 void setDriver(SimpleTextAttribute driver)
           
 void setPassword(SimpleTextAttribute password)
           
 void setUrl(SimpleTextAttribute url)
           
 void setUsername(SimpleTextAttribute username)
           
 
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

ConnectionDE

public ConnectionDE()
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.

getDriver

public SimpleTextAttribute getDriver()

setDriver

public void setDriver(SimpleTextAttribute driver)

getUrl

public SimpleTextAttribute getUrl()

setUrl

public void setUrl(SimpleTextAttribute url)

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

getPassword

public SimpleTextAttribute getPassword()

setPassword

public void setPassword(SimpleTextAttribute password)

getUsername

public SimpleTextAttribute getUsername()

setUsername

public void setUsername(SimpleTextAttribute username)