|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSALT.assessment.TrialInfo
public class TrialInfo
Provides getters and setters for a TrialInfo and a methods to compare TrialInfo objects and to sort ItemInfos.
Constructor Summary | |
---|---|
TrialInfo(int id)
Constructs a TrialInfo with the specified ID and ItemInfo. |
Method Summary | |
---|---|
void |
addItemInfo(ItemInfo itemInfo)
Adds an ItemInfo to the trial. |
int |
compareTo(java.lang.Object otherObject)
Sorts the TrialInfos list into ascending order of its elements. |
int |
getId()
Returns the ID of the trial. |
java.util.List<ItemInfo> |
getItemInfos()
Returns a list of ItemInfos. |
void |
setId(int id)
Sets the ID of the trial. |
void |
sortItemInfos()
Sorts the ItemInfos list into ascending order of its elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TrialInfo(int id)
id
- Method Detail |
---|
public int getId()
public void setId(int id)
id
- public void addItemInfo(ItemInfo itemInfo)
itemInfo
- public java.util.List<ItemInfo> getItemInfos()
public int compareTo(java.lang.Object otherObject)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(java.lang.Object)
public void sortItemInfos()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |