File

libs/sensorml/src/lib/model/sml/CharacteristicList.ts

Extends

AbstractNamedMetadataList

Index

Properties
Methods

Properties

characteristics
Type : Characteristic[]
Default value : []
Decorators :
@DisplayName('Characteristics')
name
Type : string
Decorators :
@DisplayName('Name')
definition
Type : string
Decorators :
@DisplayName('Definition')
description
Type : string
Decorators :
@DisplayName('Description')

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

identifier
Type : string
Decorators :
@DisplayName('Identifier')

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')

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')

Extension slot for future extensions to this standard.

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

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

identifier
Type : string
Decorators :
@DisplayName('Identifier')

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')

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')

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
definition
Type : string
Decorators :
@DisplayName('Definition')
Inherited from AbstractMetadataList
description
Type : string
Decorators :
@DisplayName('Description')
Inherited from AbstractMetadataList

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

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

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 AbstractMetadataList

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 AbstractMetadataList

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
Inherited from AbstractMetadataList
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 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

getLabel
getLabel()
Returns : any
getValue
getValue()
Returns : any
toString
toString()
Returns : any
toString
toString(fallbackName: string)
Parameters :
Name Type Optional Default value
fallbackName string No 'Abstract named metadata list'
Returns : string
toString
toString()
Returns : any
toString
toString(fallbackLabel: string)
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Returns : string
toString
toString(fallbackLabel: string)
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Returns : string
toString
toString()
Inherited from AbstractMetadataList
Returns : any
toString
toString(fallbackLabel: string)
Inherited from AbstractMetadataList
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Inherited from AbstractMetadataList
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 AbstractSWE
Defined in AbstractSWE:14
Returns : string
import { AbstractNamedMetadataList } from './AbstractNamedMetadataList';
import { Characteristic } from './Characteristic';
import { DisplayName } from '../../common/decorators/DisplayName';


export class CharacteristicList extends AbstractNamedMetadataList {
    @DisplayName('Characteristics')
    characteristics: Characteristic[] = [];

    toString() {
        return super.toString('Characteristic list');
    }

    getLabel() {
        return super.toString('Characteristic list');
    }

    getValue() {
        if (this.characteristics.length > 0) {
            return this.characteristics.join(', ');
        }
    }
}

result-matching ""

    No results matching ""