org.apache.cxf.ws.rm.manager.RetryPolicyType 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: 2013.01.04 at 03:47:01 PM 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 RetryPolicyType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RetryPolicyType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="maxRetries" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RetryPolicyType")
public class RetryPolicyType {
@XmlAttribute(name = "maxRetries")
protected Integer maxRetries;
/**
* Gets the value of the maxRetries property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getMaxRetries() {
if (maxRetries == null) {
return 0;
} else {
return maxRetries;
}
}
/**
* Sets the value of the maxRetries property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMaxRetries(int value) {
this.maxRetries = value;
}
public boolean isSetMaxRetries() {
return (this.maxRetries!= null);
}
public void unsetMaxRetries() {
this.maxRetries = null;
}
}