Annotation implementation which allows new key-value pairs to be layered on top of an underlying Annotation.

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


public class OverlayAnnotation : AbstractChangeable, 
	IAnnotation, IChangeable


When getProperty is called, we first check for a value stored in the overlay. If this fails, the underlying Annotation is checked. Values passed to setProperty are always stored within the overlay.

In the case where you wish to wrap an underlying Annotation in a view that will allow it to be edited without altering the original object, but also reflect changes in the original object.

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

Inheritance Hierarchy


See Also