File

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

Extends

AbstractFeature

Implements

AssociationAttributeGroup

Index

Properties
Methods

Properties

href
Type : string
Decorators :
@DisplayName('Href')
title
Type : string
Decorators :
@DisplayName('Title')
boundedBy
Type : Envelope
Decorators :
@DisplayName('Bounded by')
Inherited from AbstractFeature
Defined in AbstractFeature:18

The value of the gml:boundedBy property describes an envelope that encloses the entire feature instance, and is primarily useful for supporting rapid searching for features that occur in a particular location.

location
Type : any
Decorators :
@DisplayName('Location')
Inherited from AbstractFeature
Defined in AbstractFeature:24

The value of the gml:location property describes the extent, position or relative location of the feature.

description
Type : string
Decorators :
@DisplayName('Description')
Inherited from AbstractFeature
Defined in AbstractFeature:23

The value of this property is a text description of the object. gml:description uses gml:StringOrRefType as its content model, so it may contain a simple text string content, or carry a reference to an external description. The use of gml:description to reference an external description has been deprecated and replaced by the gml:descriptionReference property.

descriptionReference
Type : string
Decorators :
@DisplayName('Description reference')
Inherited from AbstractFeature
Defined in AbstractFeature:30

The value of this property is a remote text description of the object. The xlink:href attribute of the gml:descriptionReference property references the external description.

gmlId
Type : string
Decorators :
@DisplayName('GML ID')
Inherited from AbstractFeature
Defined in AbstractFeature:13
identifier
Type : CodeType
Decorators :
@DisplayName('Identifier')
Inherited from AbstractFeature
Defined in AbstractFeature:51

Often, a special identifier is assigned to an object by the maintaining authority with the intention that it is used in references to the object. For such cases, the codeSpace shall be provided. That identifier is usually unique either globally or within an application domain. gml:identifier is a pre-defined property for such identifiers.

name
Type : CodeType[]
Decorators :
@DisplayName('Name')
Inherited from AbstractFeature
Defined in AbstractFeature:42

The gml:name property provides a label or identifier for the object, commonly a descriptive name. An object may have several names, typically assigned by different authorities. gml:name uses the gml:CodeType content model. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace. In common usage there will be one name per authority, so a processing application may select the name from its preferred codeSpace.

description
Type : string
Decorators :
@DisplayName('Description')
Inherited from AbstractGML
Defined in AbstractGML:23

The value of this property is a text description of the object. gml:description uses gml:StringOrRefType as its content model, so it may contain a simple text string content, or carry a reference to an external description. The use of gml:description to reference an external description has been deprecated and replaced by the gml:descriptionReference property.

descriptionReference
Type : string
Decorators :
@DisplayName('Description reference')
Inherited from AbstractGML
Defined in AbstractGML:30

The value of this property is a remote text description of the object. The xlink:href attribute of the gml:descriptionReference property references the external description.

gmlId
Type : string
Decorators :
@DisplayName('GML ID')
Inherited from AbstractGML
Defined in AbstractGML:13
identifier
Type : CodeType
Decorators :
@DisplayName('Identifier')
Inherited from AbstractGML
Defined in AbstractGML:51

Often, a special identifier is assigned to an object by the maintaining authority with the intention that it is used in references to the object. For such cases, the codeSpace shall be provided. That identifier is usually unique either globally or within an application domain. gml:identifier is a pre-defined property for such identifiers.

name
Type : CodeType[]
Decorators :
@DisplayName('Name')
Inherited from AbstractGML
Defined in AbstractGML:42

The gml:name property provides a label or identifier for the object, commonly a descriptive name. An object may have several names, typically assigned by different authorities. gml:name uses the gml:CodeType content model. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace. In common usage there will be one name per authority, so a processing application may select the name from its preferred codeSpace.

Methods

toString
toString()
Returns : string
toString
toString()
Inherited from AbstractFeature
Defined in AbstractFeature:26
Returns : string
toString
toString()
Inherited from AbstractFeature
Defined in AbstractFeature:53
Returns : string
toString
toString()
Inherited from AbstractGML
Defined in AbstractGML:53
Returns : string
import { DisplayName } from '../../common/decorators/DisplayName';
import { AbstractFeature } from '../gml';
import { AssociationAttributeGroup } from '../gml/AssociationAttributeGroup';

export class FeatureProperty extends AbstractFeature implements AssociationAttributeGroup {

    @DisplayName('Href')
    href: string;

    @DisplayName('Title')
    title: string;

    toString() {
        if (this.href && this.title) {
            return this.href + ' - ' + this.title;
        } else if (this.href) {
            return this.href;
        }
        return 'Feature property';
    }
}

result-matching ""

    No results matching ""