ISOScopeDescription

ISOScopeDescription

Format

R6Class object.

Value

Object of R6Class for modelling an ISO ScopeDescription

References

ISO 19115:2003 - Geographic information – Metadata

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOScopeDescription

Public fields

attributes

attributes [1..*]

features

features [1..*]

featureInstances

featureInstances [1..*]

attributeInstances

attributeInstances [1..*]

dataset

dataset

other

other

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOScopeDescription$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method addAttribute()

Adds attribute

Usage

ISOScopeDescription$addAttribute(attribute)

Arguments

attribute

attribute

Returns

TRUE if added, FALSE otherwise


Method delAttribute()

Deletes attribute

Usage

ISOScopeDescription$delAttribute(attribute)

Arguments

attribute

attribute

Returns

TRUE if deleted, FALSE otherwise


Method addAttributeInstance()

Adds attribute instance

Usage

ISOScopeDescription$addAttributeInstance(attributeInstance)

Arguments

attributeInstance

attribute instance

Returns

TRUE if added, FALSE otherwise


Method delAttributeInstance()

Deletes attribute instance

Usage

ISOScopeDescription$delAttributeInstance(attributeInstance)

Arguments

attributeInstance

attribute instance

Returns

TRUE if deleted, FALSE otherwise


Method addFeatureInstance()

Adds feature instance

Usage

ISOScopeDescription$addFeatureInstance(featureInstance)

Arguments

featureInstance

feature instance

Returns

TRUE if added, FALSE otherwise


Method delFeatureInstance()

Deletes feature instance

Usage

ISOScopeDescription$delFeatureInstance(featureInstance)

Arguments

featureInstance

feature instance

Returns

TRUE if deleted, FALSE otherwise


Method setDataset()

Set dataset

Usage

ISOScopeDescription$setDataset(dataset)

Arguments

dataset

dataset


Method setOther()

Set other

Usage

ISOScopeDescription$setOther(other)

Arguments

other

other


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOScopeDescription$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

 md <- ISOScopeDescription$new()
 xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}MD_ScopeDescription': Missing child element(s). Expected is one of ( {http://www.isotc211.org/2005/gmd}attributes, {http://www.isotc211.org/2005/gmd}features, {http://www.isotc211.org/2005/gmd}featureInstances, {http://www.isotc211.org/2005/gmd}attributeInstances, {http://www.isotc211.org/2005/gmd}dataset, {http://www.isotc211.org/2005/gmd}other ) at line 1. 
#> [geometa][WARN] Object 'ISOScopeDescription' is INVALID according to ISO 19139 XML schemas!