ISOFeatureAttribute | R Documentation |
ISOFeatureAttribute
ISOFeatureAttribute
R6Class
object.
Object of R6Class
for modelling an ISOFeatureAttribute
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOAbstractCarrierOfCharacteristics
-> geometa::ISOAbstractPropertyType
-> geometa::ISOPropertyType
-> ISOFeatureAttribute
code
code [0..1]: character
valueMeasurementUnit
valueMeasurementUnit [0..1]: GMLUnitDefinition
valueType
valueType [0..1]: ISOTypeName
listedValue
listedValue [0..*]: ISOListedValue
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()
geometa::ISOAbstractCarrierOfCharacteristics$addConstraint()
geometa::ISOAbstractCarrierOfCharacteristics$delConstraint()
geometa::ISOAbstractCarrierOfCharacteristics$setFeatureType()
geometa::ISOAbstractPropertyType$setCardinality()
geometa::ISOAbstractPropertyType$setDefinition()
geometa::ISOAbstractPropertyType$setDefinitionReference()
geometa::ISOAbstractPropertyType$setFeatureCatalogue()
geometa::ISOAbstractPropertyType$setMemberName()
new()
Initializes object
ISOFeatureAttribute$new(xml = NULL)
xml
object of class XMLInternalNode-class
setCode()
Set code
ISOFeatureAttribute$setCode(code, locales = NULL)
code
code
locales
list of localized codes. Default is NULL
setValueMeasurementUnit()
Set value measurement unit
ISOFeatureAttribute$setValueMeasurementUnit(uom)
uom
uom, object of class GMLUnitDefinition
setValueType()
Set type name
ISOFeatureAttribute$setValueType(typeName, locales = NULL)
typeName
typeName
locales
list of localized typeNames. Default is NULL
addListedValue()
Adds listed value
ISOFeatureAttribute$addListedValue(value)
value
value, object of class ISOListedValue
TRUE
if added, FALSE
otherwise
delListedValue()
Deletes listed value
ISOFeatureAttribute$delListedValue(value)
value
value, object of class ISOListedValue
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISOFeatureAttribute$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ISO 19110:2005 Methodology for Feature cataloguing
md <- ISOFeatureAttribute$new()
md$setMemberName("name")
md$setDefinition("definition")
md$setCardinality(lower=1,upper=1)
md$setCode("code")
gml <- GMLBaseUnit$new(id = "ID")
gml$setDescriptionReference("someref")
gml$setIdentifier("identifier", "codespace")
gml$addName("name1", "codespace")
gml$addName("name2", "codespace")
gml$setQuantityTypeReference("someref")
gml$setCatalogSymbol("symbol")
gml$setUnitsSystem("somelink")
md$setValueMeasurementUnit(gml)
val1 <- ISOListedValue$new()
val1$setCode("code1")
val1$setLabel("label1")
val1$setDefinition("definition1")
md$addListedValue(val1)
val2 <- ISOListedValue$new()
val2$setCode("code2")
val2$setLabel("label2")
val2$setDefinition("definition2")
md$addListedValue(val2)
md$setValueType("typeName")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.