uk.ac.ebi.jmzidml.model.mzidml
Class AuditCollection

java.lang.Object
  extended by uk.ac.ebi.jmzidml.model.MzIdentMLObject
      extended by uk.ac.ebi.jmzidml.model.mzidml.AuditCollection
All Implemented Interfaces:
Serializable

public class AuditCollection
extends MzIdentMLObject
implements Serializable

The complete set of Contacts (people and organisations) for this file.

Java class for AuditCollectionType complex type.

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

 <complexType name="AuditCollectionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element name="Person" type="{http://psidev.info/psi/pi/mzIdentML/1.1}PersonType"/>
         <element name="Organization" type="{http://psidev.info/psi/pi/mzIdentML/1.1}OrganizationType"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<AbstractContact> personOrOrganization
           
 
Constructor Summary
AuditCollection()
           
 
Method Summary
 List<Organization> getOrganization()
          Returns a list of the Organization objects contained in list returned from getPersonOrOrganization.
 List<Person> getPerson()
          Returns a list of the Person objects contained in list returned from getPersonOrOrganization.
 List<AbstractContact> getPersonOrOrganization()
          Gets the value of the personOrOrganization property.
 
Methods inherited from class uk.ac.ebi.jmzidml.model.MzIdentMLObject
getHid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

personOrOrganization

protected List<AbstractContact> personOrOrganization
Constructor Detail

AuditCollection

public AuditCollection()
Method Detail

getPersonOrOrganization

public List<AbstractContact> getPersonOrOrganization()
Gets the value of the personOrOrganization 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 personOrOrganization property.

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

    getPersonOrOrganization().add(newItem);
 

Objects of the following type(s) are allowed in the list Person Organization


getPerson

public List<Person> getPerson()
Returns a list of the Person objects contained in list returned from getPersonOrOrganization.

Returns:
List The list of Person Contacts.

getOrganization

public List<Organization> getOrganization()
Returns a list of the Organization objects contained in list returned from getPersonOrOrganization.

Returns:


Copyright © 2012. All Rights Reserved.