// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2016.12.13 um 03:20:53 PM CET // package de.dfki.nlp.domain.pubmed; import javax.xml.bind.annotation.*; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import java.util.ArrayList; import java.util.List; /** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "lastName", "foreName", "initials", "suffix", "identifier", "affiliationInfo" }) @XmlRootElement(name = "Investigator") public class Investigator { @XmlAttribute(name = "ValidYN") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String validYN; @XmlElement(name = "LastName", required = true) protected LastName lastName; @XmlElement(name = "ForeName") protected ForeName foreName; @XmlElement(name = "Initials") protected Initials initials; @XmlElement(name = "Suffix") protected Suffix suffix; @XmlElement(name = "Identifier") protected List<Identifier> identifier; @XmlElement(name = "AffiliationInfo") protected List<AffiliationInfo> affiliationInfo; /** * Ruft den Wert der validYN-Eigenschaft ab. * * @return * possible object is * {@link String } * */ public String getValidYN() { if (validYN == null) { return "Y"; } else { return validYN; } } /** * Legt den Wert der validYN-Eigenschaft fest. * * @param value * allowed object is * {@link String } * */ public void setValidYN(String value) { this.validYN = value; } /** * Ruft den Wert der lastName-Eigenschaft ab. * * @return * possible object is * {@link LastName } * */ public LastName getLastName() { return lastName; } /** * Legt den Wert der lastName-Eigenschaft fest. * * @param value * allowed object is * {@link LastName } * */ public void setLastName(LastName value) { this.lastName = value; } /** * Ruft den Wert der foreName-Eigenschaft ab. * * @return * possible object is * {@link ForeName } * */ public ForeName getForeName() { return foreName; } /** * Legt den Wert der foreName-Eigenschaft fest. * * @param value * allowed object is * {@link ForeName } * */ public void setForeName(ForeName value) { this.foreName = value; } /** * Ruft den Wert der initials-Eigenschaft ab. * * @return * possible object is * {@link Initials } * */ public Initials getInitials() { return initials; } /** * Legt den Wert der initials-Eigenschaft fest. * * @param value * allowed object is * {@link Initials } * */ public void setInitials(Initials value) { this.initials = value; } /** * Ruft den Wert der suffix-Eigenschaft ab. * * @return * possible object is * {@link Suffix } * */ public Suffix getSuffix() { return suffix; } /** * Legt den Wert der suffix-Eigenschaft fest. * * @param value * allowed object is * {@link Suffix } * */ public void setSuffix(Suffix value) { this.suffix = value; } /** * Gets the value of the identifier property. * * <p> * 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 <CODE>set</CODE> method for the identifier property. * * <p> * For example, to add a new item, do as follows: * <pre> * getIdentifier().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Identifier } * * */ public List<Identifier> getIdentifier() { if (identifier == null) { identifier = new ArrayList<Identifier>(); } return this.identifier; } /** * Gets the value of the affiliationInfo property. * * <p> * 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 <CODE>set</CODE> method for the affiliationInfo property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAffiliationInfo().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link AffiliationInfo } * * */ public List<AffiliationInfo> getAffiliationInfo() { if (affiliationInfo == null) { affiliationInfo = new ArrayList<AffiliationInfo>(); } return this.affiliationInfo; } }