| ISOLegalConstraints | R Documentation |
ISOLegalConstraints
ISOLegalConstraints
R6Class object.
Object of R6Class for modelling an ISO LegalConstraints
geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOConstraints -> ISOLegalConstraints
accessConstraintsaccessConstraints [0..*]: ISORestriction
useConstraintsuseConstraints [0..*]: ISORestriction
otherConstraintsotherConstraints [0..*]: character
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)
xmlobject of class XMLInternalNode-class
addAccessConstraint()Adds access constraint
ISOLegalConstraints$addAccessConstraint(constraint)
constraintobject of class ISORestriction
TRUE if added, FALSE otherwise
delAccessConstraint()Deletes access constraint
ISOLegalConstraints$delAccessConstraint(constraint)
constraintobject of class ISORestriction
TRUE if deleted, FALSE otherwise
addUseConstraint()Adds use constraint
ISOLegalConstraints$addUseConstraint(constraint)
constraintobject of class ISORestriction
TRUE if added, FALSE otherwise
delUseConstraint()Deletes use constraint
ISOLegalConstraints$delUseConstraint(constraint)
constraintobject of class ISORestriction
TRUE if deleted, FALSE otherwise
addOtherConstraint()Adds other constraint
ISOLegalConstraints$addOtherConstraint(constraint, locales = NULL)
constraintobject of class character
localeslist of localized names. Default is NULL
TRUE if added, FALSE otherwise
delOtherConstraint()Deletes other constraint
ISOLegalConstraints$delOtherConstraint(constraint, locales = NULL)
constraintobject of class character
localeslist 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)
deepWhether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_LegalConstraints
- ISO 19115-3 https://schemas.isotc211.org/19115/-3/mco/1.0/mco/#element_MD_LegalConstraints
#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.