Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LbdConcept

Index

Constructors

  • new LbdConcept(session: Session | Session, registry: string): LbdConcept

Properties

accessService: default
aliases: string[]
dataService: default
fetch: any
initialized: boolean
references: object[]
registry: string

Methods

  • addAlias(url: any, registry: any): Promise<void>
  • addReference(identifier: string, dataset: string, distribution: string): Promise<string>
  • description

    Add a reference to this concept

    Parameters

    • identifier: string

      the identifier

    • dataset: string

      the dataset that contains this reference

    • distribution: string

      the distribution that contains this reference

    Returns Promise<string>

  • create(id?: any): Promise<void>
  • create this concept on a project (in a Pod) - asynchronous

    Parameters

    • Optional id: any

    Returns Promise<void>

  • delete(): Promise<void>
  • description

    delete this concept from the reference registry

    Returns Promise<void>

  • deleteReference(referenceUrl: any): Promise<void>
  • description

    Delete a reference for this concept

    Parameters

    • referenceUrl: any

      the URL of the reference to delete

    Returns Promise<void>

  • init(data: { aliases: string[]; references: { dataset: string; distribution: string; identifier: string }[] }): void
  • description

    initialise an already existing concept in your application

    Parameters

    • data: { aliases: string[]; references: { dataset: string; distribution: string; identifier: string }[] }

      []

      • aliases: string[]
      • references: { dataset: string; distribution: string; identifier: string }[]

    Returns void

Generated using TypeDoc