|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Extendable annotation support for AnnotatedBioSequence objects. Stores the annotations attached to a sequence and helps find annotations in the list. According to the concept of communication between biological databases and tools you could receive information encoded in this object that is unknown to the developper of your application at the time of development. BiologicalAnnotations is designed in a way that in this case, you can obtain a default representation of the information that includes support for searching this information and for displaying it.
| Method Summary | |
void |
addAnnotation(BiologicalAnnotation a)
Adds an annotation to the list. |
java.lang.Object |
findAnnotation(java.lang.Class annotation_class)
Finds the annotation that supports the interface annotation_class. |
BiologicalAnnotation[] |
getAnnotations()
Returns the annotations in a array. |
java.net.URL |
getResidueURL(int position)
Returns the URL anchored to the index position. |
boolean |
removeAnnotation(BiologicalAnnotation a)
Removes an annotation from this list. |
java.lang.String |
toString()
Prints the content of this information. |
| Method Detail |
public void addAnnotation(BiologicalAnnotation a)
public boolean removeAnnotation(BiologicalAnnotation a)
public BiologicalAnnotation[] getAnnotations()
public java.net.URL getResidueURL(int position)
public java.lang.Object findAnnotation(java.lang.Class annotation_class)
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 | ||||||||