Class OtherNames

java.lang.Object
org.orcid.jaxb.model.message.OtherNames
All Implemented Interfaces:
Serializable

public class OtherNames extends Object implements 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}other-name" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://www.orcid.org/ns/orcid}visibility"/>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • OtherNames

      public OtherNames()
  • Method Details

    • getOtherName

      public List<OtherName> getOtherName()
      Gets the value of the otherName 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 otherName property. For example, to add a new item, do as follows:
       getOtherName().add(newItem);
       
      Objects of the following type(s) are allowed in the list OtherName
      Returns:
      a List of OtherName objects
    • getOtherNamesAsStrings

      public List<String> getOtherNamesAsStrings()
    • getVisibility

      public Visibility getVisibility()
      Gets the value of the visibility property.
      Returns:
      possible object is Visibility
    • setVisibility

      public void setVisibility(Visibility value)
      Sets the value of the visibility property.
      Parameters:
      value - allowed object is Visibility
    • addOtherName

      public void addOtherName(String value, Visibility vis)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • setOtherName

      public void setOtherName(List<OtherName> otherName)