Component
Extends:
Class to represent an SBOL2 component instantiation.
Constructor Summary
| Public Constructor | ||
| public |
constructor(sbolDocument: *, uri: *) |
|
Member Summary
| Public Members | ||
| public set |
Set the access property for this Component. |
|
| public get |
access: URI: * Retrieve the access property for this Component. |
|
| public set |
definition(definition: string | URI | ComponentDefinition): * Set the ComponentDefinition for this Component. |
|
| public get |
definition: URI | ComponentDefinition: * Retrieve the ComponentDefinition for this Component. |
|
Method Summary
| Public Methods | ||
| public |
link() Attempt to resolve the URI of the definition. |
|
Public Constructors
public constructor(sbolDocument: *, uri: *) source
Parameters:
| Name | Type | Attribute | Description |
| sbolDocument | * | ||
| uri | * |
Public Members
public get access: URI: * source
Retrieve the access property for this Component.
Returns:
| URI | [access] |
public set definition(definition: string | URI | ComponentDefinition): * source
Set the ComponentDefinition for this Component.
public get definition: URI | ComponentDefinition: * source
Retrieve the ComponentDefinition for this Component. Returns either a URI or a ComponentDefinition, depending on whether the URI has been resolved by link().