File

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

Index

Properties
Methods

Properties

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

Methods

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

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

    @DisplayName('Type')
    type: AbstractDataComponent;

    toString() {
        return this.name || 'SWE element type';
    }
}

result-matching ""

    No results matching ""