File

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

Index

Properties
Methods

Properties

code
Type : string
Decorators :
@DisplayName('Code')
href
Type : string
Decorators :
@DisplayName('Href')
title
Type : string
Decorators :
@DisplayName('Title')

Methods

toString
toString()
Returns : string
import { DisplayName } from '../../common/decorators/DisplayName';
export class UnitOfMeasure {
    @DisplayName('Code')
    code: string;

    @DisplayName('Href')
    href: string;

    @DisplayName('Title')
    title: string;

    toString() {
        return this.code || 'Unit of measure';
    }
}

result-matching ""

    No results matching ""