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

java.lang.Object
  extended by uk.ac.ebi.jmzidml.model.MzIdentMLObject
      extended by uk.ac.ebi.jmzidml.model.mzidml.Identifiable
          extended by uk.ac.ebi.jmzidml.model.mzidml.AbstractContact
              extended by uk.ac.ebi.jmzidml.model.mzidml.Person
All Implemented Interfaces:
Serializable, CvParamListCapable, ParamGroupCapable

public class Person
extends AbstractContact
implements Serializable

A person's name and contact details. Any additional information such as the address, contact email etc. should be supplied using CV parameters or user parameters.

Java class for PersonType complex type.

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

 <complexType name="PersonType">
   <complexContent>
     <extension base="{http://psidev.info/psi/pi/mzIdentML/1.1}AbstractContactType">
       <sequence>
         <element name="Affiliation" type="{http://psidev.info/psi/pi/mzIdentML/1.1}AffiliationType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="lastName" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="firstName" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="midInitials" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Affiliation> affiliation
           
protected  String firstName
           
protected  String lastName
           
protected  String midInitials
           
 
Fields inherited from class uk.ac.ebi.jmzidml.model.mzidml.AbstractContact
paramGroup
 
Fields inherited from class uk.ac.ebi.jmzidml.model.mzidml.Identifiable
id, name
 
Constructor Summary
Person()
           
 
Method Summary
 List<Affiliation> getAffiliation()
          Gets the value of the affiliation property.
 String getFirstName()
          Gets the value of the firstName property.
 String getLastName()
          Gets the value of the lastName property.
 String getMidInitials()
          Gets the value of the midInitials property.
 void setFirstName(String value)
          Sets the value of the firstName property.
 void setLastName(String value)
          Sets the value of the lastName property.
 void setMidInitials(String value)
          Sets the value of the midInitials property.
 
Methods inherited from class uk.ac.ebi.jmzidml.model.mzidml.AbstractContact
getCvParam, getParamGroup, getUserParam
 
Methods inherited from class uk.ac.ebi.jmzidml.model.mzidml.Identifiable
getId, getName, setId, setName
 
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

affiliation

protected List<Affiliation> affiliation

lastName

protected String lastName

firstName

protected String firstName

midInitials

protected String midInitials
Constructor Detail

Person

public Person()
Method Detail

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


getLastName

public String getLastName()
Gets the value of the lastName property.

Returns:
possible object is String

setLastName

public void setLastName(String value)
Sets the value of the lastName property.

Parameters:
value - allowed object is String

getFirstName

public String getFirstName()
Gets the value of the firstName property.

Returns:
possible object is String

setFirstName

public void setFirstName(String value)
Sets the value of the firstName property.

Parameters:
value - allowed object is String

getMidInitials

public String getMidInitials()
Gets the value of the midInitials property.

Returns:
possible object is String

setMidInitials

public void setMidInitials(String value)
Sets the value of the midInitials property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.