KindOfQuantity Class
A Typescript class representation of a KindOfQuantity.
Extends
Methods
Name | Description | |
---|---|---|
fromJSON(kindOfQuantityProps: KindOfQuantityProps): Promise<void> | ||
fromJSONSync(kindOfQuantityProps: KindOfQuantityProps): void | ||
toJSON(standalone: booleanfalse, includeSchemaVersion: booleanfalse): KindOfQuantityProps | Save this KindOfQuantity's properties to an object for serializing to JSON. | |
isKindOfQuantity(item?: SchemaItem): item is KindOfQuantity Static | Type guard to check if the SchemaItem is of type KindOfQuantity. |
Inherited methods
Name | Inherited from | Description |
---|---|---|
equalByKey(thisSchemaItem: SchemaItem, thatSchemaItemOrKey?: SchemaItemKey | SchemaItem): boolean Static Inherited | SchemaItem | Indicates if the two SchemaItem objects are equal by comparing their respective key properties. |
parseFullName(fullName: string): [string, string] Static Inherited | SchemaItem | Parses the given full name, {schemaName}.{schemaItemName} or {schemaName}:{schemaItemName}, into two separate strings. |
Properties
Name | Type | Description | |
---|---|---|---|
defaultPresentationFormat Accessor ReadOnly | undefined | OverrideFormat | LazyLoadedFormat | The first presentation format in the list of Formats. | |
persistenceUnit Accessor ReadOnly | undefined | LazyLoadedUnit | LazyLoadedInvertedUnit | Persistence unit | |
presentationFormats Accessor ReadOnly | OverrideFormat | LazyLoadedFormat[] | A list of presentation formats. | |
relativeError Accessor ReadOnly | number | ||
schemaItemType Readonly | SchemaItemType | Get the type of item represented by this instance |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
description Accessor Inherited ReadOnly | undefined | string | SchemaItem | |
fullName Accessor Inherited ReadOnly | string | SchemaItem | |
key Accessor Inherited ReadOnly | SchemaItemKey | SchemaItem | |
label Accessor Inherited ReadOnly | undefined | string | SchemaItem | |
name Accessor Inherited ReadOnly | string | SchemaItem | |
schema Readonly Inherited | Schema | SchemaItem |
Defined in
Last Updated: 26 April, 2025
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.