Class Affiliations

java.lang.Object
org.orcid.jaxb.model.message.Affiliations
All Implemented Interfaces:
Serializable, ActivitiesContainer

public class Affiliations extends Object implements Serializable, ActivitiesContainer

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}affiliation" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • Affiliations

      public Affiliations()
  • Method Details

    • getAffiliation

      public List<Affiliation> getAffiliation()
      Gets the value of the affiliation property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the affiliation property. For example, to add a new item, do as follows:
       getAffiliation().add(newItem);
       
      Objects of the following type(s) are allowed in the list Affiliation
      Returns:
      a List of Affiliation objects
    • getAffiliationsByType

      public List<Affiliation> getAffiliationsByType(AffiliationType affiliationType)
    • retrieveActivitiesAsMap

      public Map<String,Affiliation> retrieveActivitiesAsMap()
      Specified by:
      retrieveActivitiesAsMap in interface ActivitiesContainer
    • retrieveActivities

      public List<? extends Activity> retrieveActivities()
      Specified by:
      retrieveActivities in interface ActivitiesContainer
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object