|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sourceforge.espro.model.AbstractModel org.sourceforge.espro.model.QData
public class QData
The Questionnaire Data (QData) object represents the data of the questionnaire and is attached to the questionnaire.
Field Summary |
---|
Fields inherited from class org.sourceforge.espro.model.AbstractModel |
---|
pcs |
Constructor Summary | |
---|---|
QData()
Creates a new instance of QData |
Method Summary | |
---|---|
void |
addPerson(Person p)
Adds a Person to the QData object. |
java.util.ArrayList<Person> |
getPersons()
Returns the list of persons. |
void |
setPersons(java.util.ArrayList<Person> persons)
Sets the list of persons. |
void |
setSaved(boolean saved)
Sets the QData saved. |
int |
size()
Returns the actual size of the questionnaire data. |
Methods inherited from class org.sourceforge.espro.model.AbstractModel |
---|
addPropertyChangeListener, addPropertyChangeListener, isSaved, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QData()
Method Detail |
---|
public void addPerson(Person p)
p
- The Person instance.public java.util.ArrayList<Person> getPersons()
public void setPersons(java.util.ArrayList<Person> persons)
persons
- The persons.public void setSaved(boolean saved)
setSaved
in class AbstractModel
saved
- Saved or not - true or false.public int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |