Apache CXF API

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

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

public class DestinationPolicyType
extends Object

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"/>
         <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="acceptOffers" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="maxSequences" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Boolean acceptOffers
           
protected  AcksPolicyType acksPolicy
           
protected  Integer maxSequences
           
protected  RetryPolicyType retryPolicy
           
protected  Duration sequenceExpiration
           
 
Constructor Summary
DestinationPolicyType()
           
 
Method Summary
 AcksPolicyType getAcksPolicy()
          Gets the value of the acksPolicy property.
 int getMaxSequences()
          Gets the value of the maxSequences property.
 RetryPolicyType getRetryPolicy()
          Gets the value of the retryPolicy property.
 Duration getSequenceExpiration()
          Gets the value of the sequenceExpiration property.
 boolean isAcceptOffers()
          Gets the value of the acceptOffers property.
 boolean isSetAcceptOffers()
           
 boolean isSetAcksPolicy()
           
 boolean isSetMaxSequences()
           
 boolean isSetRetryPolicy()
           
 boolean isSetSequenceExpiration()
           
 void setAcceptOffers(boolean value)
          Sets the value of the acceptOffers property.
 void setAcksPolicy(AcksPolicyType value)
          Sets the value of the acksPolicy property.
 void setMaxSequences(int value)
          Sets the value of the maxSequences property.
 void setRetryPolicy(RetryPolicyType value)
          Sets the value of the retryPolicy property.
 void setSequenceExpiration(Duration value)
          Sets the value of the sequenceExpiration property.
 void unsetAcceptOffers()
           
 void unsetMaxSequences()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

acksPolicy

protected AcksPolicyType acksPolicy

retryPolicy

protected RetryPolicyType retryPolicy

sequenceExpiration

protected Duration sequenceExpiration

acceptOffers

protected Boolean acceptOffers

maxSequences

protected Integer maxSequences
Constructor Detail

DestinationPolicyType

public DestinationPolicyType()
Method Detail

getAcksPolicy

public AcksPolicyType getAcksPolicy()
Gets the value of the acksPolicy property.

Returns:
possible object is AcksPolicyType

setAcksPolicy

public void setAcksPolicy(AcksPolicyType value)
Sets the value of the acksPolicy property.

Parameters:
value - allowed object is AcksPolicyType

isSetAcksPolicy

public boolean isSetAcksPolicy()

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()

isAcceptOffers

public boolean isAcceptOffers()
Gets the value of the acceptOffers property.

Returns:
possible object is Boolean

setAcceptOffers

public void setAcceptOffers(boolean value)
Sets the value of the acceptOffers property.

Parameters:
value - allowed object is Boolean

isSetAcceptOffers

public boolean isSetAcceptOffers()

unsetAcceptOffers

public void unsetAcceptOffers()

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()

getSequenceExpiration

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


Apache CXF API

Apache CXF