Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Relationship

Hierarchy

Index

Properties

cardinality

cardinality: "one-to-one" | "one-to-many" | "many-to-many"

The cardinality which specifies the number of objects in the origin FeatureLayer related to the number of objects in the destination FeatureLayer.

Read more...

composite

composite: boolean

Indicates whether the relationship is composite.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

id

id: number

The unique ID for the relationship.

Read more...

initialized

initialized: boolean

keyField

keyField: string

The field used to establish the relate within the FeatureLayer.

Read more...

keyFieldInRelationshipTable

keyFieldInRelationshipTable: string

The key field in an attributed relationship class table that matches the keyField.

Read more...

name

name: string

The name of the relationship.

Read more...

relatedTableId

relatedTableId: number

The unique ID of the related FeatureLayer.

Read more...

relationshipTableId

relationshipTableId: number

The relationship table id.

Read more...

role

role: "origin" | "destination"

Indicates whether the table participating in the relationship is the origin or destination table.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Relationship

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Relationship

  • Parameters

    Returns Relationship

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc