libs/sensorml/src/lib/model/swe/SweElementType.ts
Properties |
Methods |
name |
Type : string
|
Decorators :
@DisplayName('Name')
|
type |
Type : AbstractDataComponent
|
Decorators :
@DisplayName('Type')
|
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';
}
}