ng-xtend API documentation
    Preparing search index...

    Class XtBaseTypeReference

    Internally manages a link between two types

    Implements

    Index

    Constructors

    • Creates a new type reference

      Parameters

      • toType: string

        The name of the referenced type

      • field: string

        The field on the referenced type that this reference points to

      • Optionaltype: string

        Optional resolved type name; defaults to UNRESOLVED_TYPE if not provided

      • OptionalreferenceType: "MANY-TO-ONE" | "ONE-TO-MANY"

        Optional cardinality of the relationship

      Returns XtBaseTypeReference

    Properties

    field: string
    referenceType?: "MANY-TO-ONE" | "ONE-TO-MANY"
    toType: string
    type?: string
    UNRESOLVED_TYPE: "UNRESOLVED" = 'UNRESOLVED'