Interaction
Extends:
Class to represent an SBOL2 Interaction.
Constructor Summary
Public Constructor | ||
public |
constructor(sbolDocument: *, uri: *) |
Member Summary
Public Members | ||
public get |
participations: Participation[]: * Retrieve the list of Participations for this Interaction. |
|
public get |
types: URI[]: * Retrieve a list of types for this Interaction. |
Method Summary
Public Methods | ||
public |
addParticipation(participation: string | URI | Paticipation) Add a Participation to this Interaction. |
|
public |
Add a type to this Interaction. |
|
public |
link() Attempt to resolve participations by URI. |
Public Constructors
public constructor(sbolDocument: *, uri: *) source
Parameters:
Name | Type | Attribute | Description |
sbolDocument | * | ||
uri | * |
Public Members
public get participations: Participation[]: * source
Retrieve the list of Participations for this Interaction. There may be URIs present in this list if the participation(s) have not yet been resolved.
public get types: URI[]: * source
Retrieve a list of types for this Interaction.
Returns:
URI[] | [types] |
Public Methods
public addParticipation(participation: string | URI | Paticipation) source
Add a Participation to this Interaction.
Parameters:
Name | Type | Attribute | Description |
participation | string | URI | Paticipation |
|