Create a MutableRecordModelImpl
a constructor function for creating RecordV2 implementations
the schema that this model corresponds to
The record data
Adds a new initialized record occurrence to the end of a variable multiplicity record list.
As the only variable multiplicity record can be the last one there is no need to name the record. This method will add to the list of occurrences of the last defined record. The record will be initialized with default values appropriate to the schema definition and may then have individual field items set separately.
this model
Add values to the last field in a record. Values can only be added if the record is variable
the schema of the record
the record's model data
the values to add
Get the model data for a record
the record for which to get the data
the index of the record
model data of the record
Convert a textual representation of a record entry to a record key
the key string
the parsed record key
Parse the field name and index part of a record key
the part of the key containing the field name and index
an array containing the field name and the field index
Returns the actual number of occurrences of a named record.
If the record is not variable, this is the same as the defined number of occurrences in the schema
the record name
the actual number of occurrences of the record
Removes the specified occurrence of a variable multiplicity field.
A variable multiplicity field must be the last or only field within a record and therefore the field name is not required.
the name of the record
the record index
the index of the field to remove
this model
Removes the specified occurrence of a variable multiplicity record.
A variable multiplicity record must be the last or only record within a schema and therefore the record name is not required.
the index of the record to remove
this model
Get the schema that this model corresponds to
Copyright © 2025 DiffusionData Ltd. All Rights Reserved.
Implementation of MutableRecordModel