tutorial.survey
Class Survey
java.lang.Object
|
+--tutorial.survey.Survey
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class Survey
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
- Version:
- $Id: Survey.java,v 1.4 2001/05/02 18:07:07 hship Exp $
- Author:
- Howard Ship
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Survey
public Survey()
getPrimaryKey
public java.lang.Object getPrimaryKey()
setPrimaryKey
public void setPrimaryKey(java.lang.Object value)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String value)
getAge
public int getAge()
setAge
public void setAge(int value)
setSex
public void setSex(Sex value)
getSex
public Sex getSex()
setRace
public void setRace(Race value)
getRace
public Race getRace()
getLikesCats
public boolean getLikesCats()
setLikesCats
public void setLikesCats(boolean value)
getLikesDogs
public boolean getLikesDogs()
setLikesDogs
public void setLikesDogs(boolean value)
getLikesFerrits
public boolean getLikesFerrits()
setLikesFerrits
public void setLikesFerrits(boolean value)
getLikesTurnips
public boolean getLikesTurnips()
setLikesTurnips
public void setLikesTurnips(boolean value)
validate
public void validate()
throws java.lang.IllegalArgumentException
- Validates that the survey is acceptible; throws an
IllegalArgumentException
if not valid.
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object