SequenceAnnotation
Extends:
Class to represent an SBOL2 SequenceAnnotation.
Constructor Summary
| Public Constructor | ||
| public | 
       constructor(sbolDocument: *, uri: *)  | 
    |
Member Summary
| Public Members | ||
| public set | 
      
       Set the component for this SequenceAnnotation.  | 
    |
| public get | 
      
       Retrieve the component for this SequenceAnnotation.  | 
    |
| public get | 
       locations: Location[]: * Retrieve the list of locations assigned to this SequenceAnnotation.  | 
    |
| public get | 
      
       Retrieve the list of range locations assigned to this SequenceAnnotation.  | 
    |
Method Summary
| Public Methods | ||
| public | 
       addLocation(location: string | URI | Range | Cut | GenericLocation) Add a location to this SequenceAnnotation.  | 
    |
| public | 
       link() Attempt to resolve the location(s) and component by URI.  | 
    |
Public Constructors
public constructor(sbolDocument: *, uri: *) source
Parameters:
| Name | Type | Attribute | Description | 
| sbolDocument | * | ||
| uri | * | 
Public Members
public set component(component: string | URI | Component): * source
Set the component for this SequenceAnnotation.
public get component: URI | Component: * source
Retrieve the component for this SequenceAnnotation. May return a URI if the Component has not yet been resolved.
public get locations: Location[]: * source
Retrieve the list of locations assigned to this SequenceAnnotation. There may be URIs present in this list if the location(s) have not yet been resolved.
Returns:
| Location[] | 
Public Methods
public addLocation(location: string | URI | Range | Cut | GenericLocation) source
Add a location to this SequenceAnnotation.
Parameters:
| Name | Type | Attribute | Description | 
| location | string | URI | Range | Cut | GenericLocation | 
  |