ISOImageryPlan

ISOImageryPlan

Format

R6Class object.

Value

Object of R6Class for modelling an ISO imagery Plan

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOImageryPlan

Public fields

type

type [0..1]: ISOImageryGeometryType

status

status [1..1]: ISOProgress

citation

citation [1..1]: ISOCitation

operation

operation [0..*]: ISOImageryOperation

satisfiedRequirement

satisfiedRequirement [0..*]: ISOImageryRequirement

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOImageryPlan$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method setType()

Set type

Usage

ISOImageryPlan$setType(type)

Arguments

type

object of class ISOImageryGeometryType or any character among values returned by ISOImageryGeometryType$values()


Method setStatus()

Set status

Usage

ISOImageryPlan$setStatus(status)

Arguments

status

object of class ISOStatus or any character among values returned by ISOStatus$values()


Method setCitation()

Set citation

Usage

ISOImageryPlan$setCitation(citation)

Arguments

citation

object of class ISOCitation


Method addOperation()

Adds operation

Usage

ISOImageryPlan$addOperation(operation)

Arguments

operation

object of class ISOImageryOperation

Returns

TRUE if added, FALSE otherwise


Method delOperation()

Deletes operation

Usage

ISOImageryPlan$delOperation(operation)

Arguments

operation

object of class ISOImageryOperation

Returns

TRUE if deleted, FALSE otherwise


Method addSatisfiedRequirement()

Adds satisfied requirement

Usage

ISOImageryPlan$addSatisfiedRequirement(requirement)

Arguments

requirement

object of class ISOImageryRequirement

Returns

TRUE if added, FALSE otherwise


Method delSatisfiedRequirement()

Deletes satisfied requirement

Usage

ISOImageryPlan$delSatisfiedRequirement(requirement)

Arguments

requirement

object of class ISOImageryRequirement

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOImageryPlan$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

   md <- ISOImageryPlan$new()
   md$setType("point")
   md$setStatus("completed")
   
   #add citation
   rp1 <- ISOResponsibleParty$new()
   rp1$setIndividualName("someone1")
   rp1$setOrganisationName("somewhere1")
   rp1$setPositionName("someposition1")
   rp1$setRole("pointOfContact")
   contact1 <- ISOContact$new()
   phone1 <- ISOTelephone$new()
   phone1$setVoice("myphonenumber1")
   phone1$setFacsimile("myfacsimile1")
   contact1$setPhone(phone1)
   address1 <- ISOAddress$new()
   address1$setDeliveryPoint("theaddress1")
   address1$setCity("thecity1")
   address1$setPostalCode("111")
   address1$setCountry("France")
   address1$setEmail("someone1@theorg.org")
   contact1$setAddress(address1)
   res <- ISOOnlineResource$new()
   res$setLinkage("http://www.somewhereovertheweb.org")
   res$setName("somename")
   contact1$setOnlineResource(res)
   rp1$setContactInfo(contact1)
   
   #citation
   ct <- ISOCitation$new()
   ct$setTitle("sometitle")
   d <- ISODate$new()
   d$setDate(ISOdate(2015, 1, 1, 1))
   d$setDateType("publication")
   ct$addDate(d)
   ct$setEdition("1.0")
   ct$setEditionDate(ISOdate(2015,1,1))
   ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
   ct$addPresentationForm("mapDigital")
#> [1] TRUE
   ct$addCitedResponsibleParty(rp1)
#> [1] TRUE
   md$setCitation(ct)
   xml <- md$encode()
#> Error in self$namespace$getDefinition: $ operator is invalid for atomic vectors