Protected Readonly_handlesProtected_idThe unique ID for this entity. Once set, this should never change.
Protected Readonly_itemThe item type for this entity when it participates in an App.
Protected_sourceReadonlycardinalityThe cardinality of the relationship.
ReadonlydestinationIn attributed relationships, this is the foreign key in the intermediate table that relates the rows of the intermediate table to the destination layer or table. This property will only be exposed if the relationship is attributed.
ReadonlykeyThe key field in the source.
ReadonlyoriginIn an attributed relationship, originForeignKey is the foreign key in the intermediate table, which relates the rows of the intermediate table to the origin layer or table. This property will only be exposed if the relationship is attributed.
The tasks/query/QueryService!QueryService to use for fetching related features. The service must be configured with a provider that can handle the related source.
ReadonlyrelatedThe key field in the related source. Needed for two-sided relationships but isn't needed for one-sided ones.
ReadonlyrelatedThe feature source with related data, if available.
ReadonlyrelationshipThe ID of the intermediate table in the feature service for attributed relationships. This property will only be exposed if the relationship is attributed.
ReadonlyrelationshipThe type of relationship.
The human-readable name for the relationship.
Determines how a parent object should handle initialization failure in this object. The default is "warn".
"error": support/InitializeError!InitializeError is thrown."warn": Message is logged and
support/InitializableBase!InitializeWarningEvent is raised."ignore": support/InitializableBase!InitializeWarningEvent is
raised.The unique ID for this entity.
Whether the relationship is attributed.
The item type for this entity when it participates in an App.
The feature source that owns this relationship.
Protected_getCalled to get related features. Subclasses must override this.
Protected_getCalled to get related features. Subclasses must override this.
Optionaloptions: FetchRelatedFeaturesOptionsProtected_getThe property keys and their metadata that are used to implement serializing and deserializing the class instance.
Protected_initializableCollections of child items to initialize. Items that fail to initialize are removed from the collection.
Protected_initializeProtected_onProtected_onCalled to perform initialization of the support/InitializableBase!InitializableBase. Subclasses should override this method rather than initialize() to perform custom initialization.
Protected_postProtected_toConverts the value to a PropertyDef object.
The value to convert.
Sets the properties for this item.
A plain object containing property values to set, keyed by property name.
Sets the properties for this item.
This version will also await any asynchronous logic that is needed to set the properties.
A plain object containing property values to set, keyed by property name.
Gets features that are related to the each of the given features.
Optionaloptions: FetchRelatedFeaturesOptionsGets the default value of an object's property.
The property of the object for which to get the default value.
Gets the object's default property values.
Gets features that are related to the given feature.
Optionaloptions: FetchRelatedFeaturesOptionsReturns the serializable properties.
OptionalserializeMode: SerializeModeOptional. If specified, only properties that support the given serialization mode will be returned.
Returns a serializable representation of the item.
If specified, only properties that are appropriate for the given mode are returned. Otherwise, all properties will be serialized.
A data/_Relationship!Relationship that works by querying the queryRelatedRecords endpoint of a FeatureLayer, Table, or ArcGIS Sublayer.