ElementUniqueAspect Class
An Element Unique Aspect is an ElementAspect where there can be only zero or one instance of the Element Aspect class per Element.
Extends
Extended by
Inherited methods
Name | Inherited from | Description |
---|---|---|
collectReferenceIds(referenceIds: Set<string>): void Protected | ElementAspect | Collect the Ids of this entity's references at this level of the class hierarchy. |
forEachProperty(func: PropertyCallback, includeCustom: boolean = true): void | ElementAspect | Call a function for each property of this Entity. |
getReferenceIds(): Set<string> | ElementAspect | Get the Ids of this element's references. |
is(otherClass: undefined): boolean Static | ElementAspect | return whether this Entity class is a subclass of another Entity class |
onDelete(_arg: OnAspectIdArg): void ProtectedStatic | ElementAspect | Called before an ElementAspect is deleted. |
onDeleted(_arg: OnAspectIdArg): void ProtectedStatic | ElementAspect | Called after an ElementAspect was deleted. |
onInsert(_arg: OnAspectPropsArg): void ProtectedStatic | ElementAspect | Called before a new ElementAspect is inserted. |
onInserted(_arg: OnAspectPropsArg): void ProtectedStatic | ElementAspect | Called after a new ElementAspect was inserted. |
onUpdate(_arg: OnAspectPropsArg): void ProtectedStatic | ElementAspect | Called before an ElementAspect is updated. |
onUpdated(_arg: OnAspectPropsArg): void ProtectedStatic | ElementAspect | Called after an ElementAspect was updated. |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
classFullName Accessor ReadOnly | string | ElementAspect | Get the full BIS class name of this Entity in the form "schema:class". |
classFullName Accessor StaticReadOnly | string | ElementAspect | Get the full BIS class name of this Entity in the form "schema:class" |
className Accessor ReadOnly | string | ElementAspect | The name of the BIS class associated with this class. |
element | RelatedElement | ElementAspect | |
id | string | ElementAspect | The Id of this Entity. |
iModel | IModelDb | ElementAspect | The IModelDb that contains this Entity |
isInstanceOfEntity Readonly | "true" | ElementAspect | An immutable property used to discriminate between Entity and EntityProps, used to inform the TypeScript compiler that these two types |
schema Static | undefined | ElementAspect | The Schema that defines this class. |
schemaName Accessor ReadOnly | string | ElementAspect | The name of the BIS Schema that defines this class |
Defined in
- backend/src/ElementAspect.ts Line 103
Last Updated: 30 November, 2023