ISOLegalConstraints
ISOLegalConstraints
R6Class
object.
Object of R6Class
for modelling an ISO LegalConstraints
ISO 19115:2003 - Geographic information – Metadata
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOConstraints
-> ISOLegalConstraints
accessConstraints
accessConstraints [0..*]: ISORestriction
useConstraints
useConstraints [0..*]: ISORestriction
otherConstraints
otherConstraints [0..*]: character
Inherited methods
geometa::geometaLogger$ERROR()
geometa::geometaLogger$INFO()
geometa::geometaLogger$WARN()
geometa::ISOAbstractObject$addFieldAttrs()
geometa::ISOAbstractObject$addListElement()
geometa::ISOAbstractObject$checkMetadataStandardCompliance()
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$stopIfMetadataStandardIsNot()
geometa::ISOAbstractObject$validate()
geometa::ISOAbstractObject$wrapBaseElement()
geometa::ISOConstraints$addGraphic()
geometa::ISOConstraints$addReference()
geometa::ISOConstraints$addResponsibleParty()
geometa::ISOConstraints$addUseLimitation()
geometa::ISOConstraints$delGraphic()
geometa::ISOConstraints$delReference()
geometa::ISOConstraints$delResponsibleParty()
geometa::ISOConstraints$delUseLimitation()
geometa::ISOConstraints$setReleasability()
geometa::ISOConstraints$setScope()
geometa::ISOConstraints$setUseLimitation()
new()
Initializes object
ISOLegalConstraints$new(xml = NULL)
xml
object of class XMLInternalNode-class
addAccessConstraint()
Adds access constraint
constraint
object of class ISORestriction
delAccessConstraint()
Deletes access constraint
constraint
object of class ISORestriction
delUseConstraint()
Deletes use constraint
constraint
object of class ISORestriction
addOtherConstraint()
Adds other constraint
constraint
object of class character
locales
list of localized names. Default is NULL
delOtherConstraint()
Deletes other constraint
constraint
object of class character
locales
list of localized names. Default is NULL
#create object
md <- ISOLegalConstraints$new()
md$addUseLimitation("limitation1")
#> [1] TRUE
md$addUseLimitation("limitation2")
#> [1] TRUE
md$addUseLimitation("limitation3")
#> [1] TRUE
md$addAccessConstraint("copyright")
#> [1] TRUE
md$addAccessConstraint("license")
#> [1] TRUE
md$addUseConstraint("copyright")
#> [1] TRUE
md$addUseConstraint("license")
#> [1] TRUE
xml <- md$encode()
#> [geometa][INFO] Object 'ISOLegalConstraints' is VALID according to ISO 19139 XML schemas!