File

libs/sensorml/src/lib/model/sml/ValueSetting.ts

Extends

AbstractSetting

Index

Properties
Methods

Properties

value
Type : boolean | number | string | Date
Decorators :
@DisplayName('Value')
ref
Type : string
Decorators :
@DisplayName('Ref')
Inherited from AbstractSetting
Defined in AbstractSetting:8
value
Type : any
Decorators :
@DisplayName('Value')
Inherited from AbstractSetting
Defined in AbstractSetting:5

Methods

toString
toString()
Returns : any
toString
toString()
Inherited from AbstractSetting
Defined in AbstractSetting:10
Returns : string
import { AbstractSetting } from './AbstractSetting';
import { DisplayName } from '../../common/decorators/DisplayName';

export class ValueSetting extends AbstractSetting {
    @DisplayName('Value')
    value: boolean | number | string | Date;

    toString() {
        return this.value !== null && this.value !== undefined ? this.value.toString() : 'Value setting';
    }
}

result-matching ""

    No results matching ""