Defines a datum reference compartment attribute.
new DatumRefCompartmentAttribute():
DatumRefCompartmentAttribute
DatumRefCompartmentAttribute
readonlymodifierAttributes:ModifierAttribute[] =[]
Modifier attributes.
readonlyreferences:SemanticAttribute[] =[]
Datum references.
get id():
bigint
Returns the unique identifier of the object.
bigint
accept(
visitor):void
Accepts a semantic attribute visitor.
Visitor to accept.
void
addModifierAttribute(
attribute):void
Adds a modifier attribute.
Modifier attribute.
void
Use DatumRefCompartmentAttribute.modifierAttributes and modifierAttributes.push instead.
addReference(
reference):void
Adds a datum reference compartment.
DatumRefAttribute | DatumRefCompartmentAttribute
Datum reference or datum reference compartment.
void
Use DatumRefCompartmentAttribute.references and references.push instead.
modifierAttribute(
index):ModifierAttribute
Returns a modifier attribute by index.
number
Modifier attribute index.
Use DatumRefCompartmentAttribute.modifierAttributes and modifierAttributes[index] instead.
RangeError If the index is out of bounds.
numberOfModifierAttributes():
number
Returns the number of modifier attributes.
number
Use DatumRefCompartmentAttribute.modifierAttributes and modifierAttributes.length instead.
numberOfReferences():
number
Returns the number of references.
number
Use DatumRefCompartmentAttribute.references and references.length instead.
reference(
index):SemanticAttribute
Returns a reference by index.
number
Reference index.
Use DatumRefCompartmentAttribute.references and references[index] instead.
RangeError If the index is out of bounds.