libs/sensorml/src/lib/model/sml/Component.ts
Properties |
Methods |
constructor(name?: string, href?: string)
|
abstractProcess |
Type : AbstractProcess
|
href |
Type : string
|
Decorators :
@DisplayName('Href')
|
name |
Type : string
|
Decorators :
@DisplayName('Name')
|
toString |
toString()
|
Returns :
string
|
import { DisplayName } from '../../common/decorators/DisplayName';
import { AbstractProcess } from '../sml';
export class Component {
constructor(name?: string, href?: string) {
this.name = name;
this.href = href;
}
@DisplayName('Name')
name: string;
@DisplayName('Href')
href: string;
abstractProcess: AbstractProcess;
toString() {
return this.name || 'Component';
}
}