ISOParameter {geometa} | R Documentation |
ISOParameter
Description
ISOParameter
ISOParameter
Format
R6Class
object.
Value
Object of R6Class
for modelling an ISOParameter
Super classes
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOParameter
Public fields
name
name [1..1]: character
direction
direction [0..1]: ISOParameterDirection
description
description [0..1]: character
optionality
optionality [1..1]: character
repeatability
repeatability [1..1]: logical
valueType
valueType [1..1]: ISOTypeName
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
ISOParameter$new(xml = NULL)
Arguments
xml
object of class XMLInternalNode-class
Method setName()
Set name
Usage
ISOParameter$setName(name, attributeType, locales = NULL)
Arguments
name
name
attributeType
attribute type
locales
list of localized texts. Default is
NULL
Method setDirection()
Set direction
Usage
ISOParameter$setDirection(direction)
Arguments
direction
object of class ISOParameterDirection or character among values returned by
ISOParameterDirection$values()
Method setDescription()
Set description
Usage
ISOParameter$setDescription(description, locales = NULL)
Arguments
description
description
locales
list of localized texts. Default is
NULL
Method setOptionality()
Set optionality
Usage
ISOParameter$setOptionality(optional)
Arguments
optional
object of class logical
Method setRepeatability()
Set repeatability
Usage
ISOParameter$setRepeatability(repeatable)
Arguments
repeatable
object of class logical
Method setValueType()
Set value type
Usage
ISOParameter$setValueType(valueType, locales = NULL)
Arguments
valueType
object of class ISOTypeName or character
locales
list of localized texts. Default is
NULL
Method clone()
The objects of this class are cloneable with this method.
Usage
ISOParameter$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
References
ISO 19119:2005 - Geographic information – Services
Examples
md <- ISOParameter$new()
md$setName("name", "attType")
md$setDirection("in")
md$setDescription("description")
md$setOptionality(FALSE)
md$setRepeatability(FALSE)
md$setValueType("CharacterString")
xml <- md$encode()