com.heckmansoft.surjey.model.vo
Class Survey

java.lang.Object
  extended bycom.heckmansoft.surjey.model.vo.ValueObject
      extended bycom.heckmansoft.surjey.model.vo.Survey
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable
Direct Known Subclasses:
LazySurvey

public class Survey
extends ValueObject

A survey. Contains a list of sections.

See Also:
Serialized Form

Constructor Summary
Survey()
           
 
Method Summary
 int compareTo(java.lang.Object other)
           
 boolean equals(java.lang.Object other)
           
 java.lang.String getDescription()
           
 ValueObjectList getSections()
           
 boolean sectionsIsNull()
           
 void setDescription(java.lang.String string)
           
 void setSections(ValueObjectList sections)
           
 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

Survey

public Survey()
Method Detail

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String string)

getSections

public ValueObjectList getSections()

setSections

public void setSections(ValueObjectList sections)

sectionsIsNull

public boolean sectionsIsNull()

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

toString

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