Home Reference Source
public class | source

MapsTo

Extends:

Identified → MapsTo

Class to represent an SBOL2 MapsTo.

Constructor Summary

Public Constructor
public

constructor(sbolDocument: *, uri: *)

Member Summary

Public Members
public set

local(local: string | URI | Component | FunctionalComponent): *

Set the local component for this MapsTo.

public get

Retrieve the local component for this MapsTo.

public set

refinement(refinement: string | URI): *

Set the refinement property for this MapsTo.

public get

refinement: URI: *

Retrieve the refinement property for this MapsTo.

public set

remote(remote: string | URI | Component | FunctionalComponent): *

Set the remote component for this MapsTo.

public get

Retrieve the remote component for this MapsTo.

Method Summary

Public Methods
public

link()

Attempt to resolve the local and remote components by URI.

Public Constructors

public constructor(sbolDocument: *, uri: *) source

Parameters:

NameTypeAttributeDescription
sbolDocument *
uri *

Public Members

public set local(local: string | URI | Component | FunctionalComponent): * source

Set the local component for this MapsTo.

public get local: URI | Component | FunctionalComponent: * source

Retrieve the local component for this MapsTo.

Returns:

URI | Component | FunctionalComponent

[local]

public set refinement(refinement: string | URI): * source

Set the refinement property for this MapsTo.

public get refinement: URI: * source

Retrieve the refinement property for this MapsTo.

Returns:

URI

refinement

public set remote(remote: string | URI | Component | FunctionalComponent): * source

Set the remote component for this MapsTo.

public get remote: URI | Component | FunctionalComponent: * source

Retrieve the remote component for this MapsTo.

Returns:

URI | Component | FunctionalComponent

[remote]

Public Methods

Attempt to resolve the local and remote components by URI.