ISOFeatureCatalogueDescription

ISOFeatureCatalogueDescription

Format

R6Class object.

Value

Object of R6Class for modelling an ISOFeatureCatalogue

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOAbstractContentInformation -> ISOFeatureCatalogueDescription

Public fields

complianceCode

complianceCode: logical

language

language [0..*]: character

includedWithDataset

includedWithDataset: logical

featureTypes

featureTypes [0..*]: GenericName #TODO?

featureCatalogueCitation

featureCatalogueCitation [1..*]: ISOCitation

Methods

Inherited methods


Method new()

Initializes object

Usage

Arguments

xml

object of class XMLInternalNode-class


Method setComplianceCode()

Set compliance code

Usage

ISOFeatureCatalogueDescription$setComplianceCode(compliance)

Arguments

compliance

compliance, object of class logical


Method addLanguage()

Adds language

Usage

ISOFeatureCatalogueDescription$addLanguage(lang)

Arguments

lang

lang

Returns

TRUE if added, FALSE otherwise


Method delLanguage()

Deletes language

Usage

ISOFeatureCatalogueDescription$delLanguage(lang)

Arguments

lang

lang

Returns

TRUE if deleted, FALSE otherwise


Method setIncludedWithDataset()

Set included with dataset

Usage

ISOFeatureCatalogueDescription$setIncludedWithDataset(include)

Arguments

include

include, object of class logical


Method addFeatureCatalogueCitation()

Adds feature catalogue citation

Usage

ISOFeatureCatalogueDescription$addFeatureCatalogueCitation(
  citation,
  uuid = NULL
)

Arguments

citation,

object of class ISOCitation

uuid

uuid

Returns

TRUE if added, FALSE otherwise


Method delFeatureCatalogueCitation()

Deletes feature catalogue citation

Usage

ISOFeatureCatalogueDescription$delFeatureCatalogueCitation(
  citation,
  uuid = NULL
)

Arguments

citation,

object of class ISOCitation

uuid

uuid

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOFeatureCatalogueDescription$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  md <- ISOFeatureCatalogueDescription$new()
  md$setComplianceCode(FALSE)
  md$addLanguage("eng")
#> [1] TRUE
  md$setIncludedWithDataset(FALSE)
  
  cit = ISOCitation$new()
  contact = ISOContact$new()
  fcLink <- ISOOnlineResource$new()
  fcLink$setLinkage("http://somelink/featurecatalogue")
  contact$setOnlineResource(fcLink)
  rp = ISOResponsibleParty$new()
  rp$setContactInfo(contact)
  cit$setCitedResponsibleParty(rp)
#> Warning: 'setCitedResponsibleParty' method is deprecated, use 'addCitedResponsibleParty' instead
#> [1] TRUE
  md$addFeatureCatalogueCitation(cit)
#> [1] TRUE