ISOImageryEvent

ISOImageryEvent

Format

R6Class object.

Value

Object of R6Class for modelling an ISO imagery event

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOImageryEvent

Public fields

identifier

identifier [1..1]: ISOMetaIdentifier

trigger

trigger [1..1]: ISOImageryTrigger

context

context [1..1]: ISOImageryContext

sequence

sequence [1..1]: ISOImagerySequence

time

time [1..1]: POSIXt

relatedPass

relatedPass [0..1]: ISOImageryPlatformPass

relatedSensor

relatedSensor [0..*]: ISOImageryInstrument

expectedObjective

expectedObjective [0..*]: ISOImageryObjective

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOImageryEvent$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method setIdentifier()

Set identifier

Usage

ISOImageryEvent$setIdentifier(identifier)

Arguments

identifier

object of class ISOMetaIdentifier or character


Method setTrigger()

Set trigger

Usage

ISOImageryEvent$setTrigger(trigger)

Arguments

trigger

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


Method setContext()

Set context

Usage

ISOImageryEvent$setContext(context)

Arguments

context

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


Method setSequence()

Set sequence

Usage

ISOImageryEvent$setSequence(sequence)

Arguments

sequence

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


Method setTime()

Set time

Usage

ISOImageryEvent$setTime(time)

Arguments

time

object of class POSIXct


Method setPlatformPass()

Set platform pass

Usage

ISOImageryEvent$setPlatformPass(platformPass)

Arguments

platformPass

object of class ISOImageryPlatformPass


Method addSensor()

Adds sensor

Usage

ISOImageryEvent$addSensor(sensor)

Arguments

sensor

object of class ISOImageryInstrument

Returns

TRUE if added, FALSE otherwise


Method delSensor()

Deletes sensor

Usage

ISOImageryEvent$delSensor(sensor)

Arguments

sensor

object of class ISOImageryInstrument

Returns

TRUE if deleted, FALSE otherwise


Method addObjective()

Adds objective

Usage

ISOImageryEvent$addObjective(objective)

Arguments

objective

object of class ISOImageryObjective

Returns

TRUE if added, FALSE otherwise


Method delObjective()

Deletes objective

Usage

ISOImageryEvent$delObjective(objective)

Arguments

objective

object of class ISOImageryObjective

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOImageryEvent$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

   md <- ISOImageryEvent$new()
   md$setIdentifier("event_1")
   md$setTrigger("manual")
   md$setContext("pass")
   md$setSequence("instantaneous")
   md$setTime(Sys.time())
 
   xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmi}MI_Event': No matching global declaration available for the validation root at line 1. 
#> [geometa][WARN] Object 'ISOImageryEvent' is INVALID according to ISO 19139 XML schemas!