A model pack is a combination of a domain and a reference to a model within that domain.

Its domain contains at least all the types and models that are used in the model pack, so that the model can be resolved.

Implements

Constructors

  • Parameters

    • Optional domain: Domain
    • Optional reference: string

    Returns ModelPack

Properties

_domain?: Domain
_reference?: string

Accessors

  • get channels(): InterfaceChannel[]
  • All channels that have to exist in the model that is referenced by the model pack.

    Returns InterfaceChannel[]

  • get content(): Model
  • The model that is referenced by the model pack.

    Returns Model

  • get domain(): Domain
  • The domain that contains the model.

    Returns Domain

  • get methods(): InterfaceMethod[]
  • All methods that have to be implemented by the model that is referenced by the model pack.

    Returns InterfaceMethod[]

  • get reference(): string
  • The reference to the model within the domain.

    Returns string

  • get values(): InterfaceValue[]
  • All values that have to exist in the model that is referenced by the model pack.

    Returns InterfaceValue[]

  • get version(): undefined | string
  • The version of the model that is referenced by the model pack.

    Returns undefined | string

  • get versions(): string[]
  • The model versions that are fulfilled by the model that is referenced by the model pack.

    Returns string[]

Methods

Generated using TypeDoc