org.apache.cxf.ws.rm.manager.SequenceTerminationPolicyType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cxf-bundle-minimal Show documentation
Show all versions of cxf-bundle-minimal Show documentation
Apache CXF Minimal Bundle Jar
//
// 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: 2012.12.06 at 11:59:47 AM EST
//
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 SequenceTerminationPolicyType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SequenceTerminationPolicyType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="maxLength" type="{http://www.w3.org/2001/XMLSchema}long" default="0" />
* <attribute name="maxRanges" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
* <attribute name="maxUnacknowledged" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
* <attribute name="terminateOnShutdown" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SequenceTerminationPolicyType")
public class SequenceTerminationPolicyType {
@XmlAttribute(name = "maxLength")
protected Long maxLength;
@XmlAttribute(name = "maxRanges")
protected Integer maxRanges;
@XmlAttribute(name = "maxUnacknowledged")
protected Integer maxUnacknowledged;
@XmlAttribute(name = "terminateOnShutdown")
protected Boolean terminateOnShutdown;
/**
* Gets the value of the maxLength property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getMaxLength() {
if (maxLength == null) {
return 0L;
} else {
return maxLength;
}
}
/**
* Sets the value of the maxLength property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setMaxLength(long value) {
this.maxLength = value;
}
public boolean isSetMaxLength() {
return (this.maxLength!= null);
}
public void unsetMaxLength() {
this.maxLength = null;
}
/**
* Gets the value of the maxRanges property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getMaxRanges() {
if (maxRanges == null) {
return 0;
} else {
return maxRanges;
}
}
/**
* Sets the value of the maxRanges property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMaxRanges(int value) {
this.maxRanges = value;
}
public boolean isSetMaxRanges() {
return (this.maxRanges!= null);
}
public void unsetMaxRanges() {
this.maxRanges = null;
}
/**
* Gets the value of the maxUnacknowledged property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getMaxUnacknowledged() {
if (maxUnacknowledged == null) {
return 0;
} else {
return maxUnacknowledged;
}
}
/**
* Sets the value of the maxUnacknowledged property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMaxUnacknowledged(int value) {
this.maxUnacknowledged = value;
}
public boolean isSetMaxUnacknowledged() {
return (this.maxUnacknowledged!= null);
}
public void unsetMaxUnacknowledged() {
this.maxUnacknowledged = null;
}
/**
* Gets the value of the terminateOnShutdown property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isTerminateOnShutdown() {
if (terminateOnShutdown == null) {
return false;
} else {
return terminateOnShutdown;
}
}
/**
* Sets the value of the terminateOnShutdown property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTerminateOnShutdown(boolean value) {
this.terminateOnShutdown = value;
}
public boolean isSetTerminateOnShutdown() {
return (this.terminateOnShutdown!= null);
}
public void unsetTerminateOnShutdown() {
this.terminateOnShutdown = null;
}
}