File

libs/sensorml/src/lib/model/swe/SweDataChoiceItem.ts

Index

Properties
Methods

Properties

item
Type : AbstractDataComponent
Decorators :
@DisplayName('Item')
name
Type : string
Decorators :
@DisplayName('Name')

Methods

toString
toString()
Returns : string
import { AbstractDataComponent } from './AbstractDataComponent';
import { DisplayName } from '../../common/decorators/DisplayName';

export class SweDataChoiceItem {
    @DisplayName('Name')
    name: string;

    @DisplayName('Item')
    item: AbstractDataComponent;

    toString() {
        return this.name || 'SWE data choice item';
    }
}

result-matching ""

    No results matching ""