Skip to content

Commit 0b496af

Browse files
Felixandreasprlic
authored andcommitted
/* Annotations. */
1 parent 7e1d4be commit 0b496af

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

wiki/BioJava:BioJavaXDocs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,7 @@ Annotations and Comments.
18631863
The original BioJava allowed annotations to take the form of any object
18641864
as the key, with any other object as the value. BioJavaX restricts this
18651865
significantly in order to make life easier when dealing with databases.
1866-
The new requirement, for RichAnnotation objects, is that they keys are
1866+
The new requirement, for RichAnnotation objects, is that the keys are
18671867
all instances of ComparableTerm, and the values are all instances of
18681868
String.
18691869

wiki/BioJava:BioJavaXDocs.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ for (Iterator i = feature.getFeatureRelationshipSet().iterator(); i.hasNext(); )
17951795

17961796
=== Annotations. ===
17971797

1798-
The original BioJava allowed annotations to take the form of any object as the key, with any other object as the value. BioJavaX restricts this significantly in order to make life easier when dealing with databases. The new requirement, for RichAnnotation objects, is that they keys are all instances of ComparableTerm, and the values are all instances of String.
1798+
The original BioJava allowed annotations to take the form of any object as the key, with any other object as the value. BioJavaX restricts this significantly in order to make life easier when dealing with databases. The new requirement, for RichAnnotation objects, is that the keys are all instances of ComparableTerm, and the values are all instances of String.
17991799

18001800
Anything which is annotatable (eg. BioEntry, RichFeature, etc.) will implement RichAnnotatable. You can then use getAnnotation() to obtain the RichAnnotation object and start annotating with it.
18011801

0 commit comments

Comments
 (0)