libs/sensorml/src/lib/model/swe/UnitOfMeasure.ts
Properties |
Methods |
code |
Type : string
|
Decorators :
@DisplayName('Code')
|
href |
Type : string
|
Decorators :
@DisplayName('Href')
|
title |
Type : string
|
Decorators :
@DisplayName('Title')
|
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';
}
}