For multi value properties, adds the value to the value array. Works only if the value is not already contained.
Persistent name of the attribute
New value to add
Whether the operation was successful.
Unsets the value for an attribute
Persistent name of the attribute
Whether the operation was successful.
Connects an object to the other object via a relation of the given type. If an object can have only one relation an earlier relation is replaced. The objects are connected in both directions.
Second Building block to connect to
Persistent name of the relationship end to connect to
Whether the operation was successful.
Disconnects an object from the other object.
Second Building block to disconnect from
Persistent name of the relationship end to disconnect from
Whether the operation was successful.
Id of the building block
Gets inner properties of Building Block attribute by its persistent name (mandatory, multiple and type attribute properties are available)
Persistent name of the attribute
Get the assigned object for a single assignment relation, does not work for multi assignment relations.
Persistent name of the relation end
The related building block or null if no building block exists on the relation end
Get an array of objects for a multi assignment relation, does not work for single assignment relations.
Persistent name of the relation end
Get the value for a property that can have only a single value. Does not work for multi value properties.
Persistent name of the attribute
Get the array of values for a property that can have more than one value. Returns empty array if no values are assigned. Does not work for single value properties.
Persistent name of the attribute
Removes the corresponding Object from the model.
For multi value properties, removes the value from the value array. Works only if the value is contained.
Persistent name of the attribute
Existing value to remove
Whether the operation was successful.
for single value properties, replaces the current value with the new value
Persistent name of the attribute
New value to set
Whether the operation was successful.
For multi value properties, replaces the current value array with a new array of values
Persistent name of the attribute
New values to set
Whether the operation was successful.
Generated using TypeDoc
declare interface to single Building Blocks of the datamodel