File

libs/sensorml/src/lib/model/swe/AllowedTokens.ts

Description

Defines permitted values for the component, as an enumerated list of tokens or a regular expression pattern

Extends

AbstractAllowedValues

Index

Properties
Methods

Properties

pattern
Type : string
Default value : ''
Decorators :
@DisplayName('Pattern')
values
Type : string[]
Default value : []
Decorators :
@DisplayName('Values')
values
Type : any[]
Decorators :
@DisplayName('Values')
Inherited from AbstractAllowedValues
extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractAllowedValues

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
Inherited from AbstractAllowedValues
extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractSWE
Defined in AbstractSWE:12

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
Inherited from AbstractSWE
Defined in AbstractSWE:7

Methods

toString
toString()
Returns : string
toString
toString()
Inherited from AbstractAllowedValues
Returns : string
toString
toString()
Inherited from AbstractAllowedValues
Returns : string
toString
toString()
Inherited from AbstractSWE
Defined in AbstractSWE:14
Returns : string
import { DisplayName } from '../../common/decorators/DisplayName';
import { AbstractAllowedValues } from './AbstractAllowedValues';

/**
 * Defines permitted values for the component, as an enumerated list of tokens
 * or a regular expression pattern
 */
export class AllowedTokens extends AbstractAllowedValues {
    @DisplayName('Values')
    values: string[] = [];

    @DisplayName('Pattern')
    pattern = '';

    toString() {
        return 'Allowed tokens';
    }
}

result-matching ""

    No results matching ""