Instance.PropertyArray.appendConceptReference()

Signature

void appendConceptReference (PropertyArrayConceptReference arr, Concept instance, long time)

Domain

action

Description

Creates a new PropertyAtomConceptReference set to instance with initial history timestamp time and adds it to the end of the PropertyArray arr. Use instanceY.arr[instanceY.arr@length] = instanceX for appending with system current time.

Parameters

NameTypeDescription
arrPropertyArrayA PropertyArray to append an element to.
instanceConceptA value to append to the PropertyArray arr.
timelongThe initial history timestamp.

Returns

None.

Cautions

Use instanceY.arr[instanceY.arr@length] = instanceX for appending with system current time

Example


Instance.PropertyArray.appendConceptReference (instanceY.conceptRefProperty, instanceX, 1111111111111);

Result is: last element of array instanceY.conceptRefProperty contains a reference to instanceX with initial timestamp 1111111111111.