Constructors
constructor
- new LbdConcept(session: Session | Session, registry: string): LbdConcept
Parameters
session: Session | Session
registry: string
Properties
accessService
accessService: default
dataService
dataService: default
initialized
initialized: boolean
references
references: object[]
Methods
addAlias
- addAlias(url: any, registry: any): Promise<void>
Parameters
Returns Promise<void>
addReference
- addReference(identifier: string, dataset: string, distribution: string): Promise<string>
Parameters
identifier: string
dataset: string
distribution: string
Returns Promise<string>
create
- create(id?: any): Promise<void>
Parameters
Returns Promise<void>
deleteReference
- deleteReference(referenceUrl: any): Promise<void>
Parameters
Returns Promise<void>
init
- init(data: { aliases: string[]; references: { dataset: string; distribution: string; identifier: string }[] }): void
Parameters
data: { aliases: string[]; references: { dataset: string; distribution: string; identifier: string }[] }
aliases: string[]
references: { dataset: string; distribution: string; identifier: string }[]
Returns void
Add a reference to this concept