| ISOProcessStep {geometa} | R Documentation |
ISOProcessStep
Description
ISOProcessStep
ISOProcessStep
Format
R6Class object.
Value
Object of R6Class for modelling an ISO ProcessStep
Super classes
geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOProcessStep
Public fields
descriptiondescription: character
rationalerationale [0..1]: character
dateTimedateTime [0..1]: POSIXct/POSIXt
processorprocessor [0..*]: ISOResponsibleParty
sourcesource [0..*]: ISOSource
Methods
Public methods
Inherited methods
geometa::geometaLogger$ERROR()geometa::geometaLogger$INFO()geometa::geometaLogger$WARN()geometa::ISOAbstractObject$addFieldAttrs()geometa::ISOAbstractObject$addListElement()geometa::ISOAbstractObject$contains()geometa::ISOAbstractObject$createLocalisedProperty()geometa::ISOAbstractObject$decode()geometa::ISOAbstractObject$delListElement()geometa::ISOAbstractObject$encode()geometa::ISOAbstractObject$getClass()geometa::ISOAbstractObject$getClassName()geometa::ISOAbstractObject$getNamespaceDefinition()geometa::ISOAbstractObject$isDocument()geometa::ISOAbstractObject$isFieldInheritedFrom()geometa::ISOAbstractObject$print()geometa::ISOAbstractObject$save()geometa::ISOAbstractObject$setAttr()geometa::ISOAbstractObject$setCodeList()geometa::ISOAbstractObject$setCodeListValue()geometa::ISOAbstractObject$setCodeSpace()geometa::ISOAbstractObject$setHref()geometa::ISOAbstractObject$setId()geometa::ISOAbstractObject$setIsNull()geometa::ISOAbstractObject$setValue()geometa::ISOAbstractObject$validate()geometa::ISOAbstractObject$wrapBaseElement()
Method new()
Initializes object
Usage
ISOProcessStep$new(xml = NULL)
Arguments
xmlobject of class XMLInternalNode-class
Method setDescription()
Set description
Usage
ISOProcessStep$setDescription(description, locales = NULL)
Arguments
descriptiondescription
localeslist of localized texts. Default is
NULL
Method setRationale()
Set rationale
Usage
ISOProcessStep$setRationale(rationale, locales = NULL)
Arguments
rationalerationale
localeslist of localized texts. Default is
NULL
Method setDateTime()
Set date time
Usage
ISOProcessStep$setDateTime(dateTime)
Arguments
dateTimeobject of class POSIXct
Method addProcessor()
Adds processor
Usage
ISOProcessStep$addProcessor(processor)
Arguments
processorobject of class ISOResponsibleParty
Returns
TRUE if added, FALSE otherwise
Method delProcessor()
Deletes processor
Usage
ISOProcessStep$delProcessor(processor)
Arguments
processorobject of class ISOResponsibleParty
Returns
TRUE if deleted, FALSE otherwise
Method addSource()
Adds source
Usage
ISOProcessStep$addSource(source)
Arguments
sourceobject of class ISOSource
Returns
TRUE if added, FALSE otherwise
Method delSource()
Deletes source
Usage
ISOProcessStep$delSource(source)
Arguments
sourceobject of class ISOSource
Returns
TRUE if deleted, FALSE otherwise
Method clone()
The objects of this class are cloneable with this method.
Usage
ISOProcessStep$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
References
ISO 19115:2003 - Geographic information – Metadata
Examples
ps <- ISOProcessStep$new()
ps$setDescription("description")
ps$setRationale("rationale")
ps$setDateTime( ISOdate(2015, 1, 1, 23, 59, 59))
rp <- ISOResponsibleParty$new()
rp$setIndividualName("someone") #and more responsible party properties..
ps$addProcessor(rp)
xml <- ps$encode()