org.apache.cxf.ws.rm.manager.AcksPolicyType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.04.08 at 05:40:09 PM MDT
//
package org.apache.cxf.ws.rm.manager;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for AcksPolicyType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AcksPolicyType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="intraMessageThreshold" type="{http://www.w3.org/2001/XMLSchema}int" default="10" />
* <attribute name="ImmediaAcksTimeout" type="{http://www.w3.org/2001/XMLSchema}long" default="1000" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AcksPolicyType")
public class AcksPolicyType {
@XmlAttribute(name = "intraMessageThreshold")
protected Integer intraMessageThreshold;
@XmlAttribute(name = "ImmediaAcksTimeout")
protected Long immediaAcksTimeout;
/**
* Gets the value of the intraMessageThreshold property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getIntraMessageThreshold() {
if (intraMessageThreshold == null) {
return 10;
} else {
return intraMessageThreshold;
}
}
/**
* Sets the value of the intraMessageThreshold property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setIntraMessageThreshold(int value) {
this.intraMessageThreshold = value;
}
public boolean isSetIntraMessageThreshold() {
return (this.intraMessageThreshold!= null);
}
public void unsetIntraMessageThreshold() {
this.intraMessageThreshold = null;
}
/**
* Gets the value of the immediaAcksTimeout property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getImmediaAcksTimeout() {
if (immediaAcksTimeout == null) {
return 1000L;
} else {
return immediaAcksTimeout;
}
}
/**
* Sets the value of the immediaAcksTimeout property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setImmediaAcksTimeout(long value) {
this.immediaAcksTimeout = value;
}
public boolean isSetImmediaAcksTimeout() {
return (this.immediaAcksTimeout!= null);
}
public void unsetImmediaAcksTimeout() {
this.immediaAcksTimeout = null;
}
}