com.heckmansoft.surjey.model.vo
Class QuestionType

java.lang.Object
  extended bycom.heckmansoft.surjey.model.vo.ValueObject
      extended bycom.heckmansoft.surjey.model.vo.QuestionType
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class QuestionType
extends ValueObject

A question type.

See Also:
Serialized Form

Constructor Summary
QuestionType()
           
 
Method Summary
 int compareTo(java.lang.Object other)
           
 boolean equals(java.lang.Object other)
           
 java.lang.String getDescription()
           
 void setDescription(java.lang.String string)
           
 java.lang.String toString()
           
 
Methods inherited from class com.heckmansoft.surjey.model.vo.ValueObject
getId, getName, hashCode, setId, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuestionType

public QuestionType()
Method Detail

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String string)

toString

public java.lang.String toString()
Overrides:
toString in class ValueObject

equals

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

compareTo

public int compareTo(java.lang.Object other)
Specified by:
compareTo in interface java.lang.Comparable
Overrides:
compareTo in class ValueObject