org.oddjob.designer.elements
Class DateDE

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

public class DateDE
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
DateDE()
           
 
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.
 DateTimeAttribute getDate()
           
 TimeZoneAttribute getTimeZone()
           
 void setDate(DateTimeAttribute dateTime)
           
 void setTimeZone(TimeZoneAttribute timeZone)
           
 DateType toType()
           
 
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

DateDE

public DateDE()
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

getDate

public DateTimeAttribute getDate()
Returns:
Returns the date.

setDate

public void setDate(DateTimeAttribute dateTime)

getTimeZone

public TimeZoneAttribute getTimeZone()

setTimeZone

public void setTimeZone(TimeZoneAttribute timeZone)

toType

public DateType toType()
                throws org.xml.sax.SAXParseException
Throws:
org.xml.sax.SAXParseException