Class XmlResource
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.datacite.xml.XmlResource
-
- All Implemented Interfaces:
java.io.Serializable
public class XmlResource extends java.lang.Object implements java.io.Serializable
Root element of a single record. This wrapper element is for XML implementation only and is not defined in the DataCite DOI standard. Note: This is the case for any wrapper element within this schema! No content in this wrapper element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlResource()
-
Method Summary
Modifier and Type Method Description void
deleteMetadataVersionNumber()
XmlAlternateIdentifiers
getAlternateIdentifiers()
Returns the value of field 'alternateIdentifiers'.XmlContributors
getContributors()
Returns the value of field 'contributors'.XmlCreators
getCreators()
Returns the value of field 'creators'.XmlDates
getDates()
Returns the value of field 'dates'.XmlDescriptions
getDescriptions()
Returns the value of field 'descriptions'.XmlFormats
getFormats()
Returns the value of field 'formats'.XmlGeoLocations
getGeoLocations()
XmlIdentifier
getIdentifier()
Returns the value of field 'identifier'.java.lang.String
getLanguage()
Returns the value of field 'language'.java.lang.String
getPublicationYear()
Returns the value of field 'publicationYear'.java.lang.String
getPublisher()
Returns the value of field 'publisher'.XmlRelatedIdentifiers
getRelatedIdentifiers()
Returns the value of field 'relatedIdentifiers'.XmlResourceType
getResourceType()
Returns the value of field 'resourceType'.XmlRightsList
getRightsList()
Returns the value of field 'rights'.XmlSizes
getSizes()
Returns the value of field 'sizes'.XmlSubjects
getSubjects()
Returns the value of field 'subjects'.XmlTitles
getTitles()
Returns the value of field 'titles'.java.lang.String
getVersion()
Returns the value of field 'version'.boolean
hasMetadataVersionNumber()
Method hasMetadataVersionNumber.void
setAlternateIdentifiers(XmlAlternateIdentifiers alternateIdentifiers)
Sets the value of field 'alternateIdentifiers'.void
setContributors(XmlContributors contributors)
Sets the value of field 'contributors'.void
setCreators(XmlCreators creators)
Sets the value of field 'creators'.void
setDates(XmlDates dates)
Sets the value of field 'dates'.void
setDescriptions(XmlDescriptions descriptions)
Sets the value of field 'descriptions'.void
setFormats(XmlFormats formats)
Sets the value of field 'formats'.void
setGeoLocations(XmlGeoLocations geoLocations)
void
setIdentifier(XmlIdentifier identifier)
Sets the value of field 'identifier'.void
setLanguage(java.lang.String language)
Sets the value of field 'language'.void
setPublicationYear(java.lang.String publicationYear)
Sets the value of field 'publicationYear'.void
setPublisher(java.lang.String publisher)
Sets the value of field 'publisher'.void
setRelatedIdentifiers(XmlRelatedIdentifiers relatedIdentifiers)
Sets the value of field 'relatedIdentifiers'.void
setResourceType(XmlResourceType resourceType)
Sets the value of field 'resourceType'.void
setRightsList(XmlRightsList rightsList)
Sets the value of field 'rights'.void
setSizes(XmlSizes sizes)
Sets the value of field 'sizes'.void
setSubjects(XmlSubjects subjects)
Sets the value of field 'subjects'.void
setTitles(XmlTitles titles)
Sets the value of field 'titles'.void
setVersion(java.lang.String version)
Sets the value of field 'version'.
-
-
-
Method Detail
-
deleteMetadataVersionNumber
public void deleteMetadataVersionNumber()
-
getAlternateIdentifiers
public XmlAlternateIdentifiers getAlternateIdentifiers()
Returns the value of field 'alternateIdentifiers'.- Returns:
- the value of field 'AlternateIdentifiers'.
-
getContributors
public XmlContributors getContributors()
Returns the value of field 'contributors'.- Returns:
- the value of field 'Contributors'.
-
getCreators
public XmlCreators getCreators()
Returns the value of field 'creators'.- Returns:
- the value of field 'Creators'.
-
getDates
public XmlDates getDates()
Returns the value of field 'dates'.- Returns:
- the value of field 'Dates'.
-
getDescriptions
public XmlDescriptions getDescriptions()
Returns the value of field 'descriptions'.- Returns:
- the value of field 'Descriptions'.
-
getFormats
public XmlFormats getFormats()
Returns the value of field 'formats'.- Returns:
- the value of field 'Formats'.
-
getIdentifier
public XmlIdentifier getIdentifier()
Returns the value of field 'identifier'. The field 'identifier' has the following description: A persistent identifier that identifies a resource.- Returns:
- the value of field 'Identifier'.
-
getLanguage
public java.lang.String getLanguage()
Returns the value of field 'language'. The field 'language' has the following description: Primary language of the resource. Allowed values from: ISO 639-2/B, ISO 639-3- Returns:
- the value of field 'Language'.
-
getPublicationYear
public java.lang.String getPublicationYear()
Returns the value of field 'publicationYear'. The field 'publicationYear' has the following description: Year when the data is made publicly available. If an embargo period has been in effect, use the date when the embargo period ends.- Returns:
- the value of field 'PublicationYear'.
-
getPublisher
public java.lang.String getPublisher()
Returns the value of field 'publisher'. The field 'publisher' has the following description: A holder of the data (including archives as appropriate) or institution which submitted the work. Any others may be listed as contributors. This property will be used to formulate the citation, so consider the prominence of the role.- Returns:
- the value of field 'Publisher'.
-
getRelatedIdentifiers
public XmlRelatedIdentifiers getRelatedIdentifiers()
Returns the value of field 'relatedIdentifiers'.- Returns:
- the value of field 'RelatedIdentifiers'.
-
getResourceType
public XmlResourceType getResourceType()
Returns the value of field 'resourceType'. The field 'resourceType' has the following description: The type of a resource. You may enter an additional free text description.- Returns:
- the value of field 'ResourceType'.
-
getRightsList
public XmlRightsList getRightsList()
Returns the value of field 'rights'. The field 'rights' has the following description: Any rights information for this resource. Provide a rights management statement for the resource or reference a service providing such information. Include embargo information if applicable.- Returns:
- the value of field 'Rights'.
-
getSizes
public XmlSizes getSizes()
Returns the value of field 'sizes'.- Returns:
- the value of field 'Sizes'.
-
getSubjects
public XmlSubjects getSubjects()
Returns the value of field 'subjects'.- Returns:
- the value of field 'Subjects'.
-
getTitles
public XmlTitles getTitles()
Returns the value of field 'titles'.- Returns:
- the value of field 'Titles'.
-
getVersion
public java.lang.String getVersion()
Returns the value of field 'version'. The field 'version' has the following description: Version number of the resource. If the primary resource has changed the version number increases.- Returns:
- the value of field 'Version'.
-
hasMetadataVersionNumber
public boolean hasMetadataVersionNumber()
Method hasMetadataVersionNumber.- Returns:
- true if at least one MetadataVersionNumber has been added
-
setAlternateIdentifiers
public void setAlternateIdentifiers(XmlAlternateIdentifiers alternateIdentifiers)
Sets the value of field 'alternateIdentifiers'.- Parameters:
alternateIdentifiers
- the value of field 'alternateIdentifiers'.
-
setContributors
public void setContributors(XmlContributors contributors)
Sets the value of field 'contributors'.- Parameters:
contributors
- the value of field 'contributors'.
-
setCreators
public void setCreators(XmlCreators creators)
Sets the value of field 'creators'.- Parameters:
creators
- the value of field 'creators'.
-
setDates
public void setDates(XmlDates dates)
Sets the value of field 'dates'.- Parameters:
dates
- the value of field 'dates'.
-
setDescriptions
public void setDescriptions(XmlDescriptions descriptions)
Sets the value of field 'descriptions'.- Parameters:
descriptions
- the value of field 'descriptions'.
-
setFormats
public void setFormats(XmlFormats formats)
Sets the value of field 'formats'.- Parameters:
formats
- the value of field 'formats'.
-
setIdentifier
public void setIdentifier(XmlIdentifier identifier)
Sets the value of field 'identifier'. The field 'identifier' has the following description: A persistent identifier that identifies a resource.- Parameters:
identifier
- the value of field 'identifier'.
-
setLanguage
public void setLanguage(java.lang.String language)
Sets the value of field 'language'. The field 'language' has the following description: Primary language of the resource. Allowed values from: ISO 639-2/B, ISO 639-3- Parameters:
language
- the value of field 'language'.
-
setPublicationYear
public void setPublicationYear(java.lang.String publicationYear)
Sets the value of field 'publicationYear'. The field 'publicationYear' has the following description: Year when the data is made publicly available. If an embargo period has been in effect, use the date when the embargo period ends.- Parameters:
publicationYear
- the value of field 'publicationYear'.
-
setPublisher
public void setPublisher(java.lang.String publisher)
Sets the value of field 'publisher'. The field 'publisher' has the following description: A holder of the data (including archives as appropriate) or institution which submitted the work. Any others may be listed as contributors. This property will be used to formulate the citation, so consider the prominence of the role.- Parameters:
publisher
- the value of field 'publisher'.
-
setRelatedIdentifiers
public void setRelatedIdentifiers(XmlRelatedIdentifiers relatedIdentifiers)
Sets the value of field 'relatedIdentifiers'.- Parameters:
relatedIdentifiers
- the value of field 'relatedIdentifiers'.
-
setResourceType
public void setResourceType(XmlResourceType resourceType)
Sets the value of field 'resourceType'. The field 'resourceType' has the following description: The type of a resource. You may enter an additional free text description.- Parameters:
resourceType
- the value of field 'resourceType'.
-
setRightsList
public void setRightsList(XmlRightsList rightsList)
Sets the value of field 'rights'. The field 'rights' has the following description: Any rights information for this resource. Provide a rights management statement for the resource or reference a service providing such information. Include embargo information if applicable.- Parameters:
rightsList
- the value of field 'rightsList'.
-
setSizes
public void setSizes(XmlSizes sizes)
Sets the value of field 'sizes'.- Parameters:
sizes
- the value of field 'sizes'.
-
setSubjects
public void setSubjects(XmlSubjects subjects)
Sets the value of field 'subjects'.- Parameters:
subjects
- the value of field 'subjects'.
-
setTitles
public void setTitles(XmlTitles titles)
Sets the value of field 'titles'.- Parameters:
titles
- the value of field 'titles'.
-
setVersion
public void setVersion(java.lang.String version)
Sets the value of field 'version'. The field 'version' has the following description: Version number of the resource. If the primary resource has changed the version number increases.- Parameters:
version
- the value of field 'version'.
-
getGeoLocations
public XmlGeoLocations getGeoLocations()
- Returns:
- the geoLocations
-
setGeoLocations
public void setGeoLocations(XmlGeoLocations geoLocations)
- Parameters:
geoLocations
- the geoLocations to set
-
-