cmu.survey.data.databits
Class DateDataBit

java.lang.Object
  extended by cmu.survey.data.databits.DataBit<java.util.Date>
      extended by cmu.survey.data.databits.DateDataBit
All Implemented Interfaces:
java.lang.Cloneable, CloneablePublicly, CanAddPropertyChangeListener

public class DateDataBit
extends DataBit<java.util.Date>
implements CloneablePublicly


Field Summary
 
Fields inherited from class cmu.survey.data.databits.DataBit
lastSavedValue, propertyChangeSupport
 
Constructor Summary
DateDataBit(java.lang.String dataFieldName)
           
DateDataBit(java.lang.String dataFieldName, java.util.Date startValue)
           
 
Method Summary
 java.lang.Object clone()
           
 DateDataBit copy()
           
 boolean equals(java.lang.Object compareMe)
           
 java.lang.String toString()
           
 
Methods inherited from class cmu.survey.data.databits.DataBit
addPropertyChangeListener, getLastSavedValue, getName, getValue, hasBeenModified, isEditable, removePropertyChangeListener, setEditable, setHasBeenModified, setHasBeenModified, setLastSavedObjectValue, setLastSavedValue, setValue, setValueGetUndo
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateDataBit

public DateDataBit(java.lang.String dataFieldName)
Parameters:
dataFieldName -

DateDataBit

public DateDataBit(java.lang.String dataFieldName,
                   java.util.Date startValue)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class DataBit<java.util.Date>

equals

public boolean equals(java.lang.Object compareMe)
Overrides:
equals in class java.lang.Object

copy

public DateDataBit copy()
Specified by:
copy in class DataBit<java.util.Date>

clone

public java.lang.Object clone()
Specified by:
clone in interface CloneablePublicly
Overrides:
clone in class DataBit<java.util.Date>