| DCEntry {atom4R} | R Documentation |
Dublin Core Entry class
Description
This class models an Dublin Core Entry
Format
R6Class object.
Details
DCEntry
Value
Object of R6Class for modelling an Dublin Core Entry
Super classes
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::AtomEntry -> DCEntry
Methods
Public methods
Inherited methods
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()atom4R::AtomEntry$addAuthor()atom4R::AtomEntry$addCategory()atom4R::AtomEntry$addContributor()atom4R::AtomEntry$addLink()atom4R::AtomEntry$delAuthor()atom4R::AtomEntry$delCategory()atom4R::AtomEntry$delContributor()atom4R::AtomEntry$delLink()atom4R::AtomEntry$setContent()atom4R::AtomEntry$setId()atom4R::AtomEntry$setPublished()atom4R::AtomEntry$setRights()atom4R::AtomEntry$setSource()atom4R::AtomEntry$setSummary()atom4R::AtomEntry$setTitle()atom4R::AtomEntry$setUpdated()
Method new()
Initializes an object of class DCEntry
Usage
DCEntry$new(xml = NULL)
Arguments
xmlobject of class XMLInternalNode-class from XML
Method addDCElement()
Adds a Dublin Core element
Usage
DCEntry$addDCElement(term, value, extended = FALSE)
Arguments
termterm
valuevalue
extendedextended. Default is
FALSE
Returns
TRUE if added, FALSE otherwise
Method delDCElement()
Deletes a Dublin Core element
Usage
DCEntry$delDCElement(term, value)
Arguments
termterm
valuevalue
Returns
TRUE if deleted, FALSE otherwise
Method setDCElements()
Set a list of DC elements
Usage
DCEntry$setDCElements(term, values)
Arguments
termterm
valuesvector of values
Method getDCElements()
Get a list of DC elements
Usage
DCEntry$getDCElements(term)
Arguments
termterm
Returns
a list of objects extending DCElement
Method getDCElementByValue()
Get a DC element by value
Usage
DCEntry$getDCElementByValue(term, value)
Arguments
termterm
valuevalue
Method addDCAbstract()
Adds DC abstract
Usage
DCEntry$addDCAbstract(abstract)
Arguments
abstractobject of class DCAbstract or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCAbstract()
Deletes DC abstract
Usage
DCEntry$delDCAbstract(abstract)
Arguments
abstractobject of class DCAbstract or vector of class character and length 1
Method setDCAbstracts()
Set DC abstracts
Usage
DCEntry$setDCAbstracts(abstracts)
Arguments
abstractsabstracts, vector of class character
Method getDCAbstracts()
Get DC abstracts
Usage
DCEntry$getDCAbstracts()
Returns
a list of objects of class DCAbstract
Method addDCAccessRights()
Adds DC access rights
Usage
DCEntry$addDCAccessRights(accessRights)
Arguments
accessRightsobject of class DCAccessRights or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCAccessRights()
Deletes DC access rights
Usage
DCEntry$delDCAccessRights(accessRights)
Arguments
accessRightsobject of class DCAccessRights or vector of class character and length 1
Method setDCAccessRights()
Set access rights
Usage
DCEntry$setDCAccessRights(accessRights)
Arguments
accessRightsvector of class character
Method getDCAccessRights()
Get DC access rights
Usage
DCEntry$getDCAccessRights()
Returns
a list of objects of class DCAccessRights
Method addDCAccrualMethod()
Adds DC accrual method
Usage
DCEntry$addDCAccrualMethod(accrualMethod)
Arguments
accrualMethodobject of class DCAccrualMethod or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCAccrualMethod()
Deletes DC accrual method
Usage
DCEntry$delDCAccrualMethod(accrualMethod)
Arguments
accrualMethodobject of class DCAccrualMethod or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCAccrualMethods()
Set DC accrual method
Usage
DCEntry$setDCAccrualMethods(accrualMethods)
Arguments
accrualMethodsvector of class character
Method getDCAccrualMethods()
Get DC accrual method
Usage
DCEntry$getDCAccrualMethods()
Returns
a list of objects of class DCAccrualMethod
Method addDCAccrualPeriodicity()
Adds DC accrual periodicity
Usage
DCEntry$addDCAccrualPeriodicity(accrualPeriodicity)
Arguments
accrualPeriodicityobject of class DCAccrualPeriodicity or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCAccrualPeriodicity()
Deletes DC accrual periodicity
Usage
DCEntry$delDCAccrualPeriodicity(accrualPeriodicity)
Arguments
accrualPeriodicityobject of class DCAccrualPeriodicity or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCAccrualPeriodicities()
Set DC accrual periodicities
Usage
DCEntry$setDCAccrualPeriodicities(accrualPeriodicities)
Arguments
accrualPeriodicitiesvector of class character
Method getDCAccrualPeriodicities()
Get DC accrual periodicities
Usage
DCEntry$getDCAccrualPeriodicities()
Returns
a list of objects of class DCAccrualPeriodicity
Method addDCAccrualPolicy()
Adds DC accrual policy
Usage
DCEntry$addDCAccrualPolicy(accrualPolicy)
Arguments
accrualPolicyobject of class DCAccrualPolicy or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCAccrualPolicy()
Deletes DC accrual policy
Usage
DCEntry$delDCAccrualPolicy(accrualPolicy)
Arguments
accrualPolicyobject of class DCAccrualPolicy or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCAccrualPolicies()
Set DC accrual policies
Usage
DCEntry$setDCAccrualPolicies(accrualPolicies)
Arguments
accrualPoliciesvector of class character
Method getDCAccrualPolicies()
Get DC accrual policies
Usage
DCEntry$getDCAccrualPolicies()
Returns
a list of objects of class DCAccrualPolicy
Method addDCAlternative()
Adds DC alternative
Usage
DCEntry$addDCAlternative(alternative)
Arguments
alternativeobject of class DCAlternative or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCAlternative()
Deletes DC alternative
Usage
DCEntry$delDCAlternative(alternative)
Arguments
alternativeobject of class DCAlternative or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCAlternatives()
Set DC alternatives
Usage
DCEntry$setDCAlternatives(alternatives)
Arguments
alternativesvector of class character
Method getDCAlternatives()
Get DC alternatives
Usage
DCEntry$getDCAlternatives()
Returns
a list of objects of class DCAlternative
Method addDCAudience()
Adds DC audience
Usage
DCEntry$addDCAudience(audience)
Arguments
audienceobject of class DCAudience or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCAudience()
Deletes DC audience
Usage
DCEntry$delDCAudience(audience)
Arguments
audienceobject of class DCAudience or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCAudiences()
Set DC audiences
Usage
DCEntry$setDCAudiences(audiences)
Arguments
audiencesvector of class character
Method getDCAudiences()
Get DC audiences
Usage
DCEntry$getDCAudiences()
Returns
a list of objects of class DCAudience
Method addDCAvailable()
Adds DC available
Usage
DCEntry$addDCAvailable(available)
Arguments
availableobject of class DCAvailable or vector of class Date,POSIXt or character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCAvailable()
Deletes DC available
Usage
DCEntry$delDCAvailable(available)
Arguments
availableobject of class DCAvailable or vector of class Date,POSIXt or character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCAvailables()
Set DC availables
Usage
DCEntry$setDCAvailables(availables)
Arguments
availablesvector of class character
Method getDCAvailables()
Get DC availables
Usage
DCEntry$getDCAvailables()
Returns
a list of objects of class DCAvailable
Method addDCBibliographicCitation()
Adds DC bibliographic citation
Usage
DCEntry$addDCBibliographicCitation(bibliographicCitation)
Arguments
bibliographicCitationobject of class DCBibliographicCitation or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCBibliographicCitation()
Deletes DC bibliographic citation
Usage
DCEntry$delDCBibliographicCitation(bibliographicCitation)
Arguments
bibliographicCitationobject of class DCBibliographicCitation or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCBibliographicCitations()
Set bibliographic citations
Usage
DCEntry$setDCBibliographicCitations(bibliographicCitations)
Arguments
bibliographicCitationsvector of class character
Method getDCBibliographicCitations()
Get bibliographic citations
Usage
DCEntry$getDCBibliographicCitations()
Returns
the list of objects of class DCBibliographicCitation
Method addDCConformsTo()
Adds DC conforms to
Usage
DCEntry$addDCConformsTo(conformsTo)
Arguments
conformsToobject of class DCConformsTo or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCConformsTo()
Deletes DC conforms to
Usage
DCEntry$delDCConformsTo(conformsTo)
Arguments
conformsToobject of class DCConformsTo or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCConformsTo()
Set DC conforms to
Usage
DCEntry$setDCConformsTo(conformsTo)
Arguments
conformsTovector of class character
Method getDCConformsTo()
Get DC conforms to
Usage
DCEntry$getDCConformsTo()
Returns
the list of objects of class DCConformsTo
Method addDCContributor()
Adds DC contributor
Usage
DCEntry$addDCContributor(contributor)
Arguments
contributorobject of class DCContributor or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCContributor()
Deletes DC contributor
Usage
DCEntry$delDCContributor(contributor)
Arguments
contributorobject of class DCContributor or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCContributors()
Set DC contributors
Usage
DCEntry$setDCContributors(contributors)
Arguments
contributorsvector of class character
Method getDCContributors()
Get DC contributors
Usage
DCEntry$getDCContributors()
Returns
list of objects of class DCContributor
Method addDCCoverage()
Adds DC coverage
Usage
DCEntry$addDCCoverage(coverage)
Arguments
coverageobject of class DCCoverage or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCCoverage()
Deletes DC coverage
Usage
DCEntry$delDCCoverage(coverage)
Arguments
coverageobject of class DCCoverage or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCCoverages()
Set DC coverages
Usage
DCEntry$setDCCoverages(coverages)
Arguments
coveragescoverages vector of class character
Method getDCCoverages()
Get DC coverages
Usage
DCEntry$getDCCoverages()
Returns
a list of objects of class DCCoverage
Method addDCCreated()
Adds DC created
Usage
DCEntry$addDCCreated(created)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCCreated()
Deletes DC created
Usage
DCEntry$delDCCreated(created)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method addDCCreator()
Adds DC creator
Usage
DCEntry$addDCCreator(creator)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCCreator()
Deletes DC creator
Usage
DCEntry$delDCCreator(creator)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCCreators()
Set DC creators
Usage
DCEntry$setDCCreators(creators)
Arguments
creatorscreators
Method getDCCreators()
Get DC creators
Usage
DCEntry$getDCCreators()
Returns
a list of objects of class DCCreator
Method addDCDate()
Adds DC date
Usage
DCEntry$addDCDate(date)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCDate()
Deletes DC date
Usage
DCEntry$delDCDate(date)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCDates()
Set DC Creators
Usage
DCEntry$setDCDates(dates)
Arguments
Method getDCDates()
Get DC Dates
Usage
DCEntry$getDCDates()
Returns
a list of objects of class DCDate
Method addDCDateAccepted()
Adds DC date accepted
Usage
DCEntry$addDCDateAccepted(dateAccepted)
Arguments
dateAcceptedobject of class DCDateAccepted or vector of class Date,POSIXt or character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCDateAccepted()
Deletes DC date accepted
Usage
DCEntry$delDCDateAccepted(dateAccepted)
Arguments
dateAcceptedobject of class DCDateAccepted or vector of class Date,POSIXt or character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method addDCDateCopyrighted()
Adds DC date copyrighted
Usage
DCEntry$addDCDateCopyrighted(dateCopyrighted)
Arguments
dateCopyrightedobject of class DCDateCopyrighted or vector of class Date,POSIXt or character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCDateCopyrighted()
Deletes DC date copyrighted
Usage
DCEntry$delDCDateCopyrighted(dateCopyrighted)
Arguments
dateCopyrightedobject of class DCDateCopyrighted or vector of class Date,POSIXt or character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method addDCDateSubmitted()
Adds DC date submitted
Usage
DCEntry$addDCDateSubmitted(dateSubmitted)
Arguments
dateSubmittedobject of class DCDateSubmitted or vector of class Date,POSIXt or character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCDateSubmitted()
Deletes DC date submitted
Usage
DCEntry$delDCDateSubmitted(dateSubmitted)
Arguments
dateSubmittedobject of class DCDateSubmitted or vector of class Date,POSIXt or character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method addDCDescription()
Adds DC description
Usage
DCEntry$addDCDescription(description)
Arguments
descriptionobject of class DCDescription or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCDescription()
Deletes DC description
Usage
DCEntry$delDCDescription(description)
Arguments
descriptionobject of class DCDescription or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCDescriptions()
Set DC descriptions
Usage
DCEntry$setDCDescriptions(descriptions)
Arguments
descriptionsvector of class character
Method getDCDescriptions()
Get DC descriptions
Usage
DCEntry$getDCDescriptions()
Returns
a list of objects of class DCDescription
Method addDCEducationalLevel()
Adds DC educational level
Usage
DCEntry$addDCEducationalLevel(educationalLevel)
Arguments
educationalLevelobject of class DCEducationalLevel or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCEducationalLevel()
Deletes DC educational level
Usage
DCEntry$delDCEducationalLevel(educationalLevel)
Arguments
educationalLevelobject of class DCEducationalLevel or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCEducationalLevels()
set DC education levels
Usage
DCEntry$setDCEducationalLevels(educationLevels)
Arguments
educationLevelsvector of class character
Method getDCEducationalLevels()
Get DC educational levels
Usage
DCEntry$getDCEducationalLevels()
Returns
a list of objects of class DCEducationalLevel
Method addDCExtent()
Adds DC extent
Usage
DCEntry$addDCExtent(extent)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCExtent()
Deletes DC extent
Usage
DCEntry$delDCExtent(extent)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCExtents()
Set DC extents
Usage
DCEntry$setDCExtents(extents)
Arguments
extentsvector of class character
Method getDCExtents()
Get DC extents
Usage
DCEntry$getDCExtents()
Returns
a list of objects of class DCExtent
Method addDCFormat()
Adds DC format
Usage
DCEntry$addDCFormat(format)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCFormat()
Deletes DC format
Usage
DCEntry$delDCFormat(format)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCFormats()
Set DC formats
Usage
DCEntry$setDCFormats(formats)
Arguments
formatsvector of class character
Method getDCFormats()
Get DC formats
Usage
DCEntry$getDCFormats()
Returns
a list of objects of class DCFormat
Method addDCHasPart()
Adds DC hasPart
Usage
DCEntry$addDCHasPart(hasPart)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCHasPart()
Deletes DC hasPart
Usage
DCEntry$delDCHasPart(hasPart)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCHasParts()
Set DC hasParts
Usage
DCEntry$setDCHasParts(hasParts)
Arguments
hasPartsvector of class character
Method getDCHasParts()
Get DC has part
Usage
DCEntry$getDCHasParts()
Returns
a list of objects of class DCHasPart
Method addDCHasVersion()
Adds DC hasVersion
Usage
DCEntry$addDCHasVersion(hasVersion)
Arguments
hasVersionobject of class DCHasVersion or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCHasVersion()
Deletes DC hasVersion
Usage
DCEntry$delDCHasVersion(hasVersion)
Arguments
hasVersionobject of class DCHasVersion or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCHasVersions()
Set DC hasVersions
Usage
DCEntry$setDCHasVersions(hasVersions)
Arguments
hasVersionsvector of class character
Method getDCHasVersions()
Get DC has versions
Usage
DCEntry$getDCHasVersions()
Returns
a list of objects of class DCHasVersion
Method addDCIdentifier()
Adds DC identifier
Usage
DCEntry$addDCIdentifier(identifier)
Arguments
identifierobject of class DCIdentifier or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCIdentifier()
Deletes DC identifier
Usage
DCEntry$delDCIdentifier(identifier)
Arguments
identifierobject of class DCIdentifier or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCIdentifiers()
Set DC identifiers
Usage
DCEntry$setDCIdentifiers(identifiers)
Arguments
identifiersvector of class character
Method getDCIdentifiers()
Get DC identifiers
Usage
DCEntry$getDCIdentifiers()
Returns
a list of objects of class DCIdentifier
Method addDCInstructionalMethod()
Adds DC instructionalMethod
Usage
DCEntry$addDCInstructionalMethod(instructionalMethod)
Arguments
instructionalMethodobject of class DCInstructionalMethod or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCInstructionalMethod()
Deletes DC instructionalMethod
Usage
DCEntry$delDCInstructionalMethod(instructionalMethod)
Arguments
instructionalMethodobject of class DCInstructionalMethod or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCInstructionalMethods()
Set DC Instructional methods
Usage
DCEntry$setDCInstructionalMethods(instructionalMethods)
Arguments
instructionalMethodsvector of class character
Method getDCInstructionalMethods()
Get DC instructional methods
Usage
DCEntry$getDCInstructionalMethods()
Returns
a list of objects of class DCInstructionalMethod
Method addDCIsPartOf()
Adds DC isPartOf
Usage
DCEntry$addDCIsPartOf(isPartOf)
Arguments
isPartOfobject of class DCIsPartOf or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCIsPartOf()
Deletes DC isPartOf
Usage
DCEntry$delDCIsPartOf(isPartOf)
Arguments
isPartOfobject of class DCIsPartOf or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCIsPartOf()
Set DC IsPartOf
Usage
DCEntry$setDCIsPartOf(isPartOf)
Arguments
isPartOfvector of class character
Method getDCIsPartOfs()
Get DC Is Part of
Usage
DCEntry$getDCIsPartOfs()
Returns
a list of objects of class DCIsPartOf
Method addDCIsReferencedBy()
Adds DC isReferencedBy
Usage
DCEntry$addDCIsReferencedBy(isReferencedBy)
Arguments
isReferencedByobject of class DCIsReferencedBy or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCIsReferencedBy()
Deletes DC isReferencedBy
Usage
DCEntry$delDCIsReferencedBy(isReferencedBy)
Arguments
isReferencedByobject of class DCIsReferencedBy or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCIsReferencedBys()
Set DC isReferencedBys
Usage
DCEntry$setDCIsReferencedBys(isReferencedBys)
Arguments
isReferencedBysvector of class character
Method getDCIsReferencedBys()
Get DC Is Referenced by
Usage
DCEntry$getDCIsReferencedBys()
Returns
a list of objects of class DCIsReferencedBy
Method addDCIsReplacedBy()
Adds DC isReplacedBy
Usage
DCEntry$addDCIsReplacedBy(isReplacedBy)
Arguments
isReplacedByobject of class DCIsReplacedBy or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCIsReplacedBy()
Deletes DC isReferencedBy
Usage
DCEntry$delDCIsReplacedBy(isReplacedBy)
Arguments
isReplacedByobject of class DCIsReplacedBy or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCIsReplacedBys()
Set DC isReplacedBys
Usage
DCEntry$setDCIsReplacedBys(isReplacedBys)
Arguments
isReplacedBysvector of class character
Method getDCIsReplacedBys()
Get DC Is Replaced by
Usage
DCEntry$getDCIsReplacedBys()
Returns
a list of objects of class DCIsReplacedBy
Method addDCIsRequiredBy()
Adds DC isRequiredBy
Usage
DCEntry$addDCIsRequiredBy(isRequiredBy)
Arguments
isRequiredByobject of class DCIsRequiredBy or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCIsRequiredBy()
Deletes DC isRequiredBy
Usage
DCEntry$delDCIsRequiredBy(isRequiredBy)
Arguments
isRequiredByobject of class DCIsRequiredBy or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCIsRequiredBys()
Set DC isRequiredBys
Usage
DCEntry$setDCIsRequiredBys(isRequiredBys)
Arguments
isRequiredBysvector of class character
Method getDCIsRequiredBys()
Get DC Is Required by
Usage
DCEntry$getDCIsRequiredBys()
Returns
a list of objects of class DCIsRequiredBy
Method addDCIsVersionOf()
Adds DC isVersionOf
Usage
DCEntry$addDCIsVersionOf(isVersionOf)
Arguments
isVersionOfobject of class DCIsVersionOf or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCIsVersionOf()
Deletes DC isVersionOf
Usage
DCEntry$delDCIsVersionOf(isVersionOf)
Arguments
isVersionOfobject of class DCIsVersionOf or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCIsVersionOfs()
Set DC isVersionOfs
Usage
DCEntry$setDCIsVersionOfs(isVersionOfs)
Arguments
isVersionOfsvector of class character
Method getDCIsVersionOfs()
Get DC Is Version Ofs
Usage
DCEntry$getDCIsVersionOfs()
Returns
a list of objects of class DCIsVersionOf
Method addDCIssued()
Adds DC issued
Usage
DCEntry$addDCIssued(issued)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCIssued()
Deletes DC issued
Usage
DCEntry$delDCIssued(issued)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method addDCLanguage()
Adds DC language
Usage
DCEntry$addDCLanguage(language)
Arguments
languageobject of class DCLanguage or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCLanguage()
Deletes DC language
Usage
DCEntry$delDCLanguage(language)
Arguments
languageobject of class DCLanguage or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCLanguages()
Set DC languages
Usage
DCEntry$setDCLanguages(languages)
Arguments
languageslanguages vector of class character
Method getDCLanguages()
Get languages
Usage
DCEntry$getDCLanguages()
Returns
a list of objects of class DCLanguage
Method addDCLicense()
Adds DC license
Usage
DCEntry$addDCLicense(license)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCLicense()
Deletes DC license
Usage
DCEntry$delDCLicense(license)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCLicenses()
Set DC licences
Usage
DCEntry$setDCLicenses(licenses)
Arguments
licensesvector of class character
Method getDCLicenses()
Get DC licenses
Usage
DCEntry$getDCLicenses()
Returns
a list of objects of class DCLicense
Method addDCMediator()
Adds DC mediator
Usage
DCEntry$addDCMediator(mediator)
Arguments
mediatorobject of class DCMediator or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCMediator()
Deletes DC mediator
Usage
DCEntry$delDCMediator(mediator)
Arguments
mediatorobject of class DCMediator or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCMediators()
Set DC mediators
Usage
DCEntry$setDCMediators(mediators)
Arguments
mediatorsvector of class character
Method getDCMediators()
Get DC mediators
Usage
DCEntry$getDCMediators()
Returns
a list of objects of class DCMediator
Method addDCMedium()
Adds DC medium
Usage
DCEntry$addDCMedium(medium)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCMedium()
Deletes DC medium
Usage
DCEntry$delDCMedium(medium)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCMediums()
Set DC mediums
Usage
DCEntry$setDCMediums(mediums)
Arguments
mediumsvector of class character
Method getDCMediums()
Get DC mediums
Usage
DCEntry$getDCMediums()
Returns
a list of objects of class DCMedium
Method addDCModified()
Adds DC modified
Usage
DCEntry$addDCModified(modified)
Arguments
modifiedobject of class DCModified or vector of class Date,POSIXt or character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCModified()
Deletes DC modified
Usage
DCEntry$delDCModified(modified)
Arguments
modifiedobject of class DCModified or vector of class Date,POSIXt or character and length 1
Returns
TRUE if deletes, FALSE otherwise
Method addDCProvenance()
Adds DC provenance
Usage
DCEntry$addDCProvenance(provenance)
Arguments
provenanceobject of class DCProvenance or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCProvenance()
Deletes DC provenance
Usage
DCEntry$delDCProvenance(provenance)
Arguments
provenanceobject of class DCProvenance or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCProvenances()
Set DC provenances
Usage
DCEntry$setDCProvenances(provenances)
Arguments
provenancesvector of class character
Method getDCProvenances()
Get DC provenances
Usage
DCEntry$getDCProvenances()
Returns
a list of objects of class DCProvenance
Method addDCPublisher()
Adds DC publisher
Usage
DCEntry$addDCPublisher(publisher)
Arguments
publisherobject of class DCPublisher or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCPublisher()
Deletes DC publisher
Usage
DCEntry$delDCPublisher(publisher)
Arguments
publisherobject of class DCPublisher or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCPublishers()
Set DC publishers
Usage
DCEntry$setDCPublishers(publishers)
Arguments
publishersvector of class character
Method getDCPublishers()
Get DC publishers
Usage
DCEntry$getDCPublishers()
Returns
a list of objects of class DCPublisher
Method addDCReferences()
Adds DC references
Usage
DCEntry$addDCReferences(references)
Arguments
referencesobject of class DCReferences or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCReferences()
Deletes DC references
Usage
DCEntry$delDCReferences(references)
Arguments
referencesobject of class DCReferences or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCReferences()
Set DC references
Usage
DCEntry$setDCReferences(references)
Arguments
referencesvector of class character
Method getDCReferences()
Get DC references
Usage
DCEntry$getDCReferences()
Returns
a list of objects of class DCReferences
Method addDCRelation()
Adds DC relation
Usage
DCEntry$addDCRelation(relation)
Arguments
relationobject of class DCRelation or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCRelation()
Deletes DC relation
Usage
DCEntry$delDCRelation(relation)
Arguments
relationobject of class DCRelation or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCRelations()
Set DC relations
Usage
DCEntry$setDCRelations(relations)
Arguments
relationsvector of class character
Method getDCRelations()
Get DC relations
Usage
DCEntry$getDCRelations()
Returns
a list of objects of class DCRelation
Method addDCReplaces()
Adds DC replaces
Usage
DCEntry$addDCReplaces(replaces)
Arguments
replacesobject of class DCReplaces or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCReplaces()
Deletes DC replaces
Usage
DCEntry$delDCReplaces(replaces)
Arguments
replacesobject of class DCReplaces or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCReplaces()
Set DC replaces
Usage
DCEntry$setDCReplaces(replaces)
Arguments
replacesvector of class character
Method getDCReplaces()
Get DC replaces
Usage
DCEntry$getDCReplaces()
Returns
a list of objects of class DCReplaces
Method addDCRequires()
Adds DC requires
Usage
DCEntry$addDCRequires(requires)
Arguments
requiresobject of class DCRequires or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCRequires()
Deletes DC requires
Usage
DCEntry$delDCRequires(requires)
Arguments
requiresobject of class DCRequires or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCRequires()
Set DC requires
Usage
DCEntry$setDCRequires(requires)
Arguments
requiresvector of class character
Method getDCRequires()
Get DC requires
Usage
DCEntry$getDCRequires()
Returns
a list of objects of class DCRequires
Method addDCRights()
Adds DC rights
Usage
DCEntry$addDCRights(rights)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCRights()
Deletes DC rights
Usage
DCEntry$delDCRights(rights)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCRights()
Set DC rights
Usage
DCEntry$setDCRights(rights)
Arguments
rightsvector of class character
Method getDCRights()
Get DC rights
Usage
DCEntry$getDCRights()
Returns
a list of objects of class DCRights
Method addDCRightsHolder()
Adds DC rightsHolder
Usage
DCEntry$addDCRightsHolder(rightsHolder)
Arguments
rightsHolderobject of class DCRightsHolder or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCRightsHolder()
Deletes DC rightsHolder
Usage
DCEntry$delDCRightsHolder(rightsHolder)
Arguments
rightsHolderobject of class DCRightsHolder or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCRightsHolders()
Set DC rights holders
Usage
DCEntry$setDCRightsHolders(rightsHolders)
Arguments
rightsHoldersvector of class character
Method getDCRightsHolders()
Get DC rights holders
Usage
DCEntry$getDCRightsHolders()
Returns
a list of objects of class DCRightsHolder
Method addDCSource()
Adds DC source
Usage
DCEntry$addDCSource(source)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCSource()
Deletes DC source
Usage
DCEntry$delDCSource(source)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCSources()
Set DC sources
Usage
DCEntry$setDCSources(sources)
Arguments
sourcesvector of class character
Method getDCSources()
Get DC sources
Usage
DCEntry$getDCSources()
Returns
a list of objects of class DCSource
Method addDCSubject()
Adds DC subject
Usage
DCEntry$addDCSubject(subject)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCSubject()
Deletes DC subject
Usage
DCEntry$delDCSubject(subject)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCSubjects()
Set DC subjects
Usage
DCEntry$setDCSubjects(subjects)
Arguments
subjectsvector of class character
Method getDCSubjects()
Get DC Subjects
Usage
DCEntry$getDCSubjects()
Returns
a list of objects of class DCSubject
Method addDCTableOfContents()
Adds DC tableOfContents
Usage
DCEntry$addDCTableOfContents(tableOfContents)
Arguments
tableOfContentsobject of class DCTableOfContents or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCTableOfContents()
Deletes DC tableOfContents
Usage
DCEntry$delDCTableOfContents(tableOfContents)
Arguments
tableOfContentsobject of class DCTableOfContents or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCTablesOfContents()
Set DC tables of contents
Usage
DCEntry$setDCTablesOfContents(tablesOfContents)
Arguments
tablesOfContentsvector of class character
Method getDCTablesOfContent()
Get DC tables of contents
Usage
DCEntry$getDCTablesOfContent()
Returns
a list of objects of class DCTableOfContents
Method addDCTemporal()
Adds DC temporal
Usage
DCEntry$addDCTemporal(temporal)
Arguments
temporalobject of class DCTemporal or vector of class character and length 1
Returns
TRUE if added, FALSE otherwise
Method delDCTemporal()
Deletes DC temporal
Usage
DCEntry$delDCTemporal(temporal)
Arguments
temporalobject of class DCTemporal or vector of class character and length 1
Returns
TRUE if deleted, FALSE otherwise
Method setDCTemporals()
Set DC temporals
Usage
DCEntry$setDCTemporals(temporals)
Arguments
temporalsvector of class character
Method getDCTemporals()
Get DC temporals
Usage
DCEntry$getDCTemporals()
Returns
a list of objects of class DCTemporal
Method addDCTitle()
Adds DC title
Usage
DCEntry$addDCTitle(title)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCTitle()
Deletes DC title
Usage
DCEntry$delDCTitle(title)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCTitles()
Set DC titles
Usage
DCEntry$setDCTitles(titles)
Arguments
titlesvector of class character
Method getDCTitles()
Get DC titles
Usage
DCEntry$getDCTitles()
Returns
a list of objects of class DCTitle
Method addDCType()
Adds DC type
Usage
DCEntry$addDCType(type)
Arguments
Returns
TRUE if added, FALSE otherwise
Method delDCType()
Deletes DC type
Usage
DCEntry$delDCType(type)
Arguments
Returns
TRUE if deleted, FALSE otherwise
Method setDCTypes()
Set DC Types
Usage
DCEntry$setDCTypes(types)
Arguments
typesvector of class character
Method getDCTypes()
Get DC types
Usage
DCEntry$getDCTypes()
Returns
a list of objects of class DCType
Method asDataFrame()
export to a data.frame
Usage
DCEntry$asDataFrame()
Returns
an object of class data.frame
Method clone()
The objects of this class are cloneable with this method.
Usage
DCEntry$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
#encoding
dcentry <- DCEntry$new()
dcentry$setId("my-dc-entry")
#fill dc entry
dcentry$addDCDate(Sys.time())
dcentry$addDCTitle("atom4R - Tools to read/write and publish metadata as Atom XML format")
dcentry$addDCType("Software")
creator <- DCCreator$new(value = "Blondel, Emmanuel")
creator$attrs[["affiliation"]] <- "Independent"
dcentry$addDCCreator(creator)
dcentry$addDCSubject("R")
dcentry$addDCSubject("FAIR")
dcentry$addDCSubject("Interoperability")
dcentry$addDCSubject("Open Science")
dcentry$addDCDescription("Atom4R offers tools to read/write and publish metadata as Atom XML")
dcentry$addDCPublisher("GitHub")
funder <- DCContributor$new(value = "CNRS")
funder$attrs[["type"]] <- "Funder"
dcentry$addDCContributor(funder)
dcentry$addDCRelation("Github repository: https://github.com/eblondel/atom4R")
dcentry$addDCSource("Atom Syndication format - https://www.ietf.org/rfc/rfc4287")
dcentry$addDCSource("AtomPub, The Atom publishing protocol - https://tools.ietf.org/html/rfc5023")
dcentry$addDCSource("Sword API - http://swordapp.org/")
dcentry$addDCSource("Dublin Core Metadata Initiative - https://www.dublincore.org/")
dcentry$addDCSource("Guidelines for implementing Dublin Core in XML")
dcentry$addDCLicense("NONE")
dcentry$addDCRights("MIT License")
dcentry$addDCHasPart("part1")
dcentry$addDCHasPart("part2")
dcentry$addDCHasVersion("0.2")
dcentry$addDCIsPartOf("CRAN")
dcentry$addDCIsPartOf("GitHub")
dcentry$addDCIsReferencedBy("CRAN")
dcentry$addDCIsReferencedBy("GitHub")
dcentry$addDCIsRequiredBy("zen4R")
dcentry$addDCIsRequiredBy("cloud4R")
xml <- dcentry$encode()
#decoding
dcentry2 <- DCEntry$new(xml = xml)
xml2 <- dcentry2$encode()