File

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

Index

Properties
Methods

Properties

description
Type : string
Decorators :
@DisplayName('Description')
name
Type : string
Decorators :
@DisplayName('Name')

Methods

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

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

    @DisplayName('Description')
    description: string;

    toString() {
        if (this.name && this.name.length) {
            return this.name;
        }

        return 'Axis';
    }
}

result-matching ""

    No results matching ""