ElementAspect Class
An Element Aspect is a class that defines a set of properties that are related to (and owned by) a single element.
Semantically, an ElementAspect can be considered part of the Element. Thus, an ElementAspect is deleted if its owning Element is deleted.
BIS Guideline: Subclass ElementUniqueAspect or ElementMultiAspect rather than subclassing ElementAspect directly.
Extends
Extended by
Methods
Inherited methods
Name |
Inherited from |
Description |
collectReferenceIds(_referenceIds: EntityReferenceSet): void Protected Inherited |
Entity |
Collect the Ids of this entity's references at this level of the class hierarchy. |
forEachProperty(func: PropertyCallback, includeCustom: booleantrue): void Inherited |
Entity |
Call a function for each property of this Entity. |
getReferenceIds(): EntityReferenceSet Inherited |
Entity |
Get the set of this entity's entity references, EntityReferenceSet. |
is(otherClass: ): boolean Static Inherited |
Entity |
return whether this Entity class is a subclass of another Entity class |
Properties
Name |
Type |
Description |
|
className Accessor Static ReadOnly |
string |
The name of the BIS class associated with this class. |
|
element |
RelatedElement |
|
|
Inherited properties
Name |
Type |
Inherited from |
Description |
classFullName Accessor Inherited ReadOnly |
string |
Entity |
Get the full BIS class name of this Entity in the form "schema:class". |
classFullName Accessor Static Inherited ReadOnly |
string |
Entity |
Get the full BIS class name of this Entity in the form "schema:class" |
className Accessor Inherited ReadOnly |
string |
Entity |
The name of the BIS class associated with this class. |
id Inherited |
string |
Entity |
The Id of this Entity. |
iModel Inherited |
IModelDb |
Entity |
The IModelDb that contains this Entity |
isInstanceOfEntity Readonly Inherited |
"true" |
Entity |
An immutable property used to discriminate between Entity and EntityProps, used to inform the TypeScript compiler that these two types |
schema Static Inherited |
|
Entity |
The Schema that defines this class. |
schemaName Accessor Inherited ReadOnly |
string |
Entity |
The name of the BIS Schema that defines this class |
Defined in
Last Updated: 29 November, 2024