// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.12.19 at 10:30:34 AM GMT // package hermes.config; 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.XmlType; /** * <p>Java class for ConnectionConfig complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ConnectionConfig"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="session" type="{}SessionConfig" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="username" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="clientID" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="connectionPerThread" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ConnectionConfig", propOrder = { "session" }) public class ConnectionConfig { protected List<SessionConfig> session; @XmlAttribute(name = "username") protected String username; @XmlAttribute(name = "password") protected String password; @XmlAttribute(name = "clientID") protected String clientID; @XmlAttribute(name = "connectionPerThread") protected Boolean connectionPerThread; /** * Gets the value of the session 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 session property. * * <p> * For example, to add a new item, do as follows: * <pre> * getSession().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link SessionConfig } * * */ public List<SessionConfig> getSession() { if (session == null) { session = new ArrayList<SessionConfig>(); } return this.session; } /** * Gets the value of the username property. * * @return * possible object is * {@link String } * */ public String getUsername() { return username; } /** * Sets the value of the username property. * * @param value * allowed object is * {@link String } * */ public void setUsername(String value) { this.username = value; } /** * Gets the value of the password property. * * @return * possible object is * {@link String } * */ public String getPassword() { return password; } /** * Sets the value of the password property. * * @param value * allowed object is * {@link String } * */ public void setPassword(String value) { this.password = value; } /** * Gets the value of the clientID property. * * @return * possible object is * {@link String } * */ public String getClientID() { return clientID; } /** * Sets the value of the clientID property. * * @param value * allowed object is * {@link String } * */ public void setClientID(String value) { this.clientID = value; } /** * Gets the value of the connectionPerThread property. * * @return * possible object is * {@link Boolean } * */ public boolean isConnectionPerThread() { if (connectionPerThread == null) { return false; } else { return connectionPerThread; } } /** * Sets the value of the connectionPerThread property. * * @param value * allowed object is * {@link Boolean } * */ public void setConnectionPerThread(Boolean value) { this.connectionPerThread = value; } }