Arbitrary annotation associated with one or more objects.

Namespace:  BioSharp.Core.Bio
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (


public interface IAnnotation : IChangeable


Biological information often does not fit design patterns very well, and can be a jumble of facts and relationships. Annotation objects provide a standard way for you to store this mess as a property of an object.

Annotations may contain keys that have Annotations as values. In this way, annotations can be shared among multiple Annotatable objects, and you can represent semi-structured data.

It is perfectly possible to wrap up almost any tree-like or flat data structure as Annotation.

Other than when using the constructor, you should be able to interact with nearly all Annotation implementations via this API.

Note that in BioJava, this interface contains fields and nested objects, which is prohibited in .Net. All fields and objects have been moved to a separate static class, called Annotation.

Original BioJava version by Matthew Pocock and Thomas Down. Port to C# by Doug Swisher.

See Also