ReadonlyPIDThe globally unique and registered identifier of this record. Undefined only if this record has not been published yet.
Add an attribute to the record. This method does not override existing data.
PID of the attribute
New value of the attribute. Can be an array to add multiple values, if allowed by the attribute.
Add an attribute to the record. This method does not override existing data.
Mark this record as conformant to the specified profile and add at least the required attributes of the profile.
Add a unidirectional reference from this record to another record. The target record must either be known locally or be resolvable via its PID
The attribute of this record where the reference will be placed
FDORecord.addReferenceBidi for bidirectional references
Add a bidirectional reference from this record to another record and back. The target record must be in the current local or remote graph in order to create the back-reference
The attribute of this record where the reference will be placed
The attribute of the target record where the back-reference will be placed
FDORecord.addReference for unidirectional references
Retrieve the values(s) of an attribute in this record.
the value of the attribute, or undefined if the attribute is not present on this record
Get a map of all attributes present on this record
a map of attribute PIDs to attribute values
Get a list of profiles this record conforms to. Can be used for validation. Each profile is globally identified by its PID.
Get a list of outgoing references from this record to other records. Locally used to realize bidirectional references when the FDO Graph is published.
Set the value of the specified attribute. Will add the attribute to the record if it does not exist yet. Will replace (all) existing value(s) of this attribute with the specified value.
PID of the attribute.
New value of the attribute. Can be an array to add multiple values, if allowed by the attribute.
Set the value of the specified attribute. Will add the attribute to the record if it does not exist yet. Will replace (all) existing value(s) of this attribute with the specified value.
Returns the contents of this record in a plain format, to be used with JSON.stringify
Returns the content of this record as a string, mainly useful for logging and debugging.
Represents a single FDO record that is optionally associated with a registered PID.
A record consists of attributes, each with one or more values. Each attribute is uniquely identified by its PID.