libs/sensorml/src/lib/model/swe/AllowedTokens.ts
Defines permitted values for the component, as an enumerated list of tokens or a regular expression pattern
Properties |
Methods |
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
|
Defined in
AbstractAllowedValues:6
|
extension |
Type : any[]
|
Decorators :
@DisplayName('Extension')
|
Inherited from
AbstractAllowedValues
|
Defined in
AbstractAllowedValues:12
|
Extension slot for future extensions to this standard. |
id |
Type : string
|
Decorators :
@DisplayName('Id')
|
Inherited from
AbstractAllowedValues
|
Defined in
AbstractAllowedValues:7
|
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
|
toString |
toString()
|
Returns :
string
|
toString |
toString()
|
Inherited from
AbstractAllowedValues
|
Defined in
AbstractAllowedValues:8
|
Returns :
string
|
toString |
toString()
|
Inherited from
AbstractAllowedValues
|
Defined in
AbstractAllowedValues:14
|
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';
}
}