| DCEntry | R Documentation |
This class models an Dublin Core Entry
R6Class object.
DCEntry
Object of R6Class for modelling an Dublin Core Entry
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::AtomEntry -> DCEntry
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()new()Initializes an object of class DCEntry
DCEntry$new(xml = NULL)
xmlobject of class XMLInternalNode-class from XML
addDCElement()Adds a Dublin Core element
DCEntry$addDCElement(term, value, extended = FALSE)
termterm
valuevalue
extendedextended. Default is FALSE
TRUE if added, FALSE otherwise
delDCElement()Deletes a Dublin Core element
DCEntry$delDCElement(term, value)
termterm
valuevalue
TRUE if deleted, FALSE otherwise
setDCElements()Set a list of DC elements
DCEntry$setDCElements(term, values)
termterm
valuesvector of values
getDCElements()Get a list of DC elements
DCEntry$getDCElements(term)
termterm
a list of objects extending DCElement
getDCElementByValue()Get a DC element by value
DCEntry$getDCElementByValue(term, value)
termterm
valuevalue
addDCAbstract()Adds DC abstract
DCEntry$addDCAbstract(abstract)
abstractobject of class DCAbstract or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAbstract()Deletes DC abstract
DCEntry$delDCAbstract(abstract)
abstractobject of class DCAbstract or vector of class character and length 1
setDCAbstracts()Set DC abstracts
DCEntry$setDCAbstracts(abstracts)
abstractsabstracts, vector of class character
getDCAbstracts()Get DC abstracts
DCEntry$getDCAbstracts()
a list of objects of class DCAbstract
addDCAccessRights()Adds DC access rights
DCEntry$addDCAccessRights(accessRights)
accessRightsobject of class DCAccessRights or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAccessRights()Deletes DC access rights
DCEntry$delDCAccessRights(accessRights)
accessRightsobject of class DCAccessRights or vector of class character and length 1
setDCAccessRights()Set access rights
DCEntry$setDCAccessRights(accessRights)
accessRightsvector of class character
getDCAccessRights()Get DC access rights
DCEntry$getDCAccessRights()
a list of objects of class DCAccessRights
addDCAccrualMethod()Adds DC accrual method
DCEntry$addDCAccrualMethod(accrualMethod)
accrualMethodobject of class DCAccrualMethod or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAccrualMethod()Deletes DC accrual method
DCEntry$delDCAccrualMethod(accrualMethod)
accrualMethodobject of class DCAccrualMethod or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCAccrualMethods()Set DC accrual method
DCEntry$setDCAccrualMethods(accrualMethods)
accrualMethodsvector of class character
getDCAccrualMethods()Get DC accrual method
DCEntry$getDCAccrualMethods()
a list of objects of class DCAccrualMethod
addDCAccrualPeriodicity()Adds DC accrual periodicity
DCEntry$addDCAccrualPeriodicity(accrualPeriodicity)
accrualPeriodicityobject of class DCAccrualPeriodicity or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAccrualPeriodicity()Deletes DC accrual periodicity
DCEntry$delDCAccrualPeriodicity(accrualPeriodicity)
accrualPeriodicityobject of class DCAccrualPeriodicity or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCAccrualPeriodicities()Set DC accrual periodicities
DCEntry$setDCAccrualPeriodicities(accrualPeriodicities)
accrualPeriodicitiesvector of class character
getDCAccrualPeriodicities()Get DC accrual periodicities
DCEntry$getDCAccrualPeriodicities()
a list of objects of class DCAccrualPeriodicity
addDCAccrualPolicy()Adds DC accrual policy
DCEntry$addDCAccrualPolicy(accrualPolicy)
accrualPolicyobject of class DCAccrualPolicy or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAccrualPolicy()Deletes DC accrual policy
DCEntry$delDCAccrualPolicy(accrualPolicy)
accrualPolicyobject of class DCAccrualPolicy or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCAccrualPolicies()Set DC accrual policies
DCEntry$setDCAccrualPolicies(accrualPolicies)
accrualPoliciesvector of class character
getDCAccrualPolicies()Get DC accrual policies
DCEntry$getDCAccrualPolicies()
a list of objects of class DCAccrualPolicy
addDCAlternative()Adds DC alternative
DCEntry$addDCAlternative(alternative)
alternativeobject of class DCAlternative or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAlternative()Deletes DC alternative
DCEntry$delDCAlternative(alternative)
alternativeobject of class DCAlternative or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCAlternatives()Set DC alternatives
DCEntry$setDCAlternatives(alternatives)
alternativesvector of class character
getDCAlternatives()Get DC alternatives
DCEntry$getDCAlternatives()
a list of objects of class DCAlternative
addDCAudience()Adds DC audience
DCEntry$addDCAudience(audience)
audienceobject of class DCAudience or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAudience()Deletes DC audience
DCEntry$delDCAudience(audience)
audienceobject of class DCAudience or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCAudiences()Set DC audiences
DCEntry$setDCAudiences(audiences)
audiencesvector of class character
getDCAudiences()Get DC audiences
DCEntry$getDCAudiences()
a list of objects of class DCAudience
addDCAvailable()Adds DC available
DCEntry$addDCAvailable(available)
availableobject of class DCAvailable or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCAvailable()Deletes DC available
DCEntry$delDCAvailable(available)
availableobject of class DCAvailable or vector of class Date,POSIXt or character and length 1
TRUE if deleted, FALSE otherwise
setDCAvailables()Set DC availables
DCEntry$setDCAvailables(availables)
availablesvector of class character
getDCAvailables()Get DC availables
DCEntry$getDCAvailables()
a list of objects of class DCAvailable
addDCBibliographicCitation()Adds DC bibliographic citation
DCEntry$addDCBibliographicCitation(bibliographicCitation)
bibliographicCitationobject of class DCBibliographicCitation or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCBibliographicCitation()Deletes DC bibliographic citation
DCEntry$delDCBibliographicCitation(bibliographicCitation)
bibliographicCitationobject of class DCBibliographicCitation or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCBibliographicCitations()Set bibliographic citations
DCEntry$setDCBibliographicCitations(bibliographicCitations)
bibliographicCitationsvector of class character
getDCBibliographicCitations()Get bibliographic citations
DCEntry$getDCBibliographicCitations()
the list of objects of class DCBibliographicCitation
addDCConformsTo()Adds DC conforms to
DCEntry$addDCConformsTo(conformsTo)
conformsToobject of class DCConformsTo or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCConformsTo()Deletes DC conforms to
DCEntry$delDCConformsTo(conformsTo)
conformsToobject of class DCConformsTo or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCConformsTo()Set DC conforms to
DCEntry$setDCConformsTo(conformsTo)
conformsTovector of class character
getDCConformsTo()Get DC conforms to
DCEntry$getDCConformsTo()
the list of objects of class DCConformsTo
addDCContributor()Adds DC contributor
DCEntry$addDCContributor(contributor)
contributorobject of class DCContributor or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCContributor()Deletes DC contributor
DCEntry$delDCContributor(contributor)
contributorobject of class DCContributor or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCContributors()Set DC contributors
DCEntry$setDCContributors(contributors)
contributorsvector of class character
getDCContributors()Get DC contributors
DCEntry$getDCContributors()
list of objects of class DCContributor
addDCCoverage()Adds DC coverage
DCEntry$addDCCoverage(coverage)
coverageobject of class DCCoverage or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCCoverage()Deletes DC coverage
DCEntry$delDCCoverage(coverage)
coverageobject of class DCCoverage or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCCoverages()Set DC coverages
DCEntry$setDCCoverages(coverages)
coveragescoverages vector of class character
getDCCoverages()Get DC coverages
DCEntry$getDCCoverages()
a list of objects of class DCCoverage
addDCCreated()Adds DC created
DCEntry$addDCCreated(created)
createdobject of class DCCreated or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCCreated()Deletes DC created
DCEntry$delDCCreated(created)
createdobject of class DCCreated or vector of class Date,POSIXt or character and length 1
TRUE if deleted, FALSE otherwise
addDCCreator()Adds DC creator
DCEntry$addDCCreator(creator)
creatorobject of class DCCreator or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCCreator()Deletes DC creator
DCEntry$delDCCreator(creator)
creatorobject of class DCCreator or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCCreators()Set DC creators
DCEntry$setDCCreators(creators)
creatorscreators
getDCCreators()Get DC creators
DCEntry$getDCCreators()
a list of objects of class DCCreator
addDCDate()Adds DC date
DCEntry$addDCDate(date)
dateobject of class DCDate or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCDate()Deletes DC date
DCEntry$delDCDate(date)
dateobject of class DCDate or vector of class Date,POSIXt or character and length 1
TRUE if deleted, FALSE otherwise
setDCDates()Set DC Creators
DCEntry$setDCDates(dates)
datesdates vector of class Date or POSIXt
getDCDates()Get DC Dates
DCEntry$getDCDates()
a list of objects of class DCDate
addDCDateAccepted()Adds DC date accepted
DCEntry$addDCDateAccepted(dateAccepted)
dateAcceptedobject of class DCDateAccepted or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCDateAccepted()Deletes DC date accepted
DCEntry$delDCDateAccepted(dateAccepted)
dateAcceptedobject of class DCDateAccepted or vector of class Date,POSIXt or character and length 1
TRUE if deleted, FALSE otherwise
addDCDateCopyrighted()Adds DC date copyrighted
DCEntry$addDCDateCopyrighted(dateCopyrighted)
dateCopyrightedobject of class DCDateCopyrighted or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCDateCopyrighted()Deletes DC date copyrighted
DCEntry$delDCDateCopyrighted(dateCopyrighted)
dateCopyrightedobject of class DCDateCopyrighted or vector of class Date,POSIXt or character and length 1
TRUE if deleted, FALSE otherwise
addDCDateSubmitted()Adds DC date submitted
DCEntry$addDCDateSubmitted(dateSubmitted)
dateSubmittedobject of class DCDateSubmitted or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCDateSubmitted()Deletes DC date submitted
DCEntry$delDCDateSubmitted(dateSubmitted)
dateSubmittedobject of class DCDateSubmitted or vector of class Date,POSIXt or character and length 1
TRUE if deleted, FALSE otherwise
addDCDescription()Adds DC description
DCEntry$addDCDescription(description)
descriptionobject of class DCDescription or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCDescription()Deletes DC description
DCEntry$delDCDescription(description)
descriptionobject of class DCDescription or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCDescriptions()Set DC descriptions
DCEntry$setDCDescriptions(descriptions)
descriptionsvector of class character
getDCDescriptions()Get DC descriptions
DCEntry$getDCDescriptions()
a list of objects of class DCDescription
addDCEducationalLevel()Adds DC educational level
DCEntry$addDCEducationalLevel(educationalLevel)
educationalLevelobject of class DCEducationalLevel or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCEducationalLevel()Deletes DC educational level
DCEntry$delDCEducationalLevel(educationalLevel)
educationalLevelobject of class DCEducationalLevel or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCEducationalLevels()set DC education levels
DCEntry$setDCEducationalLevels(educationLevels)
educationLevelsvector of class character
getDCEducationalLevels()Get DC educational levels
DCEntry$getDCEducationalLevels()
a list of objects of class DCEducationalLevel
addDCExtent()Adds DC extent
DCEntry$addDCExtent(extent)
extentobject of class DCExtent or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCExtent()Deletes DC extent
DCEntry$delDCExtent(extent)
extentobject of class DCExtent or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCExtents()Set DC extents
DCEntry$setDCExtents(extents)
extentsvector of class character
getDCExtents()Get DC extents
DCEntry$getDCExtents()
a list of objects of class DCExtent
addDCFormat()Adds DC format
DCEntry$addDCFormat(format)
formatobject of class DCFormat or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCFormat()Deletes DC format
DCEntry$delDCFormat(format)
formatobject of class DCFormat or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCFormats()Set DC formats
DCEntry$setDCFormats(formats)
formatsvector of class character
getDCFormats()Get DC formats
DCEntry$getDCFormats()
a list of objects of class DCFormat
addDCHasPart()Adds DC hasPart
DCEntry$addDCHasPart(hasPart)
hasPartobject of class DCHasPart or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCHasPart()Deletes DC hasPart
DCEntry$delDCHasPart(hasPart)
hasPartobject of class DCHasPart or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCHasParts()Set DC hasParts
DCEntry$setDCHasParts(hasParts)
hasPartsvector of class character
getDCHasParts()Get DC has part
DCEntry$getDCHasParts()
a list of objects of class DCHasPart
addDCHasVersion()Adds DC hasVersion
DCEntry$addDCHasVersion(hasVersion)
hasVersionobject of class DCHasVersion or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCHasVersion()Deletes DC hasVersion
DCEntry$delDCHasVersion(hasVersion)
hasVersionobject of class DCHasVersion or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCHasVersions()Set DC hasVersions
DCEntry$setDCHasVersions(hasVersions)
hasVersionsvector of class character
getDCHasVersions()Get DC has versions
DCEntry$getDCHasVersions()
a list of objects of class DCHasVersion
addDCIdentifier()Adds DC identifier
DCEntry$addDCIdentifier(identifier)
identifierobject of class DCIdentifier or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIdentifier()Deletes DC identifier
DCEntry$delDCIdentifier(identifier)
identifierobject of class DCIdentifier or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIdentifiers()Set DC identifiers
DCEntry$setDCIdentifiers(identifiers)
identifiersvector of class character
getDCIdentifiers()Get DC identifiers
DCEntry$getDCIdentifiers()
a list of objects of class DCIdentifier
addDCInstructionalMethod()Adds DC instructionalMethod
DCEntry$addDCInstructionalMethod(instructionalMethod)
instructionalMethodobject of class DCInstructionalMethod or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCInstructionalMethod()Deletes DC instructionalMethod
DCEntry$delDCInstructionalMethod(instructionalMethod)
instructionalMethodobject of class DCInstructionalMethod or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCInstructionalMethods()Set DC Instructional methods
DCEntry$setDCInstructionalMethods(instructionalMethods)
instructionalMethodsvector of class character
getDCInstructionalMethods()Get DC instructional methods
DCEntry$getDCInstructionalMethods()
a list of objects of class DCInstructionalMethod
addDCIsPartOf()Adds DC isPartOf
DCEntry$addDCIsPartOf(isPartOf)
isPartOfobject of class DCIsPartOf or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIsPartOf()Deletes DC isPartOf
DCEntry$delDCIsPartOf(isPartOf)
isPartOfobject of class DCIsPartOf or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIsPartOf()Set DC IsPartOf
DCEntry$setDCIsPartOf(isPartOf)
isPartOfvector of class character
getDCIsPartOfs()Get DC Is Part of
DCEntry$getDCIsPartOfs()
a list of objects of class DCIsPartOf
addDCIsReferencedBy()Adds DC isReferencedBy
DCEntry$addDCIsReferencedBy(isReferencedBy)
isReferencedByobject of class DCIsReferencedBy or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIsReferencedBy()Deletes DC isReferencedBy
DCEntry$delDCIsReferencedBy(isReferencedBy)
isReferencedByobject of class DCIsReferencedBy or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIsReferencedBys()Set DC isReferencedBys
DCEntry$setDCIsReferencedBys(isReferencedBys)
isReferencedBysvector of class character
getDCIsReferencedBys()Get DC Is Referenced by
DCEntry$getDCIsReferencedBys()
a list of objects of class DCIsReferencedBy
addDCIsReplacedBy()Adds DC isReplacedBy
DCEntry$addDCIsReplacedBy(isReplacedBy)
isReplacedByobject of class DCIsReplacedBy or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIsReplacedBy()Deletes DC isReferencedBy
DCEntry$delDCIsReplacedBy(isReplacedBy)
isReplacedByobject of class DCIsReplacedBy or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIsReplacedBys()Set DC isReplacedBys
DCEntry$setDCIsReplacedBys(isReplacedBys)
isReplacedBysvector of class character
getDCIsReplacedBys()Get DC Is Replaced by
DCEntry$getDCIsReplacedBys()
a list of objects of class DCIsReplacedBy
addDCIsRequiredBy()Adds DC isRequiredBy
DCEntry$addDCIsRequiredBy(isRequiredBy)
isRequiredByobject of class DCIsRequiredBy or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIsRequiredBy()Deletes DC isRequiredBy
DCEntry$delDCIsRequiredBy(isRequiredBy)
isRequiredByobject of class DCIsRequiredBy or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIsRequiredBys()Set DC isRequiredBys
DCEntry$setDCIsRequiredBys(isRequiredBys)
isRequiredBysvector of class character
getDCIsRequiredBys()Get DC Is Required by
DCEntry$getDCIsRequiredBys()
a list of objects of class DCIsRequiredBy
addDCIsVersionOf()Adds DC isVersionOf
DCEntry$addDCIsVersionOf(isVersionOf)
isVersionOfobject of class DCIsVersionOf or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIsVersionOf()Deletes DC isVersionOf
DCEntry$delDCIsVersionOf(isVersionOf)
isVersionOfobject of class DCIsVersionOf or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIsVersionOfs()Set DC isVersionOfs
DCEntry$setDCIsVersionOfs(isVersionOfs)
isVersionOfsvector of class character
getDCIsVersionOfs()Get DC Is Version Ofs
DCEntry$getDCIsVersionOfs()
a list of objects of class DCIsVersionOf
addDCIssued()Adds DC issued
DCEntry$addDCIssued(issued)
issuedobject of class DCIssued or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCIssued()Deletes DC issued
DCEntry$delDCIssued(issued)
issuedobject of class DCIssued or vector of class Date,POSIXt or character and length 1
TRUE if deleted, FALSE otherwise
addDCLanguage()Adds DC language
DCEntry$addDCLanguage(language)
languageobject of class DCLanguage or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCLanguage()Deletes DC language
DCEntry$delDCLanguage(language)
languageobject of class DCLanguage or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCLanguages()Set DC languages
DCEntry$setDCLanguages(languages)
languageslanguages vector of class character
getDCLanguages()Get languages
DCEntry$getDCLanguages()
a list of objects of class DCLanguage
addDCLicense()Adds DC license
DCEntry$addDCLicense(license)
licenseobject of class DCLicense or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCLicense()Deletes DC license
DCEntry$delDCLicense(license)
licenseobject of class DCLicense or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCLicenses()Set DC licences
DCEntry$setDCLicenses(licenses)
licensesvector of class character
getDCLicenses()Get DC licenses
DCEntry$getDCLicenses()
a list of objects of class DCLicense
addDCMediator()Adds DC mediator
DCEntry$addDCMediator(mediator)
mediatorobject of class DCMediator or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCMediator()Deletes DC mediator
DCEntry$delDCMediator(mediator)
mediatorobject of class DCMediator or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCMediators()Set DC mediators
DCEntry$setDCMediators(mediators)
mediatorsvector of class character
getDCMediators()Get DC mediators
DCEntry$getDCMediators()
a list of objects of class DCMediator
addDCMedium()Adds DC medium
DCEntry$addDCMedium(medium)
mediumobject of class DCMedium or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCMedium()Deletes DC medium
DCEntry$delDCMedium(medium)
mediumobject of class DCMedium or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCMediums()Set DC mediums
DCEntry$setDCMediums(mediums)
mediumsvector of class character
getDCMediums()Get DC mediums
DCEntry$getDCMediums()
a list of objects of class DCMedium
addDCModified()Adds DC modified
DCEntry$addDCModified(modified)
modifiedobject of class DCModified or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCModified()Deletes DC modified
DCEntry$delDCModified(modified)
modifiedobject of class DCModified or vector of class Date,POSIXt or character and length 1
TRUE if deletes, FALSE otherwise
addDCProvenance()Adds DC provenance
DCEntry$addDCProvenance(provenance)
provenanceobject of class DCProvenance or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCProvenance()Deletes DC provenance
DCEntry$delDCProvenance(provenance)
provenanceobject of class DCProvenance or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCProvenances()Set DC provenances
DCEntry$setDCProvenances(provenances)
provenancesvector of class character
getDCProvenances()Get DC provenances
DCEntry$getDCProvenances()
a list of objects of class DCProvenance
addDCPublisher()Adds DC publisher
DCEntry$addDCPublisher(publisher)
publisherobject of class DCPublisher or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCPublisher()Deletes DC publisher
DCEntry$delDCPublisher(publisher)
publisherobject of class DCPublisher or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCPublishers()Set DC publishers
DCEntry$setDCPublishers(publishers)
publishersvector of class character
getDCPublishers()Get DC publishers
DCEntry$getDCPublishers()
a list of objects of class DCPublisher
addDCReferences()Adds DC references
DCEntry$addDCReferences(references)
referencesobject of class DCReferences or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCReferences()Deletes DC references
DCEntry$delDCReferences(references)
referencesobject of class DCReferences or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCReferences()Set DC references
DCEntry$setDCReferences(references)
referencesvector of class character
getDCReferences()Get DC references
DCEntry$getDCReferences()
a list of objects of class DCReferences
addDCRelation()Adds DC relation
DCEntry$addDCRelation(relation)
relationobject of class DCRelation or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCRelation()Deletes DC relation
DCEntry$delDCRelation(relation)
relationobject of class DCRelation or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCRelations()Set DC relations
DCEntry$setDCRelations(relations)
relationsvector of class character
getDCRelations()Get DC relations
DCEntry$getDCRelations()
a list of objects of class DCRelation
addDCReplaces()Adds DC replaces
DCEntry$addDCReplaces(replaces)
replacesobject of class DCReplaces or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCReplaces()Deletes DC replaces
DCEntry$delDCReplaces(replaces)
replacesobject of class DCReplaces or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCReplaces()Set DC replaces
DCEntry$setDCReplaces(replaces)
replacesvector of class character
getDCReplaces()Get DC replaces
DCEntry$getDCReplaces()
a list of objects of class DCReplaces
addDCRequires()Adds DC requires
DCEntry$addDCRequires(requires)
requiresobject of class DCRequires or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCRequires()Deletes DC requires
DCEntry$delDCRequires(requires)
requiresobject of class DCRequires or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCRequires()Set DC requires
DCEntry$setDCRequires(requires)
requiresvector of class character
getDCRequires()Get DC requires
DCEntry$getDCRequires()
a list of objects of class DCRequires
addDCRights()Adds DC rights
DCEntry$addDCRights(rights)
rightsobject of class DCRights or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCRights()Deletes DC rights
DCEntry$delDCRights(rights)
rightsobject of class DCRights or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCRights()Set DC rights
DCEntry$setDCRights(rights)
rightsvector of class character
getDCRights()Get DC rights
DCEntry$getDCRights()
a list of objects of class DCRights
addDCRightsHolder()Adds DC rightsHolder
DCEntry$addDCRightsHolder(rightsHolder)
rightsHolderobject of class DCRightsHolder or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCRightsHolder()Deletes DC rightsHolder
DCEntry$delDCRightsHolder(rightsHolder)
rightsHolderobject of class DCRightsHolder or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCRightsHolders()Set DC rights holders
DCEntry$setDCRightsHolders(rightsHolders)
rightsHoldersvector of class character
getDCRightsHolders()Get DC rights holders
DCEntry$getDCRightsHolders()
a list of objects of class DCRightsHolder
addDCSource()Adds DC source
DCEntry$addDCSource(source)
sourceobject of class DCSource or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCSource()Deletes DC source
DCEntry$delDCSource(source)
sourceobject of class DCSource or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCSources()Set DC sources
DCEntry$setDCSources(sources)
sourcesvector of class character
getDCSources()Get DC sources
DCEntry$getDCSources()
a list of objects of class DCSource
addDCSubject()Adds DC subject
DCEntry$addDCSubject(subject)
subjectobject of class DCSubject or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCSubject()Deletes DC subject
DCEntry$delDCSubject(subject)
subjectobject of class DCSubject or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCSubjects()Set DC subjects
DCEntry$setDCSubjects(subjects)
subjectsvector of class character
getDCSubjects()Get DC Subjects
DCEntry$getDCSubjects()
a list of objects of class DCSubject
addDCTableOfContents()Adds DC tableOfContents
DCEntry$addDCTableOfContents(tableOfContents)
tableOfContentsobject of class DCTableOfContents or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCTableOfContents()Deletes DC tableOfContents
DCEntry$delDCTableOfContents(tableOfContents)
tableOfContentsobject of class DCTableOfContents or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCTablesOfContents()Set DC tables of contents
DCEntry$setDCTablesOfContents(tablesOfContents)
tablesOfContentsvector of class character
getDCTablesOfContent()Get DC tables of contents
DCEntry$getDCTablesOfContent()
a list of objects of class DCTableOfContents
addDCTemporal()Adds DC temporal
DCEntry$addDCTemporal(temporal)
temporalobject of class DCTemporal or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCTemporal()Deletes DC temporal
DCEntry$delDCTemporal(temporal)
temporalobject of class DCTemporal or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCTemporals()Set DC temporals
DCEntry$setDCTemporals(temporals)
temporalsvector of class character
getDCTemporals()Get DC temporals
DCEntry$getDCTemporals()
a list of objects of class DCTemporal
addDCTitle()Adds DC title
DCEntry$addDCTitle(title)
titleobject of class DCTitle or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCTitle()Deletes DC title
DCEntry$delDCTitle(title)
titleobject of class DCTitle or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCTitles()Set DC titles
DCEntry$setDCTitles(titles)
titlesvector of class character
getDCTitles()Get DC titles
DCEntry$getDCTitles()
a list of objects of class DCTitle
addDCType()Adds DC type
DCEntry$addDCType(type)
typeobject of class DCType or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCType()Deletes DC type
DCEntry$delDCType(type)
typeobject of class DCType or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCTypes()Set DC Types
DCEntry$setDCTypes(types)
typesvector of class character
getDCTypes()Get DC types
DCEntry$getDCTypes()
a list of objects of class DCType
asDataFrame()export to a data.frame
DCEntry$asDataFrame()
an object of class data.frame
clone()The objects of this class are cloneable with this method.
DCEntry$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
#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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.