All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.cxf.ws.rm.manager.DestinationPolicyType 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: 2012.10.05 at 02:41:08 PM EDT 
//


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;
import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.datatype.Duration;


/**
 * RM destination configuration properties. 
 *             Used for configuring an RM destination.
 *             
 * 
 * 

Java class for DestinationPolicyType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="DestinationPolicyType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="acksPolicy" type="{http://cxf.apache.org/ws/rm/manager}AcksPolicyType" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="sequenceExpiration" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT0S" />
 *       <attribute name="acceptOffers" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DestinationPolicyType", propOrder = { "acksPolicy" }) public class DestinationPolicyType { protected AcksPolicyType acksPolicy; @XmlAttribute(name = "sequenceExpiration") protected Duration sequenceExpiration; @XmlAttribute(name = "acceptOffers") protected Boolean acceptOffers; /** * Gets the value of the acksPolicy property. * * @return * possible object is * {@link AcksPolicyType } * */ public AcksPolicyType getAcksPolicy() { return acksPolicy; } /** * Sets the value of the acksPolicy property. * * @param value * allowed object is * {@link AcksPolicyType } * */ public void setAcksPolicy(AcksPolicyType value) { this.acksPolicy = value; } public boolean isSetAcksPolicy() { return (this.acksPolicy!= null); } /** * Sets the value of the sequenceExpiration property. * * @param value * allowed object is * {@link Duration } * */ public void setSequenceExpiration(Duration value) { this.sequenceExpiration = value; } public boolean isSetSequenceExpiration() { return (this.sequenceExpiration!= null); } /** * Gets the value of the acceptOffers property. * * @return * possible object is * {@link Boolean } * */ public boolean isAcceptOffers() { if (acceptOffers == null) { return true; } else { return acceptOffers; } } /** * Sets the value of the acceptOffers property. * * @param value * allowed object is * {@link Boolean } * */ public void setAcceptOffers(boolean value) { this.acceptOffers = value; } public boolean isSetAcceptOffers() { return (this.acceptOffers!= null); } public void unsetAcceptOffers() { this.acceptOffers = null; } /** * Gets the value of the sequenceExpiration property. * */ public Duration getSequenceExpiration() { if (null == sequenceExpiration) { try { return DatatypeFactory.newInstance().newDuration("PT0S"); } catch (DatatypeConfigurationException _x) { } } return sequenceExpiration; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy