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

org.apache.cxf.ws.rm.manager.SourcePolicyType Maven / Gradle / Ivy

There is a newer version: 2.7.18
Show newest version
//
// 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.05.30 at 11:04:53 AM 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 source configuration properties. 
 *             Used for configuring an RM source.
 *             
 * 
 * 

Java class for SourcePolicyType complex type. * *

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

 * <complexType name="SourcePolicyType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="sequenceTerminationPolicy" type="{http://cxf.apache.org/ws/rm/manager}SequenceTerminationPolicyType" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="sequenceExpiration" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT0S" />
 *       <attribute name="acksTo" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="includeOffer" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       <attribute name="offeredSequenceExpiration" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT0S" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SourcePolicyType", propOrder = { "sequenceTerminationPolicy" }) public class SourcePolicyType { protected SequenceTerminationPolicyType sequenceTerminationPolicy; @XmlAttribute(name = "sequenceExpiration") protected Duration sequenceExpiration; @XmlAttribute(name = "acksTo") protected String acksTo; @XmlAttribute(name = "includeOffer") protected Boolean includeOffer; @XmlAttribute(name = "offeredSequenceExpiration") protected Duration offeredSequenceExpiration; /** * Gets the value of the sequenceTerminationPolicy property. * * @return * possible object is * {@link SequenceTerminationPolicyType } * */ public SequenceTerminationPolicyType getSequenceTerminationPolicy() { return sequenceTerminationPolicy; } /** * Sets the value of the sequenceTerminationPolicy property. * * @param value * allowed object is * {@link SequenceTerminationPolicyType } * */ public void setSequenceTerminationPolicy(SequenceTerminationPolicyType value) { this.sequenceTerminationPolicy = value; } public boolean isSetSequenceTerminationPolicy() { return (this.sequenceTerminationPolicy!= 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 acksTo property. * * @return * possible object is * {@link String } * */ public String getAcksTo() { return acksTo; } /** * Sets the value of the acksTo property. * * @param value * allowed object is * {@link String } * */ public void setAcksTo(String value) { this.acksTo = value; } public boolean isSetAcksTo() { return (this.acksTo!= null); } /** * Gets the value of the includeOffer property. * * @return * possible object is * {@link Boolean } * */ public boolean isIncludeOffer() { if (includeOffer == null) { return true; } else { return includeOffer; } } /** * Sets the value of the includeOffer property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeOffer(boolean value) { this.includeOffer = value; } public boolean isSetIncludeOffer() { return (this.includeOffer!= null); } public void unsetIncludeOffer() { this.includeOffer = null; } /** * Sets the value of the offeredSequenceExpiration property. * * @param value * allowed object is * {@link Duration } * */ public void setOfferedSequenceExpiration(Duration value) { this.offeredSequenceExpiration = value; } public boolean isSetOfferedSequenceExpiration() { return (this.offeredSequenceExpiration!= 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; } /** * Gets the value of the offeredSequenceExpiration property. * */ public Duration getOfferedSequenceExpiration() { if (null == offeredSequenceExpiration) { try { return DatatypeFactory.newInstance().newDuration("PT0S"); } catch (DatatypeConfigurationException _x) { } } return offeredSequenceExpiration; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy