Hide menu
Loading...
Searching...
No Matches
DatumRefCompartmentAttribute

Defines a datum reference compartment attribute.

Extends

Constructors

Constructor

‍new DatumRefCompartmentAttribute(): DatumRefCompartmentAttribute

Returns

DatumRefCompartmentAttribute

Inherited from

SemanticAttribute.constructor

Properties

modifierAttributes

‍readonly modifierAttributes: ModifierAttribute[] = []

Modifier attributes.


references

‍readonly references: SemanticAttribute[] = []

Datum references.

Accessors

id

Get Signature

‍get id(): bigint

Returns the unique identifier of the object.

Returns

bigint

Inherited from

SemanticAttribute.id

Methods

accept()

‍accept(visitor): void

Accepts a semantic attribute visitor.

Parameters

visitor

SemanticAttributeVisitor

Visitor to accept.

Returns

void

Overrides

SemanticAttribute.accept


addModifierAttribute()

‍addModifierAttribute(attribute): void

Adds a modifier attribute.

Parameters

attribute

ModifierAttribute

Modifier attribute.

Returns

void

Deprecated

Use DatumRefCompartmentAttribute.modifierAttributes and modifierAttributes.push instead.


addReference()

‍addReference(reference): void

Adds a datum reference compartment.

Parameters

reference

DatumRefAttribute | DatumRefCompartmentAttribute

Datum reference or datum reference compartment.

Returns

void

Deprecated

Use DatumRefCompartmentAttribute.references and references.push instead.


modifierAttribute()

‍modifierAttribute(index): ModifierAttribute

Returns a modifier attribute by index.

Parameters

index

number

Modifier attribute index.

Returns

ModifierAttribute

Deprecated

Use DatumRefCompartmentAttribute.modifierAttributes and modifierAttributes[index] instead.

Throws

RangeError If the index is out of bounds.


numberOfModifierAttributes()

‍numberOfModifierAttributes(): number

Returns the number of modifier attributes.

Returns

number

Deprecated

Use DatumRefCompartmentAttribute.modifierAttributes and modifierAttributes.length instead.


numberOfReferences()

‍numberOfReferences(): number

Returns the number of references.

Returns

number

Deprecated

Use DatumRefCompartmentAttribute.references and references.length instead.


reference()

‍reference(index): SemanticAttribute

Returns a reference by index.

Parameters

index

number

Reference index.

Returns

SemanticAttribute

Deprecated

Use DatumRefCompartmentAttribute.references and references[index] instead.

Throws

RangeError If the index is out of bounds.