Class: ObjectNode

ObjectNode(d, o)

An "object" node.

Constructor

new ObjectNode(d, o)

Creates a new object node.
Parameters:
Name Type Description
d Designator | DesignatedObject The designator
o Object The object that is designated
Source:

Extends

Members

children

The node's children
Overrides:
Source:

id

The node's unique ID
Overrides:
Source:

TN_ID_COUNTER

A counter for traceability node IDs.
Overrides:
Source:

Methods

addChild()

Adds a child to the node.
Overrides:
Source:
Returns:
The node to add

getChildren()

Gets the children of this node.
Overrides:
Source:
Returns:
The list of children

getDesignatedObject()

Gets the designated object contained inside this node.
Source:

getId()

Gets the node'is unique ID.
Overrides:
Source:
Returns:
The node's ID