Class Work

java.lang.Object
org.orcid.jaxb.model.message.Work
All Implemented Interfaces:
Serializable, Activity, VisibilityType

public class Work extends Object implements VisibilityType, Activity, Serializable
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 Details

  • Constructor Details

    • Work

      public Work()
  • Method Details

    • getPutCode

      public String getPutCode()
      Gets the value of the putCode property.
      Specified by:
      getPutCode in interface Activity
      Returns:
      possible object is Object
    • setPutCode

      public void setPutCode(String value)
      Sets the value of the putCode property.
      Parameters:
      value - allowed object is Object
    • getWorkTitle

      public WorkTitle getWorkTitle()
      Gets the value of the workTitle property.
      Returns:
      possible object is WorkTitle
    • setWorkTitle

      public void setWorkTitle(WorkTitle value)
      Sets the value of the workTitle property.
      Parameters:
      value - allowed object is WorkTitle
    • getShortDescription

      public String getShortDescription()
      Gets the value of the shortDescription property.
      Returns:
      possible object is String
    • setShortDescription

      public void setShortDescription(String value)
      Sets the value of the shortDescription property.
      Parameters:
      value - allowed object is String
    • getWorkCitation

      public Citation getWorkCitation()
      Gets the value of the workCitation property.
      Returns:
      possible object is Object
    • setWorkCitation

      public void setWorkCitation(Citation value)
      Sets the value of the workCitation property.
      Parameters:
      value - allowed object is Object
    • getWorkType

      public WorkType getWorkType()
      Gets the value of the workType property.
      Returns:
      possible object is WorkType
    • setWorkType

      public void setWorkType(WorkType value)
      Sets the value of the workType property.
      Parameters:
      value - allowed object is WorkType
    • getPublicationDate

      public PublicationDate getPublicationDate()
      Gets the value of the publicationDate property.
      Returns:
      possible object is PublicationDate
    • setPublicationDate

      public void setPublicationDate(PublicationDate value)
      Sets the value of the publicationDate property.
      Parameters:
      value - allowed object is PublicationDate
    • getWorkExternalIdentifiers

      public WorkExternalIdentifiers getWorkExternalIdentifiers()
      Gets the value of the workExternalIdentifiers property.
      Returns:
      possible object is WorkExternalIdentifiers
    • setWorkExternalIdentifiers

      public void setWorkExternalIdentifiers(WorkExternalIdentifiers value)
      Sets the value of the workExternalIdentifiers property.
      Parameters:
      value - allowed object is WorkExternalIdentifiers
    • getUrl

      public Url getUrl()
      Gets the value of the url property.
      Returns:
      possible object is Url
    • setUrl

      public void setUrl(Url value)
      Sets the value of the url property.
      Parameters:
      value - allowed object is Url
    • getWorkContributors

      public WorkContributors getWorkContributors()
      Gets the value of the workContributors property.
      Returns:
      possible object is WorkContributors
    • setWorkContributors

      public void setWorkContributors(WorkContributors value)
      Sets the value of the workContributors property.
      Parameters:
      value - allowed object is WorkContributors
    • getWorkSource

      @Deprecated public WorkSource getWorkSource()
      Deprecated.
      Gets the value of the workSources property.
      Returns:
      possible object is WorkSource
    • retrieveSourcePath

      public String retrieveSourcePath()
      Specified by:
      retrieveSourcePath in interface Activity
    • setWorkSource

      @Deprecated public void setWorkSource(WorkSource value)
      Deprecated.
      Sets the value of the workSources property.
      Parameters:
      value - allowed object is WorkSource
    • getSource

      public Source getSource()
    • setSource

      public void setSource(Source source)
    • getVisibility

      public Visibility getVisibility()
      Gets the value of the visibility property.
      Specified by:
      getVisibility in interface VisibilityType
      Returns:
      possible object is Visibility
    • setVisibility

      public void setVisibility(Visibility value)
      Sets the value of the visibility property.
      Specified by:
      setVisibility in interface VisibilityType
      Parameters:
      value - allowed object is Visibility
    • getJournalTitle

      public Title getJournalTitle()
      Gets the value of the journalTitle property.
      Returns:
      possible object is Title
    • setJournalTitle

      public void setJournalTitle(Title value)
      Sets the value of the journalTitle property.
      Parameters:
      value - allowed object is Title
    • getLanguageCode

      public String getLanguageCode()
      Gets the value of the languageCode property.
      Returns:
      possible object is Title
    • setLanguageCode

      public void setLanguageCode(String languageCode)
      Sets the value of the languageCode property.
      Parameters:
      languageCode - allowed object is String
    • getCountry

      public Country getCountry()
      Gets the value of the country property.
      Returns:
      possible object is Country
    • setCountry

      public void setCountry(Country country)
      Sets the value of the country property.
      Parameters:
      country - allowed object is Country
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isDuplicatedLegacyMode

      public boolean isDuplicatedLegacyMode(Object obj)
      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

      public boolean isDuplicated(Object obj)
      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 be checked 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.
      Overrides:
      hashCode in class Object
    • getCreatedDate

      public CreatedDate getCreatedDate()
      Specified by:
      getCreatedDate in interface Activity
    • setCreatedDate

      public void setCreatedDate(CreatedDate value)
      Specified by:
      setCreatedDate in interface Activity
    • getLastModifiedDate

      public LastModifiedDate getLastModifiedDate()
      Specified by:
      getLastModifiedDate in interface Activity
    • setLastModifiedDate

      public void setLastModifiedDate(LastModifiedDate value)
      Specified by:
      setLastModifiedDate in interface Activity
    • equals

      public boolean equals(Object obj)
      Note that put-code is not part of equality. This is important for avoid creation of duplication works.
      Overrides:
      equals in class Object