|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ebi.jmzidml.model.MzIdentMLObject
uk.ac.ebi.jmzidml.model.mzidml.Identifiable
uk.ac.ebi.jmzidml.model.mzidml.AbstractContact
uk.ac.ebi.jmzidml.model.mzidml.Person
public class Person
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>
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 |
---|
protected List<Affiliation> affiliation
protected String lastName
protected String firstName
protected String midInitials
Constructor Detail |
---|
public Person()
Method Detail |
---|
public List<Affiliation> getAffiliation()
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
public String getLastName()
String
public void setLastName(String value)
value
- allowed object is
String
public String getFirstName()
String
public void setFirstName(String value)
value
- allowed object is
String
public String getMidInitials()
String
public void setMidInitials(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |