//
// 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.math.BigInteger;
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 SessionConfig complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="SessionConfig">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="reconnects" type="{http://www.w3.org/2001/XMLSchema}integer" />
* <attribute name="transacted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="audit" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="auditDirectory" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="checkSize" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="checkSizePeriod" type="{http://www.w3.org/2001/XMLSchema}long" default="1000" />
* <attribute name="useConsumerForQueueBrowse" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SessionConfig")
public class SessionConfig {
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "reconnects")
protected BigInteger reconnects;
@XmlAttribute(name = "transacted")
protected Boolean transacted;
@XmlAttribute(name = "audit")
protected Boolean audit;
@XmlAttribute(name = "auditDirectory")
protected String auditDirectory;
@XmlAttribute(name = "checkSize")
protected Boolean checkSize;
@XmlAttribute(name = "checkSizePeriod")
protected Long checkSizePeriod;
@XmlAttribute(name = "useConsumerForQueueBrowse")
protected Boolean useConsumerForQueueBrowse;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the reconnects property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getReconnects() {
return reconnects;
}
/**
* Sets the value of the reconnects property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setReconnects(BigInteger value) {
this.reconnects = value;
}
/**
* Gets the value of the transacted property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isTransacted() {
if (transacted == null) {
return true;
} else {
return transacted;
}
}
/**
* Sets the value of the transacted property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTransacted(Boolean value) {
this.transacted = value;
}
/**
* Gets the value of the audit property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isAudit() {
if (audit == null) {
return false;
} else {
return audit;
}
}
/**
* Sets the value of the audit property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAudit(Boolean value) {
this.audit = value;
}
/**
* Gets the value of the auditDirectory property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAuditDirectory() {
return auditDirectory;
}
/**
* Sets the value of the auditDirectory property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAuditDirectory(String value) {
this.auditDirectory = value;
}
/**
* Gets the value of the checkSize property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isCheckSize() {
if (checkSize == null) {
return false;
} else {
return checkSize;
}
}
/**
* Sets the value of the checkSize property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCheckSize(Boolean value) {
this.checkSize = value;
}
/**
* Gets the value of the checkSizePeriod property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getCheckSizePeriod() {
if (checkSizePeriod == null) {
return 1000L;
} else {
return checkSizePeriod;
}
}
/**
* Sets the value of the checkSizePeriod property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setCheckSizePeriod(Long value) {
this.checkSizePeriod = value;
}
/**
* Gets the value of the useConsumerForQueueBrowse property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isUseConsumerForQueueBrowse() {
if (useConsumerForQueueBrowse == null) {
return false;
} else {
return useConsumerForQueueBrowse;
}
}
/**
* Sets the value of the useConsumerForQueueBrowse property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUseConsumerForQueueBrowse(Boolean value) {
this.useConsumerForQueueBrowse = value;
}
}