Options
All
  • Public
  • Public/Protected
  • All
Menu

A Quantity Kind is any observable property that can be measured and quantified numerically (http://qudt.org). Example quantity kinds are "Length", "Time", "Mass", ...

QuantityKinds can be subtypes of other kinds. For example, Length can be seen as a generalization of Distance, Height or Altitude. Vice versa is Distance a subtype of Length.

QuantityKinds cannot be instantiated, but must be retrieved from the QuantityKindRegistry.

Hierarchy

  • QuantityKind

Overview

Constructors

Private constructor

  • This class should not be instantiated by users of LuciadRIA.

    Returns QuantityKind

Accessors

baseQuantityKind

  • The base QuantityKind is the topmost supertype of this QuantityKind. For a base QuantityKind, this property refers to itself.

    Returns QuantityKind

generalization

    • The generalization of this QuantityKind is the immediate supertype of this QuantityKind. In case of a base QuantityKind the generalization is null.

    Returns QuantityKind | null

name

  • get name(): string
  • The name of this QuantityKind. This name is unique and identifies the QuantityKind in the QuantityKindRegistry.

    Returns string

Methods

isSubTypeOf

  • Checks wether the passed quantityKind is a supertype of this QuantityKind.

    Parameters

    • quantityKind: QuantityKind

      the QuantityKind that may or may not be a supertype of this QuantityKind

    Returns boolean

    true if the passed quantity is a supertype of this QuantityKind, false otherwise.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method