Class: ConstantValue

ConstantValue(o)

Special type of value that always returns the same constant.

Constructor

new ConstantValue(o)

Parameters:
Name Type Description
o The constant to return
Source:

Extends

Members

value

The value represented by this constant
Source:

Methods

getValue()

Gets the concrete value carried by this Value object.
Overrides:
Source:
Returns:
The value

query(type, d, root, A)

Queries the provenance of a value.
Parameters:
Name Type Description
type The type of lineage relationship
d A designator representing the part of the object that is the subject of the query
root The node to which the rsults of the query should be appended as children
A factory to produce traceability nodes
Overrides:
Source:
Returns:
The list of terminal traceability nodes produced by this query