libs/sensorml/src/lib/model/gml/CodeWithAuthority.ts
gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance.
Properties |
Methods |
constructor(value: string, codeSpace: string)
|
codeSpace |
Type : string
|
Decorators :
@DisplayName('Code space')
|
Inherited from
CodeType
|
Defined in
CodeType:13
|
value |
Type : string
|
Decorators :
@DisplayName('Value')
|
Inherited from
CodeType
|
Defined in
CodeType:10
|
toString |
toString()
|
Returns :
string
|
toString |
toString()
|
Inherited from
CodeType
|
Defined in
CodeType:20
|
Returns :
string
|
import { CodeType } from './CodeType';
/**
* gml:CodeWithAuthorityType requires that the codeSpace attribute is provided
* in an instance.
*/
export class CodeWithAuthority extends CodeType {
constructor(value: string, codeSpace: string) {
super(value, codeSpace);
}
toString() {
return 'Code with authority';
}
}