Home Reference Source
public class | source

FunctionalComponent

Extends:

Identified → FunctionalComponent

Class to represent an SBOL2 functional component instantiation.

Functional components are instantiations of ComponentDefinitions that live inside ModuleDefinitions.

Constructor Summary

Public Constructor
public

constructor(sbolDocument: *, uri: *)

Member Summary

Public Members
public set

access(access: string | URI): *

Set the access property for this FunctionalComponent.

public get

access: URI: *

Retrieve the access property for this FunctionalComponent.

public set

definition(definition: string | URI | ComponentDefinition): *

Set the ComponentDefinition for this FunctionalComponent.

public get

Retrieve the ComponentDefinition for this FunctionalComponent.

public set

direction(direction: string | URI): *

Set the direction property for this FunctionalComponent.

public get

direction: URI: *

Retrieve the direction property for this FunctionalComponent.

Public Constructors

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

Parameters:

NameTypeAttributeDescription
sbolDocument *
uri *

Public Members

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

Set the access property for this FunctionalComponent.

public get access: URI: * source

Retrieve the access property for this FunctionalComponent.

Returns:

URI

[access]

public set definition(definition: string | URI | ComponentDefinition): * source

Set the ComponentDefinition for this FunctionalComponent.

public get definition: URI | ComponentDefinition: * source

Retrieve the ComponentDefinition for this FunctionalComponent. Returns either a URI or a ComponentDefinition, depending on whether the URI has been resolved by link().

Returns:

URI | ComponentDefinition

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

Set the direction property for this FunctionalComponent.

public get direction: URI: * source

Retrieve the direction property for this FunctionalComponent.

Returns:

URI

[direction]