Identified
Base class for all Identified SBOL2 objects.
Constructor Summary
| Public Constructor | ||
| public |
constructor(sbolDocument: *, uri: *) |
|
Member Summary
| Public Members | ||
| public get |
annotations: Object[]: * Retrieve the annotations for this Identified. |
|
| public get |
description: string: * Retrieve the description of this Identified. |
|
| public set |
description(description: string | URI): * Set the description of this Identified. |
|
| public set |
Set the display ID of this Identified. |
|
| public get |
Retrieve the display ID of this Identified. |
|
| public set |
Set the name of this Identified. |
|
| public get |
Retrieve the name of this Identified. |
|
| public get |
persistentIdentity: URI: * Retrieve the persistentIdentity of this Identified. |
|
| public set |
persistentIdentity(persistentIdentity: string | URI): * Set the persistentIdentity of this Identified. |
|
| public get |
uri: URI: * Retrieve the URI of this Identified. |
|
| public set |
Set the URI of this Identified. |
|
| public get |
Retrieve the version of this Identified. |
|
| public set |
Set the version of this Identified. |
|
| public set |
wasDerivedFrom(wasDerivedFrom: string | URI): * Set the wasDerivedFrom property of this Identified. |
|
| public get |
wasDerivedFrom: URI: * Retrieve the wasDerivedFrom property of this Identified. |
|
Method Summary
| Public Methods | ||
| public |
addAnnotation(name: string, value: string) Add an annotation to this Identified. |
|
| public |
getAnnotation(name: *): string Retrieve the first matching annotation for a given URI. |
|
| public |
getAnnotations(name: *): string[] Retrieve all annotations for a given URI |
|
Public Constructors
public constructor(sbolDocument: *, uri: *) source
Parameters:
| Name | Type | Attribute | Description |
| sbolDocument | * | ||
| uri | * |
Public Members
public get persistentIdentity: URI: * source
Retrieve the persistentIdentity of this Identified.
Returns:
| URI |
public set persistentIdentity(persistentIdentity: string | URI): * source
Set the persistentIdentity of this Identified.
public set wasDerivedFrom(wasDerivedFrom: string | URI): * source
Set the wasDerivedFrom property of this Identified.
public get wasDerivedFrom: URI: * source
Retrieve the wasDerivedFrom property of this Identified.
Returns:
| URI |