org.apache.cxf.transport.jms.SessionPoolType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.02.05 at 01:57:18 PM EST
//
package org.apache.cxf.transport.jms;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import org.apache.cxf.wsdl.TExtensibilityElementImpl;
/**
* JMS Session pool configuration policy
*
* Java class for SessionPoolType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SessionPoolType">
* <complexContent>
* <extension base="{http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement">
* <attribute name="highWaterMark" type="{http://www.w3.org/2001/XMLSchema}int" default="500" />
* <attribute name="lowWaterMark" type="{http://www.w3.org/2001/XMLSchema}int" default="20" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SessionPoolType")
public class SessionPoolType
extends TExtensibilityElementImpl
{
@XmlAttribute
protected Integer highWaterMark;
@XmlAttribute
protected Integer lowWaterMark;
/**
* Gets the value of the highWaterMark property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getHighWaterMark() {
if (highWaterMark == null) {
return 500;
} else {
return highWaterMark;
}
}
/**
* Sets the value of the highWaterMark property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setHighWaterMark(int value) {
this.highWaterMark = value;
}
public boolean isSetHighWaterMark() {
return (this.highWaterMark!= null);
}
public void unsetHighWaterMark() {
this.highWaterMark = null;
}
/**
* Gets the value of the lowWaterMark property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getLowWaterMark() {
if (lowWaterMark == null) {
return 20;
} else {
return lowWaterMark;
}
}
/**
* Sets the value of the lowWaterMark property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setLowWaterMark(int value) {
this.lowWaterMark = value;
}
public boolean isSetLowWaterMark() {
return (this.lowWaterMark!= null);
}
public void unsetLowWaterMark() {
this.lowWaterMark = null;
}
}