Apache CXF API

org.apache.cxf.ws.rm.manager
Class SourcePolicyType

java.lang.Object
  extended by org.apache.cxf.ws.rm.manager.SourcePolicyType

public class SourcePolicyType
extends Object

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"/>
         <element name="retryPolicy" type="{http://cxf.apache.org/ws/rm/manager}RetryPolicyType" 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" />
       <attribute name="maxSequences" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
       <attribute name="ackRequestMode" type="{http://cxf.apache.org/ws/rm/manager}AckRequestModeType" default="pending" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  AckRequestModeType ackRequestMode
           
protected  String acksTo
           
protected  Boolean includeOffer
           
protected  Integer maxSequences
           
protected  Duration offeredSequenceExpiration
           
protected  RetryPolicyType retryPolicy
           
protected  Duration sequenceExpiration
           
protected  SequenceTerminationPolicyType sequenceTerminationPolicy
           
 
Constructor Summary
SourcePolicyType()
           
 
Method Summary
 AckRequestModeType getAckRequestMode()
          Gets the value of the ackRequestMode property.
 String getAcksTo()
          Gets the value of the acksTo property.
 int getMaxSequences()
          Gets the value of the maxSequences property.
 Duration getOfferedSequenceExpiration()
          Gets the value of the offeredSequenceExpiration property.
 RetryPolicyType getRetryPolicy()
          Gets the value of the retryPolicy property.
 Duration getSequenceExpiration()
          Gets the value of the sequenceExpiration property.
 SequenceTerminationPolicyType getSequenceTerminationPolicy()
          Gets the value of the sequenceTerminationPolicy property.
 boolean isIncludeOffer()
          Gets the value of the includeOffer property.
 boolean isSetAckRequestMode()
           
 boolean isSetAcksTo()
           
 boolean isSetIncludeOffer()
           
 boolean isSetMaxSequences()
           
 boolean isSetOfferedSequenceExpiration()
           
 boolean isSetRetryPolicy()
           
 boolean isSetSequenceExpiration()
           
 boolean isSetSequenceTerminationPolicy()
           
 void setAckRequestMode(AckRequestModeType value)
          Sets the value of the ackRequestMode property.
 void setAcksTo(String value)
          Sets the value of the acksTo property.
 void setIncludeOffer(boolean value)
          Sets the value of the includeOffer property.
 void setMaxSequences(int value)
          Sets the value of the maxSequences property.
 void setOfferedSequenceExpiration(Duration value)
          Sets the value of the offeredSequenceExpiration property.
 void setRetryPolicy(RetryPolicyType value)
          Sets the value of the retryPolicy property.
 void setSequenceExpiration(Duration value)
          Sets the value of the sequenceExpiration property.
 void setSequenceTerminationPolicy(SequenceTerminationPolicyType value)
          Sets the value of the sequenceTerminationPolicy property.
 void unsetIncludeOffer()
           
 void unsetMaxSequences()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sequenceTerminationPolicy

protected SequenceTerminationPolicyType sequenceTerminationPolicy

retryPolicy

protected RetryPolicyType retryPolicy

sequenceExpiration

protected Duration sequenceExpiration

acksTo

protected String acksTo

includeOffer

protected Boolean includeOffer

offeredSequenceExpiration

protected Duration offeredSequenceExpiration

maxSequences

protected Integer maxSequences

ackRequestMode

protected AckRequestModeType ackRequestMode
Constructor Detail

SourcePolicyType

public SourcePolicyType()
Method Detail

getSequenceTerminationPolicy

public SequenceTerminationPolicyType getSequenceTerminationPolicy()
Gets the value of the sequenceTerminationPolicy property.

Returns:
possible object is SequenceTerminationPolicyType

setSequenceTerminationPolicy

public void setSequenceTerminationPolicy(SequenceTerminationPolicyType value)
Sets the value of the sequenceTerminationPolicy property.

Parameters:
value - allowed object is SequenceTerminationPolicyType

isSetSequenceTerminationPolicy

public boolean isSetSequenceTerminationPolicy()

getRetryPolicy

public RetryPolicyType getRetryPolicy()
Gets the value of the retryPolicy property.

Returns:
possible object is RetryPolicyType

setRetryPolicy

public void setRetryPolicy(RetryPolicyType value)
Sets the value of the retryPolicy property.

Parameters:
value - allowed object is RetryPolicyType

isSetRetryPolicy

public boolean isSetRetryPolicy()

setSequenceExpiration

public void setSequenceExpiration(Duration value)
Sets the value of the sequenceExpiration property.

Parameters:
value - allowed object is Duration

isSetSequenceExpiration

public boolean isSetSequenceExpiration()

getAcksTo

public String getAcksTo()
Gets the value of the acksTo property.

Returns:
possible object is String

setAcksTo

public void setAcksTo(String value)
Sets the value of the acksTo property.

Parameters:
value - allowed object is String

isSetAcksTo

public boolean isSetAcksTo()

isIncludeOffer

public boolean isIncludeOffer()
Gets the value of the includeOffer property.

Returns:
possible object is Boolean

setIncludeOffer

public void setIncludeOffer(boolean value)
Sets the value of the includeOffer property.

Parameters:
value - allowed object is Boolean

isSetIncludeOffer

public boolean isSetIncludeOffer()

unsetIncludeOffer

public void unsetIncludeOffer()

setOfferedSequenceExpiration

public void setOfferedSequenceExpiration(Duration value)
Sets the value of the offeredSequenceExpiration property.

Parameters:
value - allowed object is Duration

isSetOfferedSequenceExpiration

public boolean isSetOfferedSequenceExpiration()

getMaxSequences

public int getMaxSequences()
Gets the value of the maxSequences property.

Returns:
possible object is Integer

setMaxSequences

public void setMaxSequences(int value)
Sets the value of the maxSequences property.

Parameters:
value - allowed object is Integer

isSetMaxSequences

public boolean isSetMaxSequences()

unsetMaxSequences

public void unsetMaxSequences()

setAckRequestMode

public void setAckRequestMode(AckRequestModeType value)
Sets the value of the ackRequestMode property.

Parameters:
value - allowed object is AckRequestModeType

isSetAckRequestMode

public boolean isSetAckRequestMode()

getSequenceExpiration

public Duration getSequenceExpiration()
Gets the value of the sequenceExpiration property.


getOfferedSequenceExpiration

public Duration getOfferedSequenceExpiration()
Gets the value of the offeredSequenceExpiration property.


getAckRequestMode

public AckRequestModeType getAckRequestMode()
Gets the value of the ackRequestMode property.


Apache CXF API

Apache CXF