Annotation implementation which allows new key-value pairs to be layered
on top of an underlying Annotation.
Namespace:
BioSharp.Core.BioAssembly: BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)
Syntax
C# |
---|
public class OverlayAnnotation : AbstractChangeable, IAnnotation, IChangeable |
Remarks
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
System..::.Object
BioSharp.Core.Utils..::.AbstractChangeable
BioSharp.Core.Bio..::.OverlayAnnotation
BioSharp.Core.Utils..::.AbstractChangeable
BioSharp.Core.Bio..::.OverlayAnnotation