Class NameListType

java.lang.Object
org.uniprot.uniprot.NameListType

public class NameListType extends Object

Java class for nameListType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="nameListType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element name="consortium" type="{https://uniprot.org/uniprot}consortiumType"/>
         <element name="person" type="{https://uniprot.org/uniprot}personType"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • consortiumOrPerson

      protected List<Object> consortiumOrPerson
  • Constructor Details

    • NameListType

      public NameListType()
  • Method Details

    • getConsortiumOrPerson

      public List<Object> getConsortiumOrPerson()
      Gets the value of the consortiumOrPerson 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 consortiumOrPerson property.

      For example, to add a new item, do as follows:

       getConsortiumOrPerson().add(newItem);
       

      Objects of the following type(s) are allowed in the list ConsortiumType PersonType

      Returns:
      The value of the consortiumOrPerson property.