ISOLegalConstraints | R Documentation |
ISOLegalConstraints
ISOLegalConstraints
R6Class
object.
Object of R6Class
for modelling an ISO LegalConstraints
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOConstraints
-> ISOLegalConstraints
accessConstraints
accessConstraints [0..*]: ISORestriction
useConstraints
useConstraints [0..*]: ISORestriction
otherConstraints
otherConstraints [0..*]: character
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::ISOConstraints$addUseLimitation()
geometa::ISOConstraints$delUseLimitation()
geometa::ISOConstraints$setUseLimitation()
new()
Initializes object
ISOLegalConstraints$new(xml = NULL)
xml
object of class XMLInternalNode-class
addAccessConstraint()
Adds access constraint
ISOLegalConstraints$addAccessConstraint(constraint)
constraint
object of class ISORestriction
TRUE
if added, FALSE
otherwise
delAccessConstraint()
Deletes access constraint
ISOLegalConstraints$delAccessConstraint(constraint)
constraint
object of class ISORestriction
TRUE
if deleted, FALSE
otherwise
addUseConstraint()
Adds use constraint
ISOLegalConstraints$addUseConstraint(constraint)
constraint
object of class ISORestriction
TRUE
if added, FALSE
otherwise
delUseConstraint()
Deletes use constraint
ISOLegalConstraints$delUseConstraint(constraint)
constraint
object of class ISORestriction
TRUE
if deleted, FALSE
otherwise
addOtherConstraint()
Adds other constraint
ISOLegalConstraints$addOtherConstraint(constraint, locales = NULL)
constraint
object of class character
locales
list of localized names. Default is NULL
TRUE
if added, FALSE
otherwise
delOtherConstraint()
Deletes other constraint
ISOLegalConstraints$delOtherConstraint(constraint, locales = NULL)
constraint
object of class character
locales
list of localized names. Default is NULL
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISOLegalConstraints$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ISO 19115:2003 - Geographic information – Metadata
#create object
md <- ISOLegalConstraints$new()
md$addUseLimitation("limitation1")
md$addUseLimitation("limitation2")
md$addUseLimitation("limitation3")
md$addAccessConstraint("copyright")
md$addAccessConstraint("license")
md$addUseConstraint("copyright")
md$addUseConstraint("license")
xml <- md$encode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.