Member Junction
    Preparing search index...

    Metadata about an organic key defined on an entity — a set of fields that constitute a natural identifier for cross-system matching (e.g., email, phone, SSN). Maps to the MJ: Entity Organic Keys metadata entity.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • initData: {
            _RelatedEntities?: unknown[];
            EntityOrganicKeyRelatedEntities?: unknown[];
            RelatedEntities?: unknown[];
        } & Record<string, unknown> = null

      Returns EntityOrganicKeyInfo

    Properties

    __mj_CreatedAt: Date = null
    __mj_UpdatedAt: Date = null
    AutoCreateRelatedViewOnForm: boolean = false
    CustomNormalizationExpression: string = null
    Description: string = null
    Entity: string = null
    EntityID: string = null
    ID: string = null

    Primary Key

    MatchFieldNames: string = null
    Name: string = null
    NormalizationStrategy: "Custom" | "LowerCaseTrim" | "Trim" | "ExactMatch" = 'LowerCaseTrim'
    Sequence: number = 0
    Status: "Active" | "Disabled" = 'Active'

    Accessors

    Methods

    • Copies initialization data from a plain object to the class instance. Only copies properties that already exist on the class to prevent creating new fields. Special handling for DefaultValue fields to extract actual values from SQL Server syntax.

      Parameters

      • initData: any

        The initialization data object

      Returns void

    • Default JSON serialization for BaseInfo subclasses.

      Emits all non-underscored direct field declarations. For _-prefixed private backing fields (the MJ pattern for collection storage — e.g. _Fields, _RelatedEntities, _OrganicKeys), emits the value of the corresponding same-named public getter instead. Purely computed getters without a backing field (display-name formatters, derived flags) are intentionally skipped — they can throw when source fields are null and don't belong on the wire anyway.

      Nested BaseInfo instances and arrays of them unwrap automatically via JSON.stringify's native toJSON() protocol.

      Subclasses may override to emit a filtered subset or custom shape (see EntityFieldValueInfo).

      Returns Record<string, unknown>