cmu.survey.data.databits
Class StringDataBit

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

public class StringDataBit
extends DataBit<java.lang.String>


Field Summary
 
Fields inherited from class cmu.survey.data.databits.DataBit
lastSavedValue, propertyChangeSupport
 
Constructor Summary
StringDataBit(java.lang.String dataFieldName)
           
StringDataBit(java.lang.String dataFieldName, java.lang.String startValue)
           
 
Method Summary
 StringDataBit copy()
           
 boolean equals(java.lang.Object compareMe)
           
 java.lang.String getValue()
          Kept around for cross-compilation with Java 1.4.
 boolean hasBeenModified()
          Kept around for cross-compilation with Java 1.4.
 void setValue(java.lang.String newValue)
          Kept around for cross-compilation with Java 1.4.
 java.lang.String toString()
           
 
Methods inherited from class cmu.survey.data.databits.DataBit
addPropertyChangeListener, clone, getLastSavedValue, getName, isEditable, removePropertyChangeListener, setEditable, setHasBeenModified, setHasBeenModified, setLastSavedObjectValue, setLastSavedValue, setValueGetUndo
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringDataBit

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

StringDataBit

public StringDataBit(java.lang.String dataFieldName,
                     java.lang.String startValue)
Method Detail

toString

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

equals

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

copy

public StringDataBit copy()
Specified by:
copy in class DataBit<java.lang.String>

hasBeenModified

public boolean hasBeenModified()
Kept around for cross-compilation with Java 1.4. This is a compiler bug -- as soon as all 1.4 code is removed, this can be removed.

Overrides:
hasBeenModified in class DataBit<java.lang.String>
Returns:

getValue

public java.lang.String getValue()
Kept around for cross-compilation with Java 1.4. This is a compiler bug -- as soon as all 1.4 code is removed, this can be removed.

Overrides:
getValue in class DataBit<java.lang.String>

setValue

public void setValue(java.lang.String newValue)
Kept around for cross-compilation with Java 1.4. This is a compiler bug -- as soon as all 1.4 code is removed, this can be removed.

Overrides:
setValue in class DataBit<java.lang.String>