org.systinet.wasp.wsrm.feb2005.policy
Class DeliveryAssuranceAssertion

java.lang.Object
  extended byorg.systinet.wasp.policy.PolicyElement
      extended byorg.systinet.wasp.policy.PolicyAssertion
          extended byorg.systinet.wasp.wsrm.feb2005.policy.DeliveryAssuranceAssertion

public class DeliveryAssuranceAssertion
extends PolicyAssertion

This assertion establishes well known names for application level delivery assurances between the ultimate receiver and the destination. The delivery assurance is an informational policy assertion as it does not affect the WS-RM transmission protocol.

Component:
WS Reliable Messaging Implementation

Constructor Summary
DeliveryAssuranceAssertion(DeliveryAssurance deliveryAssurance, PolicyUsage usage)
          Creates this assertion with given delivery assurance.
DeliveryAssuranceAssertion(javax.xml.transform.Source content)
          Loads this assertion from given XML source.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 javax.xml.transform.Source getContent()
          Gets XML content of this assertion.
 DeliveryAssurance getDeliveryAssurance()
          Gets delivery assurance of this assertion.
 int hashCode()
           
 
Methods inherited from class org.systinet.wasp.policy.PolicyElement
getParentElement, getPreference, getUsage, readStandardAttributes, setParentElement, setPreference, setUsage, writeStandardAttributes
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeliveryAssuranceAssertion

public DeliveryAssuranceAssertion(javax.xml.transform.Source content)
                           throws PolicyException
Loads this assertion from given XML source.

Parameters:
content - XML source
Throws:
PolicyException - when an error occurs during the assertion loading

DeliveryAssuranceAssertion

public DeliveryAssuranceAssertion(DeliveryAssurance deliveryAssurance,
                                  PolicyUsage usage)
Creates this assertion with given delivery assurance.

Parameters:
deliveryAssurance - delivery assurance
usage - PolicyUsage.OBSERVED or PolicyUsage.IGNORED
Method Detail

getDeliveryAssurance

public DeliveryAssurance getDeliveryAssurance()
Gets delivery assurance of this assertion.

Returns:
the delivery assurance

getContent

public javax.xml.transform.Source getContent()
                                      throws PolicyException
Gets XML content of this assertion.

Specified by:
getContent in class PolicyAssertion
Returns:
the XML content source
Throws:
PolicyException - when an error occurs

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object obj)