// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2010.04.16 at 12:23:52 PM PDT // package dtd.kegg; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "subtype" }) @XmlRootElement(name = "relation") public class Relation { @XmlAttribute(required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String entry1; @XmlAttribute(required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String entry2; @XmlAttribute(required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type; protected List subtype; /** * Gets the value of the entry1 property. * * @return * possible object is * {@link String } * */ public String getEntry1() { return entry1; } /** * Sets the value of the entry1 property. * * @param value * allowed object is * {@link String } * */ public void setEntry1(String value) { this.entry1 = value; } /** * Gets the value of the entry2 property. * * @return * possible object is * {@link String } * */ public String getEntry2() { return entry2; } /** * Sets the value of the entry2 property. * * @param value * allowed object is * {@link String } * */ public void setEntry2(String value) { this.entry2 = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the subtype 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 subtype property. * *

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

     *    getSubtype().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Subtype } * * */ public List getSubtype() { if (subtype == null) { subtype = new ArrayList(); } return this.subtype; } }