Package org.orcid.jaxb.model.message
Class OrcidWork
java.lang.Object
org.orcid.jaxb.model.message.OrcidWork
- All Implemented Interfaces:
Serializable,Activity,VisibilityType
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within
this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.orcid.org/ns/orcid}work-title" minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}journal-title minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}short-description" minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}work-citation" minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}work-type" minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}publication-date" minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}work-external-identifiers" minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}url" minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}work-contributors" minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}source" minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}language-code" minOccurs="0" maxOccurs="1"/>
<element ref="{http://www.orcid.org/ns/orcid}country" minOccurs="0" maxOccurs="1"/>
</sequence>
<attGroup ref="{http://www.orcid.org/ns/orcid}put-code"/>
<attGroup ref="{http://www.orcid.org/ns/orcid}visibility"/>
<attGroup ref="{http://www.orcid.org/ns/orcid}anyType"/>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Countryprotected CreatedDateprotected Titleprotected Stringprotected LastModifiedDateprotected PublicationDateprotected Stringprotected Stringprotected Sourceprotected Urlprotected Visibilityprotected Citationprotected WorkContributorsprotected WorkExternalIdentifiersprotected WorkSourceDeprecated.protected WorkTitleprotected WorkType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanNote that put-code is not part of equality.Gets the value of the country property.Gets the value of the journalTitle property.Gets the value of the languageCode property.Gets the value of the publicationDate property.Gets the value of the putCode property.Gets the value of the shortDescription property.getUrl()Gets the value of the url property.Gets the value of the visibility property.Gets the value of the workCitation property.Gets the value of the workContributors property.Gets the value of the workExternalIdentifiers property.Deprecated.Gets the value of the workTitle property.Gets the value of the workType property.inthashCode()Note that put-code is not part of hashcode.booleanisDuplicated(Object obj) Indicates if two works are ORCID duplicated.booleanIndicates if two works are ORCID duplicated.booleanvoidsetCountry(Country country) Sets the value of the country property.voidsetCreatedDate(CreatedDate value) voidsetDisplayIndex(Long displayIndex) voidsetJournalTitle(Title value) Sets the value of the journalTitle property.voidsetLanguageCode(String languageCode) Sets the value of the languageCode property.voidvoidsetModified(boolean modified) voidSets the value of the publicationDate property.voidsetPutCode(String value) Sets the value of the putCode property.voidsetShortDescription(String value) Sets the value of the shortDescription property.voidvoidSets the value of the url property.voidsetVisibility(Visibility value) Sets the value of the visibility property.voidsetWorkCitation(Citation value) Sets the value of the workCitation property.voidSets the value of the workContributors property.voidSets the value of the workExternalIdentifiers property.voidsetWorkSource(WorkSource value) Deprecated.voidsetWorkTitle(WorkTitle value) Sets the value of the workTitle property.voidsetWorkType(WorkType value) Sets the value of the workType property.toString()
-
Field Details
-
workTitle
-
journalTitle
-
shortDescription
-
workCitation
-
workType
-
publicationDate
-
workExternalIdentifiers
-
url
-
workContributors
-
languageCode
-
country
-
workSource
Deprecated. -
source
-
putCode
-
visibility
-
lastModifiedDate
-
createdDate
-
-
Constructor Details
-
OrcidWork
public OrcidWork()
-
-
Method Details
-
getPutCode
Gets the value of the putCode property.- Specified by:
getPutCodein interfaceActivity- Returns:
- possible object is
Object
-
setPutCode
Sets the value of the putCode property.- Parameters:
value- allowed object isObject
-
getWorkTitle
Gets the value of the workTitle property.- Returns:
- possible object is
WorkTitle
-
setWorkTitle
Sets the value of the workTitle property.- Parameters:
value- allowed object isWorkTitle
-
getShortDescription
Gets the value of the shortDescription property.- Returns:
- possible object is
String
-
setShortDescription
Sets the value of the shortDescription property.- Parameters:
value- allowed object isString
-
getWorkCitation
Gets the value of the workCitation property.- Returns:
- possible object is
Object
-
setWorkCitation
Sets the value of the workCitation property.- Parameters:
value- allowed object isObject
-
getWorkType
Gets the value of the workType property.- Returns:
- possible object is
WorkType
-
setWorkType
Sets the value of the workType property.- Parameters:
value- allowed object isWorkType
-
getPublicationDate
Gets the value of the publicationDate property.- Returns:
- possible object is
PublicationDate
-
setPublicationDate
Sets the value of the publicationDate property.- Parameters:
value- allowed object isPublicationDate
-
getWorkExternalIdentifiers
Gets the value of the workExternalIdentifiers property.- Returns:
- possible object is
WorkExternalIdentifiers
-
setWorkExternalIdentifiers
Sets the value of the workExternalIdentifiers property.- Parameters:
value- allowed object isWorkExternalIdentifiers
-
getUrl
Gets the value of the url property.- Returns:
- possible object is
Url
-
setUrl
Sets the value of the url property.- Parameters:
value- allowed object isUrl
-
getWorkContributors
Gets the value of the workContributors property.- Returns:
- possible object is
WorkContributors
-
setWorkContributors
Sets the value of the workContributors property.- Parameters:
value- allowed object isWorkContributors
-
getWorkSource
Deprecated.Gets the value of the workSources property.- Returns:
- possible object is
WorkSource
-
retrieveSourcePath
- Specified by:
retrieveSourcePathin interfaceActivity
-
setWorkSource
Deprecated.Sets the value of the workSources property.- Parameters:
value- allowed object isWorkSource
-
getSource
-
setSource
-
getVisibility
Gets the value of the visibility property.- Specified by:
getVisibilityin interfaceVisibilityType- Returns:
- possible object is
Visibility
-
setVisibility
Sets the value of the visibility property.- Specified by:
setVisibilityin interfaceVisibilityType- Parameters:
value- allowed object isVisibility
-
getJournalTitle
Gets the value of the journalTitle property.- Returns:
- possible object is
Title
-
setJournalTitle
Sets the value of the journalTitle property.- Parameters:
value- allowed object isTitle
-
getLanguageCode
Gets the value of the languageCode property.- Returns:
- possible object is
Title
-
setLanguageCode
Sets the value of the languageCode property.- Parameters:
languageCode- allowed object isString
-
getCountry
Gets the value of the country property.- Returns:
- possible object is
Country
-
setCountry
Sets the value of the country property.- Parameters:
country- allowed object isCountry
-
toString
-
isDuplicatedLegacyMode
Indicates if two works are ORCID duplicated. Two works will be duplicated if they have the same title, type, subtype, external identifiers and source.- Parameters:
obj- - object to check for duplication- Returns:
- true if the two works are duplicated according to ORCID requirements
-
isDuplicated
Indicates if two works are ORCID duplicated. Two works will be duplicated if they have the same title, type, subtype, external identifiers and source.- Parameters:
obj- - object to check for duplication- Returns:
- true if the two works are duplicated according to ORCID requirements
-
hashCode
public int hashCode()Note that put-code is not part of hashcode. This is important for avoid creation of duplication works. -
getCreatedDate
- Specified by:
getCreatedDatein interfaceActivity
-
setCreatedDate
- Specified by:
setCreatedDatein interfaceActivity
-
getLastModifiedDate
- Specified by:
getLastModifiedDatein interfaceActivity
-
setLastModifiedDate
- Specified by:
setLastModifiedDatein interfaceActivity
-
getDisplayIndex
-
setDisplayIndex
-
isModified
public boolean isModified() -
setModified
public void setModified(boolean modified) -
equals
Note that put-code is not part of equality. This is important for avoid creation of duplication works.
-