|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface presents the API for a holder of nucleic acid.
Examples of such holders include alleles, other nucleic acids, chromosomes, etc.
| Method Summary | |
void |
addNucleicAcid(INucleicAcid aNucleicAcid)
Adds a nucleic acid to the holder. |
void |
endElement(java.lang.String anElementName)
Handle notification that the parsing of the given element has ended. |
int |
getID()
Returns the ID of this object. |
World |
getWorld()
Returns the world containing this holder |
boolean |
removeNucleicAcid(INucleicAcid aNucleicAcid)
Removes a nucleic acid from the holder. |
| Method Detail |
public int getID()
public void addNucleicAcid(INucleicAcid aNucleicAcid)
Package protected because this is only called from the nucleic acid's constructor. Creating a nucleic acid automatically adds it to the holder via this method.
aNucleicAcid - INucleicAcid - a new nucleic acid, may not be nulljava.lang.IllegalArgumentException - - input argument illegalpublic boolean removeNucleicAcid(INucleicAcid aNucleicAcid)
Package protected because this is only called from the nucleic acid's delete method. Deleting a nucleic acid automatically removes it from the holder via this method.
aNucleicAcid - INucleicAcid - a nucleic acid, may not be nulljava.lang.IllegalArgumentException - - input argument illegalpublic World getWorld()
public void endElement(java.lang.String anElementName)
throws org.xml.sax.SAXException
anElementName - String - the element name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||