Property Class @preview

A common abstract class for all ECProperty types.

Extended by

Implements

Methods

Name Description
fromJSON(propertyProps: PropertyProps): Promise<void>    
fromJSONSync(propertyProps: PropertyProps): void    
getCategorySync(): PropertyCategory | undefined    
getCustomAttributes(): Promise<CustomAttributeSet> Retrieve all custom attributes in the current property and its base  
getCustomAttributesSync(): CustomAttributeSet Retrieve all custom attributes in the current property and its base.  
getKindOfQuantitySync(): KindOfQuantity | undefined    
isArray(): this is AnyArrayProperty    
isEnumeration(): this is AnyEnumerationProperty    
isNavigation(): this is NavigationProperty    
isPrimitive(): this is AnyPrimitiveProperty    
isStruct(): this is AnyStructProperty    
toJSON(): PropertyProps Save this Property's properties to an object for serializing to JSON.  

Properties

Name Type Description
category Accessor ReadOnly LazyLoadedPropertyCategory | undefined    
class Accessor ReadOnly AnyClass    
customAttributes Accessor ReadOnly CustomAttributeSet | undefined    
description Accessor ReadOnly string | undefined    
fullName Accessor ReadOnly string Returns the name in the format 'ClassName.PropertyName'.  
isReadOnly Accessor ReadOnly boolean    
kindOfQuantity Accessor ReadOnly LazyLoadedKindOfQuantity | undefined    
label Accessor ReadOnly string | undefined    
name Accessor ReadOnly string    
priority Accessor ReadOnly number    
propertyType Accessor ReadOnly PropertyType    
schema Accessor ReadOnly Schema Returns the schema of the class holding the property.  

Defined in

Last Updated: 11 May, 2026