ISOLegalConstraints
ISOLegalConstraints
ISOLegalConstraints class
R6Class
object.
Object of R6Class
for modelling an ISO 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()
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
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOConstraints
-> ISOLegalConstraints
accessConstraints
: accessConstraints [0..*]: ISORestriction
useConstraints
: useConstraints [0..*]: ISORestriction
otherConstraints
: otherConstraints [0..*]: character
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.