cmu.survey.objects
Interface Answer
- All Known Subinterfaces:
- AnswerWithSupplementalInfo
- All Known Implementing Classes:
- AnswerGendered, AnswerSQL, AnswerStub
public interface Answer
isTypeNumeric
boolean isTypeNumeric()
isTypeString
boolean isTypeString()
isTypeKey
boolean isTypeKey()
getDefaultValue
java.lang.String getDefaultValue()
setDefaultValue
void setDefaultValue(java.lang.String defaultValueToSet)
setType
boolean setType(java.lang.String newType)
- Parameters:
newType
-
- Returns:
- success or not (false means a failure)
getType
java.lang.String getType()
getDescriptor
java.lang.String getDescriptor()
- The descriptor is the label that should be used as a reference. Then, the storage class will be able to retrieve a copy of the answer from it.
- Returns:
getValue
java.lang.String getValue()
getFieldName
java.lang.String getFieldName()
- Returns: