ISOImageryRangeElementDescription

ISOImageryRangeElementDescription

Format

R6Class object.

Value

Object of R6Class for modelling an ISOImageryRangeElementDescription

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOImageryRangeElementDescription

Public fields

name

name [0..1] : character

definition

definition [0..1] : character

rangeElement

rangeElement [0..*] : ISORecord

Methods

Inherited methods


Method new()

Initializes object

Usage

Arguments

xml

object of class XMLInternalNode-class


Method setName()

Set name

Usage

ISOImageryRangeElementDescription$setName(name, locales = NULL)

Arguments

name

name

locales

list of localized texts. Default is NULL


Method setDefinition()

Set definition

Usage

ISOImageryRangeElementDescription$setDefinition(definition, locales = NULL)

Arguments

definition

definition

locales

list of localized texts. Default is NULL


Method addRangeElement()

Adds range element

Usage

ISOImageryRangeElementDescription$addRangeElement(record)

Arguments

record

object of class ISORecord or character

Returns

TRUE if added, FALSE otherwise


Method delRangeElement()

Deletes range element

Usage

ISOImageryRangeElementDescription$delRangeElement(record)

Arguments

record

object of class ISORecord or character

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOImageryRangeElementDescription$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

   #create object
   md <- ISOImageryRangeElementDescription$new()
   md$setName("name")
   md$setDefinition("description")
   md$addRangeElement("record1")
#> [1] TRUE
   md$addRangeElement("record2")
#> [1] TRUE
   xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmi}MI_RangeElementDescription': No matching global declaration available for the validation root at line 1. 
#> [geometa][WARN] Object 'ISOImageryRangeElementDescription' is INVALID according to ISO 19139 XML schemas!