public class DataCiteJson extends Object implements IDocument, ICleanable
| Constructor and Description |
|---|
DataCiteJson()
Deprecated.
|
DataCiteJson(String sourceId)
This constructor set the source identifier of the document which allows
for persisting it when one of its values change.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clean()
Cleans the object, making it compatible with the ElasticSearch index.
|
List<AlternateIdentifier> |
getAlternateIdentifiers()
Returns identifiers other than the primary Identifier applied to the
resource being registered.
|
List<Contributor> |
getContributors()
Returns the institutions or persons responsible for collecting, managing,
distributing, or otherwise contributing to the development of the
resource.
|
List<Creator> |
getCreators()
Returns the main researchers involved in producing the data, or the
authors of the publication, in priority order.
|
List<AbstractDate> |
getDates()
Returns different dates relevant to the work.
|
List<Description> |
getDescriptions()
Returns all additional information that does not fit in any of the other
categories.
|
List<String> |
getFormats()
Returns technical format of the resource.
|
List<FundingReference> |
getFundingReferences()
Returns information about financial support (funding) for the resource
being registered.
|
List<GeoLocation> |
getGeoLocations()
Returns the spatial regions or named places where the data was gathered
or about which the data is focused.
|
Identifier |
getIdentifier()
Returns a unique identifier of the resource.
|
String |
getLanguage()
Returns the primary language of the resource.
|
short |
getPublicationYear()
Returns the year when the data was or will be made publicly available.
|
String |
getPublisher()
Returns the name of the entity that holds, archives, publishes prints,
distributes, releases, issues, or produces the resource.
|
List<RelatedIdentifier> |
getRelatedIdentifiers()
Returns identifiers of related resources.
|
String |
getRepositoryIdentifier()
Returns the unique but human readable name of the repository.
|
List<ResearchData> |
getResearchDataList()
Returns downloadable source data files.
|
List<AbstractResearch> |
getResearchDisciplines()
Retrieves the list of human readable names of the research disciplines,
meaning the topics or domains that this document covers.
|
ResourceType |
getResourceType()
Returns a description of the resource.
|
List<Rights> |
getRightsList()
Returns any rights information for this resource.
|
List<String> |
getSizes()
Returns unstructured size information about the resource.
|
String |
getSourceId()
Returns an identifier of the source of the document.
|
List<Subject> |
getSubjects()
Returns subjects, keywords, classification codes, or key phrases
describing the resource.
|
List<Title> |
getTitles()
Returns names or titles by which the resource is known.
|
String |
getVersion()
Returns the version number of the resource.
|
List<WebLink> |
getWebLinks()
Returns links to the data provider's website.
|
void |
setAlternateIdentifiers(List<AlternateIdentifier> alternateIdentifiers)
Changes identifiers other than the primary Identifier applied to the
resource being registered.
|
void |
setContributors(List<Contributor> contributors)
Changes the institutions or persons responsible for collecting, managing,
distributing, or otherwise contributing to the development of the
resource.
|
void |
setCreators(List<Creator> creators)
Changes the main researchers involved in producing the data, or the
authors of the publication.
|
void |
setDates(List<AbstractDate> dates)
Changes dates relevant to the work.
|
void |
setDescriptions(List<Description> descriptions)
Changes all additional information that does not fit in any of the other
categories.
|
void |
setFormats(List<String> formats)
Changes technical format of the resource.
|
void |
setFundingReferences(List<FundingReference> fundingReferences)
Changes information about financial support (funding) for the resource
being registered.
|
void |
setGeoLocations(List<GeoLocation> geoLocations)
Changes the spatial regions or named places where the data was gathered
or about which the data is focused.
|
void |
setIdentifier(Identifier identifier)
Changes the unique identifier of the resource.
|
void |
setLanguage(String language)
Changes the primary language of the resource.
|
void |
setPublicationYear(short publicationYear)
Changes the year when the data was or will be made publicly available.
|
void |
setPublisher(String publisher)
Changes the name of the entity that holds, archives, publishes prints,
distributes, releases, issues, or produces the resource
|
void |
setRelatedIdentifiers(List<RelatedIdentifier> relatedIdentifiers)
Changes the identifiers of related resources.
|
void |
setRepositoryIdentifier(String repositoryIdentifier)
Changes the unique but human readable name of the repository.
|
void |
setResearchDataList(List<ResearchData> files)
Changes the downloadable source data files.
|
void |
setResearchDisciplines(List<AbstractResearch> researchDisciplines)
Changes the list of human readable names of the research disciplines,
meaning the topics or domains that this document covers.
|
void |
setResourceType(ResourceType resourceType)
Changes the description of the resource.
|
void |
setRightsList(List<Rights> rightsList)
Changes rights information for this resource.
|
void |
setSizes(List<String> sizes)
Changes the unstructured size information about the resource.
|
void |
setSubjects(List<Subject> subjects)
Changes the subjects, keywords, classification codes, and key phrases
describing the resource.
|
void |
setTitles(List<Title> titles)
Changes names or titles by which the resource is known.
|
void |
setVersion(String version)
Changes the version number of the resource.
|
void |
setWebLinks(List<WebLink> webLinks)
Changes the links to the data provider's website.
|
public DataCiteJson(String sourceId)
sourceId - a unique identifier of the source from which the document
was retrieved@Deprecated public DataCiteJson()
public String getSourceId()
getSourceId in interface IDocumentpublic Identifier getIdentifier()
public void setIdentifier(Identifier identifier)
identifier - a unique identifier of the resourcepublic String getPublisher()
public void setPublisher(String publisher)
publisher - the name of the entity that holds, archives, publishes
prints, distributes, releases, issues, or produces the
resourcepublic String getVersion()
public void setVersion(String version)
version - the version number of the resourcepublic String getLanguage()
public void setLanguage(String language)
language - the primary language of the resourcepublic short getPublicationYear()
public void setPublicationYear(short publicationYear)
publicationYear - the year when the data was or will be made
publicly availablepublic ResourceType getResourceType()
public void setResourceType(ResourceType resourceType)
resourceType - a description of the resourcepublic String getRepositoryIdentifier()
public void setRepositoryIdentifier(String repositoryIdentifier)
repositoryIdentifier - a unique but human readable name of the
repositorypublic List<AbstractResearch> getResearchDisciplines()
public void setResearchDisciplines(List<AbstractResearch> researchDisciplines)
researchDisciplines - a list of human readable names of the research
disciplinespublic List<String> getSizes()
public void setSizes(List<String> sizes)
sizes - unstructured size information about the resourcepublic List<String> getFormats()
public void setFormats(List<String> formats)
formats - technical format of the resourcepublic List<Creator> getCreators()
public void setCreators(List<Creator> creators)
creators - the main researchers and/or the authors of the
publicationpublic List<Title> getTitles()
public void setTitles(List<Title> titles)
titles - names or titles by which the resource is knownpublic List<Description> getDescriptions()
public void setDescriptions(List<Description> descriptions)
descriptions - all additional informationpublic List<Subject> getSubjects()
public void setSubjects(List<Subject> subjects)
subjects - subjects, keywords, classification codes, or key phrases
describing the resourcepublic List<Contributor> getContributors()
public void setContributors(List<Contributor> contributors)
contributors - institutions or persons responsible for contributing
to the development of the resourcepublic List<AbstractDate> getDates()
public void setDates(List<AbstractDate> dates)
dates - dates relevant to the workpublic List<GeoLocation> getGeoLocations()
public void setGeoLocations(List<GeoLocation> geoLocations)
geoLocations - spatial regions and/or named placespublic List<RelatedIdentifier> getRelatedIdentifiers()
public void setRelatedIdentifiers(List<RelatedIdentifier> relatedIdentifiers)
relatedIdentifiers - identifiers of related resourcespublic List<AlternateIdentifier> getAlternateIdentifiers()
public void setAlternateIdentifiers(List<AlternateIdentifier> alternateIdentifiers)
alternateIdentifiers - identifiers other than the primary Identifierpublic List<Rights> getRightsList()
public void setRightsList(List<Rights> rightsList)
rightsList - rights information for this resourcepublic List<FundingReference> getFundingReferences()
public void setFundingReferences(List<FundingReference> fundingReferences)
fundingReferences - information about financial supportpublic List<WebLink> getWebLinks()
public void setWebLinks(List<WebLink> webLinks)
webLinks - links to the data provider's websitepublic List<ResearchData> getResearchDataList()
public void setResearchDataList(List<ResearchData> files)
files - downloadable filespublic void clean()
ICleanableclean in interface ICleanableCopyright © 2017–2018. All rights reserved.