File

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

Description

Time value pair for specifying a time range (can be a decimal or ISO 8601)

Extends

AbstractSweRange

Index

Properties
Methods

Properties

constraint
Type : AllowedTimes
Default value : new AllowedTimes()
Decorators :
@DisplayName('Constraint')
localFrame
Type : string
Decorators :
@DisplayName('Local frame')

Temporal frame of reference whose origin is located by the value of this component

referenceTime
Type : Date
Decorators :
@DisplayName('Reference time')

Specifies the origin of the temporal reference frame as an ISO8601 date (used to specify time after an epoch that is to say in a custom frame)

uom
Type : UnitOfMeasure
Default value : new UnitOfMeasure()
Decorators :
@DisplayName('Unit of measure')

Temporal unit of measure used to express the value of this data component

value
Type : [TimePosition, TimePosition]
Default value : ['now', 'now']
Decorators :
@DisplayName('Value')

Value is a pair of time values expressed in ISO-8601 or as decimal numbers separated by a space. It is optional, to enable structure to act as a schema for values provided using other encodings

value
Type : [any, any]
Decorators :
@DisplayName('Value')
Inherited from AbstractSweRange
Defined in AbstractSweRange:6
axisId
Type : string
Decorators :
@DisplayName('Axis id')
Inherited from AbstractSweRange

Specifies the reference axis (refer to gml:axisID). The reference frame URI should also be specified unless it is inherited from parent Vector

constraint
Type : AbstractAllowedValues
Decorators :
@DisplayName('Constraint')
Inherited from AbstractSweRange
nilValues
Type : SweNilValue[]
Default value : []
Decorators :
@DisplayName('Nil values')
Inherited from AbstractSweRange
quality
Type : SweQuality[]
Default value : []
Decorators :
@DisplayName('Quality')
Inherited from AbstractSweRange
referenceFrame
Type : string
Decorators :
@DisplayName('Reference frame')
Inherited from AbstractSweRange

Frame of reference (usually temporal or spatial) with respect to which the value of the component is expressed. A reference frame anchors a value to a real world datum.

value
Type : any
Decorators :
@DisplayName('Value')
Inherited from AbstractSweRange
definition
Type : string
Decorators :
@DisplayName('Definition')
Inherited from AbstractSweRange

Reference to semantic information defining the precise nature of the component

optional
Type : boolean
Decorators :
@DisplayName('Optional')
Inherited from AbstractSweRange

Specifies that data for this component can be omitted in the datastream

updatable
Type : boolean
Decorators :
@DisplayName('Updatable')
Inherited from AbstractSweRange

Specifies if the value of a data component can be updated externally (i.e. is variable)

description
Type : string
Decorators :
@DisplayName('Description')
Inherited from AbstractSweRange

Textual description (i.e. human readable) of the data component usually used to clarify its nature

identifier
Type : string
Decorators :
@DisplayName('Identifier')
Inherited from AbstractSweRange

Unique identifier of the data component. It can be used to globally identify a particular component of the dataset, a process input/output or a universal constant

label
Type : string
Decorators :
@DisplayName('Label')
Inherited from AbstractSweRange

Textual label for the data component . This is often used for displaying a human readable name for a dataset field or a process input/output

extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractSweRange

Extension slot for future extensions to this standard.

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

Textual description (i.e. human readable) of the data component usually used to clarify its nature

identifier
Type : string
Decorators :
@DisplayName('Identifier')
Inherited from AbstractSweRange

Unique identifier of the data component. It can be used to globally identify a particular component of the dataset, a process input/output or a universal constant

label
Type : string
Decorators :
@DisplayName('Label')
Inherited from AbstractSweRange

Textual label for the data component . This is often used for displaying a human readable name for a dataset field or a process input/output

extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractSweRange

Extension slot for future extensions to this standard.

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

Extension slot for future extensions to this standard.

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

Reference to semantic information defining the precise nature of the component

optional
Type : boolean
Decorators :
@DisplayName('Optional')
Inherited from AbstractSweRange

Specifies that data for this component can be omitted in the datastream

updatable
Type : boolean
Decorators :
@DisplayName('Updatable')
Inherited from AbstractSweRange

Specifies if the value of a data component can be updated externally (i.e. is variable)

description
Type : string
Decorators :
@DisplayName('Description')
Inherited from AbstractSweRange

Textual description (i.e. human readable) of the data component usually used to clarify its nature

identifier
Type : string
Decorators :
@DisplayName('Identifier')
Inherited from AbstractSweRange

Unique identifier of the data component. It can be used to globally identify a particular component of the dataset, a process input/output or a universal constant

label
Type : string
Decorators :
@DisplayName('Label')
Inherited from AbstractSweRange

Textual label for the data component . This is often used for displaying a human readable name for a dataset field or a process input/output

extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractSweRange

Extension slot for future extensions to this standard.

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

Textual description (i.e. human readable) of the data component usually used to clarify its nature

identifier
Type : string
Decorators :
@DisplayName('Identifier')
Inherited from AbstractSweRange

Unique identifier of the data component. It can be used to globally identify a particular component of the dataset, a process input/output or a universal constant

label
Type : string
Decorators :
@DisplayName('Label')
Inherited from AbstractSweRange

Textual label for the data component . This is often used for displaying a human readable name for a dataset field or a process input/output

extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractSweRange

Extension slot for future extensions to this standard.

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

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
Inherited from AbstractSweRange
Defined in AbstractSweRange:7
axisId
Type : string
Decorators :
@DisplayName('Axis id')
Inherited from AbstractSimpleComponent

Specifies the reference axis (refer to gml:axisID). The reference frame URI should also be specified unless it is inherited from parent Vector

constraint
Type : AbstractAllowedValues
Decorators :
@DisplayName('Constraint')
Inherited from AbstractSimpleComponent
nilValues
Type : SweNilValue[]
Default value : []
Decorators :
@DisplayName('Nil values')
Inherited from AbstractSimpleComponent
quality
Type : SweQuality[]
Default value : []
Decorators :
@DisplayName('Quality')
Inherited from AbstractSimpleComponent
referenceFrame
Type : string
Decorators :
@DisplayName('Reference frame')
Inherited from AbstractSimpleComponent

Frame of reference (usually temporal or spatial) with respect to which the value of the component is expressed. A reference frame anchors a value to a real world datum.

value
Type : any
Decorators :
@DisplayName('Value')
Inherited from AbstractSimpleComponent
definition
Type : string
Decorators :
@DisplayName('Definition')
Inherited from AbstractSimpleComponent

Reference to semantic information defining the precise nature of the component

optional
Type : boolean
Decorators :
@DisplayName('Optional')
Inherited from AbstractSimpleComponent

Specifies that data for this component can be omitted in the datastream

updatable
Type : boolean
Decorators :
@DisplayName('Updatable')
Inherited from AbstractSimpleComponent

Specifies if the value of a data component can be updated externally (i.e. is variable)

description
Type : string
Decorators :
@DisplayName('Description')
Inherited from AbstractSimpleComponent

Textual description (i.e. human readable) of the data component usually used to clarify its nature

identifier
Type : string
Decorators :
@DisplayName('Identifier')
Inherited from AbstractSimpleComponent

Unique identifier of the data component. It can be used to globally identify a particular component of the dataset, a process input/output or a universal constant

label
Type : string
Decorators :
@DisplayName('Label')
Inherited from AbstractSimpleComponent

Textual label for the data component . This is often used for displaying a human readable name for a dataset field or a process input/output

extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractSimpleComponent

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
Inherited from AbstractSimpleComponent
description
Type : string
Decorators :
@DisplayName('Description')
Inherited from AbstractSimpleComponent

Textual description (i.e. human readable) of the data component usually used to clarify its nature

identifier
Type : string
Decorators :
@DisplayName('Identifier')
Inherited from AbstractSimpleComponent

Unique identifier of the data component. It can be used to globally identify a particular component of the dataset, a process input/output or a universal constant

label
Type : string
Decorators :
@DisplayName('Label')
Inherited from AbstractSimpleComponent

Textual label for the data component . This is often used for displaying a human readable name for a dataset field or a process input/output

extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractSimpleComponent

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
Inherited from AbstractSimpleComponent
extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractSimpleComponent

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
Inherited from AbstractSimpleComponent
definition
Type : string
Decorators :
@DisplayName('Definition')
Inherited from AbstractDataComponent

Reference to semantic information defining the precise nature of the component

optional
Type : boolean
Decorators :
@DisplayName('Optional')
Inherited from AbstractDataComponent

Specifies that data for this component can be omitted in the datastream

updatable
Type : boolean
Decorators :
@DisplayName('Updatable')
Inherited from AbstractDataComponent

Specifies if the value of a data component can be updated externally (i.e. is variable)

description
Type : string
Decorators :
@DisplayName('Description')
Inherited from AbstractDataComponent

Textual description (i.e. human readable) of the data component usually used to clarify its nature

identifier
Type : string
Decorators :
@DisplayName('Identifier')
Inherited from AbstractDataComponent

Unique identifier of the data component. It can be used to globally identify a particular component of the dataset, a process input/output or a universal constant

label
Type : string
Decorators :
@DisplayName('Label')
Inherited from AbstractDataComponent

Textual label for the data component . This is often used for displaying a human readable name for a dataset field or a process input/output

extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractDataComponent

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
Inherited from AbstractDataComponent
description
Type : string
Decorators :
@DisplayName('Description')
Inherited from AbstractSWEIdentifiable

Textual description (i.e. human readable) of the data component usually used to clarify its nature

identifier
Type : string
Decorators :
@DisplayName('Identifier')
Inherited from AbstractSWEIdentifiable

Unique identifier of the data component. It can be used to globally identify a particular component of the dataset, a process input/output or a universal constant

label
Type : string
Decorators :
@DisplayName('Label')
Inherited from AbstractSWEIdentifiable

Textual label for the data component . This is often used for displaying a human readable name for a dataset field or a process input/output

extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractSWEIdentifiable

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
Inherited from AbstractSWEIdentifiable
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
getValue
getValue()
Inherited from AbstractSweRange
Returns : string
toString
toString(fallbackLabel: string)
Inherited from AbstractSweRange
Defined in AbstractSweRange:8
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE range'
Returns : any
toString
toString(fallbackLabel: string)
Inherited from AbstractSweRange
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract simple component'
Returns : any
Public getLabel
getLabel()
Inherited from AbstractSweRange
Returns : any
Abstract getValue
getValue()
Inherited from AbstractSweRange
Returns : any
toString
toString(fallbackLabel: string)
Inherited from AbstractSweRange
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract data component'
Returns : any
toString
toString(fallbackLabel: string)
Inherited from AbstractSweRange
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Inherited from AbstractSweRange
Returns : string
toString
toString(fallbackLabel: string)
Inherited from AbstractSweRange
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Inherited from AbstractSweRange
Returns : string
toString
toString()
Inherited from AbstractSweRange
Returns : string
Public getLabel
getLabel()
Inherited from AbstractSweRange
Returns : any
Abstract getValue
getValue()
Inherited from AbstractSweRange
Returns : any
toString
toString(fallbackLabel: string)
Inherited from AbstractSweRange
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract data component'
Returns : any
toString
toString(fallbackLabel: string)
Inherited from AbstractSweRange
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Inherited from AbstractSweRange
Returns : string
toString
toString(fallbackLabel: string)
Inherited from AbstractSweRange
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Inherited from AbstractSweRange
Returns : string
toString
toString()
Inherited from AbstractSweRange
Returns : string
toString
toString(fallbackLabel: string)
Inherited from AbstractSimpleComponent
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract simple component'
Returns : any
Public getLabel
getLabel()
Inherited from AbstractSimpleComponent
Returns : any
Abstract getValue
getValue()
Inherited from AbstractSimpleComponent
Returns : any
toString
toString(fallbackLabel: string)
Inherited from AbstractSimpleComponent
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract data component'
Returns : any
toString
toString(fallbackLabel: string)
Inherited from AbstractSimpleComponent
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Inherited from AbstractSimpleComponent
Returns : string
toString
toString(fallbackLabel: string)
Inherited from AbstractSimpleComponent
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Inherited from AbstractSimpleComponent
Returns : string
toString
toString()
Inherited from AbstractSimpleComponent
Returns : string
Public getLabel
getLabel()
Inherited from AbstractDataComponent
Returns : any
Abstract getValue
getValue()
Inherited from AbstractDataComponent
Returns : any
toString
toString(fallbackLabel: string)
Inherited from AbstractDataComponent
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract data component'
Returns : any
toString
toString(fallbackLabel: string)
Inherited from AbstractDataComponent
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Inherited from AbstractDataComponent
Returns : string
toString
toString(fallbackLabel: string)
Inherited from AbstractSWEIdentifiable
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Inherited from AbstractSWEIdentifiable
Returns : string
toString
toString()
Inherited from AbstractSWE
Defined in AbstractSWE:14
Returns : string
import { AbstractSweRange } from './AbstractSweRange';
import { TimePosition } from './TimePosition';
import { UnitOfMeasure } from './UnitOfMeasure';
import { AllowedTimes } from './AllowedTimes';
import { DisplayName } from '../../common/decorators/DisplayName';

/**
 * Time value pair for specifying a time range (can be a decimal or ISO 8601)
 */
export class SweTimeRange extends AbstractSweRange {
    /**
     * Value is a pair of time values expressed in ISO-8601 or as decimal numbers
     * separated by a space. It is optional, to enable structure to act as a
     * schema for values provided using other encodings
     */
    @DisplayName('Value')
    value: [TimePosition, TimePosition] = ['now', 'now'];
    /**
     * Specifies the origin of the temporal reference frame as an ISO8601 date
     * (used to specify time after an epoch that is to say in a custom frame)
     */
    @DisplayName('Reference time')
    referenceTime: Date;
    /**
     * Temporal frame of reference whose origin is located by the value of this
     * component
     */
    @DisplayName('Local frame')
    localFrame: string;
    /**
     * Temporal unit of measure used to express the value of this data component
     */
    @DisplayName('Unit of measure')
    uom: UnitOfMeasure = new UnitOfMeasure();

    @DisplayName('Constraint')
    constraint: AllowedTimes = new AllowedTimes();

    toString() {
        return 'Time Range Component';
    }
}

result-matching ""

    No results matching ""