Participation
Extends:
Identified → Participation
Class to represent a participation in an Interaction.
Constructor Summary
| Public Constructor | ||
| public |
constructor(sbolDocument: *, uri: *) |
|
Member Summary
| Public Members | ||
| public get |
Retrieve the list of participants for this Participation. |
|
| public get |
roles: URI[]: * Retrieve the list of roles assigned to this Participation. |
|
Method Summary
| Public Methods | ||
| public |
addParticipant(participant: string | URI | FunctionalComponent) Add a participant to this Participation. |
|
| public |
Assign a role to this Participation. |
|
| public |
link() Attempt to resolve all participants by URI. |
|
Public Constructors
public constructor(sbolDocument: *, uri: *) source
Parameters:
| Name | Type | Attribute | Description |
| sbolDocument | * | ||
| uri | * |
Public Members
public get participants: FunctionalComponent[]: * source
Retrieve the list of participants for this Participation. There may be URIs present in this list if the participant(s) have not yet been resolved.
public get roles: URI[]: * source
Retrieve the list of roles assigned to this Participation.
Returns:
| URI[] | [roles] |
Public Methods
public addParticipant(participant: string | URI | FunctionalComponent) source
Add a participant to this Participation.
Parameters:
| Name | Type | Attribute | Description |
| participant | string | URI | FunctionalComponent |
|