Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TaskExchangeRef

Hierarchy

  • AbstractRef
    • TaskExchangeRef

Implements

  • IPropertyRef

Index

Constructors

constructor

Properties

cardinality

cardinality: number | IMinMax = 1

Readonly metaType

metaType: METADATA_TYPE

Readonly name

name: string

namespace

namespace: string

Readonly object

object: IClassRef

targetRef

targetRef: IClassRef

Accessors

machineName

  • get machineName(): string
  • Returns string

storingName

  • get storingName(): any
  • Returns any

Methods

convert

  • convert(value: any): Promise<any>

get

  • get(instance: any): any

getClass

  • getClass(create?: boolean): Function
  • Parameters

    • Optional create: boolean

    Returns Function

getClassRef

  • getClassRef(): IClassRef
  • Returns IClassRef

getClassRefFor

  • getClassRefFor(object: string | Function | IClassRef, type: METADATA_TYPE): IClassRef
  • Return a class ref for passing string, Function or class ref

    Parameters

    • object: string | Function | IClassRef
    • type: METADATA_TYPE

    Returns IClassRef

getNamespace

  • getNamespace(): string
  • Returns string

getOptions

  • getOptions(key?: string, defaultValue?: any): any
  • Parameters

    • Optional key: string
    • Optional defaultValue: any

    Returns any

Protected getOptionsEntry

  • getOptionsEntry(): any
  • Returns any

getPropertyType

getRegistry

  • getRegistry(): ILookupRegistry

getSourceRef

  • getSourceRef(): IClassRef
  • Returns IClassRef

getTargetRef

  • getTargetRef(): IClassRef

getType

  • getType(): string

hasOption

  • hasOption(name: string): boolean
  • Check if the option is set

    TODO move to @allgemein/schema-api

    Parameters

    • name: string

    Returns boolean

id

  • id(): string

isAppended

  • isAppended(): boolean

isCollection

  • isCollection(): boolean

isIdentifier

  • isIdentifier(): boolean

isOptional

  • isOptional(): boolean

isReference

  • isReference(): boolean

label

  • label(): string

setOption

  • setOption(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

setOptions

  • setOptions(options: any): void
  • Parameters

    • options: any

    Returns void

Generated using TypeDoc