File

libs/sensorml/src/lib/model/gml/CodeWithAuthority.ts

Description

gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance.

Extends

CodeType

Index

Properties
Methods

Constructor

constructor(value: string, codeSpace: string)
Parameters :
Name Type Optional
value string No
codeSpace string No

Properties

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

Methods

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';
    }
}

result-matching ""

    No results matching ""