Class Affiliation

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

public class Affiliation extends Object implements Serializable, VisibilityType, Activity
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 name="type" type="{http://www.orcid.org/ns/orcid}affiliation-type"/>
         <element name="department-name" type="{http://www.orcid.org/ns/orcid}non-empty-string" minOccurs="0"/>
         <element name="role-title" type="{http://www.orcid.org/ns/orcid}non-empty-string" minOccurs="0"/>
         <element name="start-date" type="{http://www.orcid.org/ns/orcid}fuzzy-date" minOccurs="0"/>
         <element name="end-date" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
         <element ref="{http://www.orcid.org/ns/orcid}organization"/>
         <element ref="{http://www.orcid.org/ns/orcid}source" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://www.orcid.org/ns/orcid}visibility"/>
       <attGroup ref="{http://www.orcid.org/ns/orcid}put-code"/>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • Affiliation

      public Affiliation()
  • Method Details

    • getType

      public AffiliationType getType()
      Gets the value of the type property.
      Returns:
      possible object is AffiliationType
    • setType

      public void setType(AffiliationType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is AffiliationType
    • getDepartmentName

      public String getDepartmentName()
      Gets the value of the departmentName property.
      Returns:
      possible object is String
    • setDepartmentName

      public void setDepartmentName(String value)
      Sets the value of the departmentName property.
      Parameters:
      value - allowed object is String
    • getRoleTitle

      public String getRoleTitle()
      Gets the value of the roleTitle property.
      Returns:
      possible object is String
    • setRoleTitle

      public void setRoleTitle(String value)
      Sets the value of the roleTitle property.
      Parameters:
      value - allowed object is String
    • getStartDate

      public FuzzyDate getStartDate()
      Gets the value of the startDate property.
      Returns:
      possible object is FuzzyDate
    • setStartDate

      public void setStartDate(FuzzyDate value)
      Sets the value of the startDate property.
      Parameters:
      value - allowed object is FuzzyDate
    • getEndDate

      public FuzzyDate getEndDate()
      Gets the value of the endDate property.
      Returns:
      possible object is FuzzyDate
    • setEndDate

      public void setEndDate(FuzzyDate value)
      Sets the value of the endDate property.
      Parameters:
      value - allowed object is FuzzyDate
    • getOrganization

      public Organization getOrganization()
      Gets the value of the organization property.
      Returns:
      possible object is Organization
    • setOrganization

      public void setOrganization(Organization value)
      Sets the value of the organization property.
      Parameters:
      value - allowed object is Organization
    • getSource

      public Source getSource()
      Gets the value of the source property.
      Returns:
      possible object is Source
    • setSource

      public void setSource(Source value)
      Sets the value of the source property.
      Parameters:
      value - allowed object is 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
    • getPutCode

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

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

      public String retrieveSourcePath()
      Specified by:
      retrieveSourcePath in interface Activity
    • 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
    • hashCode

      public int hashCode()
      Note that put-code is not part of hashCode or equals! This is to allow better de-duplication.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Note that put-code is not part of hashCode or equals! This is to allow better de-duplication.
      Overrides:
      equals in class Object