|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.upenn.crimson.Partition
public class Partition
Partition header info.
Field Summary | |
---|---|
private java.lang.String |
id
This is a unique name for the partition object. |
private int |
length
Total length of the partition's sequence. |
private java.lang.String |
modelID
Model specific to this partition object. |
private java.lang.String |
notes
Notes specific to this partition object. |
private java.lang.String |
treeID
This is the tree structure for this partition. |
Constructor Summary | |
---|---|
Partition(java.lang.String id,
Tree tree)
|
|
Partition(java.lang.String id,
Tree tree,
Model model,
int length,
java.lang.String notes)
|
Method Summary | |
---|---|
java.lang.String |
getID()
|
int |
getLength()
|
java.lang.String |
getModelID()
Returns the ID for the model underlying this partition. |
java.lang.String |
getNotes()
|
java.lang.String |
getTreeID()
Get the ID for the tree containing this partition. |
void |
setModelID(Model model)
Sets the ID for the model underlying this partition. |
void |
setNotes(java.lang.String notes)
Updates the notes field in the partition object and the PARTITIONS table. |
java.lang.String |
toString()
Returns Partition information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String id
private java.lang.String treeID
private java.lang.String modelID
private java.lang.String notes
private int length
Constructor Detail |
---|
public Partition(java.lang.String id, Tree tree)
public Partition(java.lang.String id, Tree tree, Model model, int length, java.lang.String notes) throws InvalidIDException
InvalidIDException
Method Detail |
---|
public java.lang.String getID()
public java.lang.String getTreeID()
public void setModelID(Model model)
public java.lang.String getModelID()
public void setNotes(java.lang.String notes)
public java.lang.String getNotes()
public int getLength()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |