Home Manual Reference Source
private class | source

DummyData

A dummy data definition encapsulating the piece of data itself, a description, and one or more tags.

Constructor Summary

Public Constructor
public

constructor(desc: string, tags: string[], val: *, type: string, tagPath: string)

Member Summary

Public Members
public get
public get
public get
public get
public get

value: *

Private Members
private
private
private
private
private

_type: *

private

_value: *

Method Summary

Public Methods
public

hasTag(t: *): boolean

Public Constructors

public constructor(desc: string, tags: string[], val: *, type: string, tagPath: string) source

Params:

NameTypeAttributeDescription
desc string

a description of the piece of data.

tags string[]

zero or more tags to associate with the data.

val *

the actual piece of data.

type string
  • optional

the data's type.

tagPath string
  • optional

the data's tag path.

Public Members

public get description: * source

public get tagPath: string | undefined source

public get tags: string[] source

public get type: string | undefined source

public get value: * source

Private Members

private _description: * source

private _tagLookup: {} source

private _tagPath: * source

private _tags: undefined[] source

private _type: * source

private _value: * source

Public Methods

public hasTag(t: *): boolean source

Params:

NameTypeAttributeDescription
t *

Return:

boolean