FDO SDK API Reference
    Preparing search index...

    Class DefaultLocalFDORecord

    FDORecord implementation that can hold a local ID. The local ID will be replaced by the publisher service with a PID.

    Hierarchy (View Summary)

    Implements

    Index
    attributes: Map<string, AttributeAnyType | AttributeAnyType[]> = ...
    localID: `LOCAL/${string}`

    The locally unique identifier of this record

    PID: string | undefined

    The globally unique and registered identifier of this record. Undefined only if this record has not been published yet.

    references: ReferenceDeclaration[] = []
    • 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

      Parameters

      • fromAttribute: string | AttributeDef<string, string, `${number}..${number}` | `${number}..*`>

        The attribute of this record where the reference will be placed

      • inverseAttribute: string | AttributeDef<string, string, `${number}..${number}` | `${number}..*`>

        The attribute of the target record where the back-reference will be placed

      • toRecord: string | IdentifiableFDORecord

        the record that should be referenced, or a local ID (LocalID) or PID of the referenced record. Must either be known locally or be resolvable via its PID

      Returns void

      FDORecord.addReference for unidirectional references

    • This attribute is the entry point to find the data associated with an FDO. If the identified resource is physical or conceptual, the string "self" is used. If the resource it digital, this attribute points to the Attribute that references the digital resource.

      Returns string | string[] | undefined