org.systinet.wasp.addressing
Class AddressingHeaders.Relationship

java.lang.Object
  extended byorg.systinet.wasp.addressing.AddressingHeaders.Relationship
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Enclosing class:
AddressingHeaders

public static class AddressingHeaders.Relationship
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

A record containing messageID of a message to which this message relates to and the type of the relationship to the message. Used by the AddressingHeaders.relatesTo.

See Also:
Serialized Form

Field Summary
static java.lang.String ID_UNSPECIFIED
          A special value for the messageID field.
 java.lang.String messageID
          A messageID of a message to which this message relates to.
static QName RESPONSE
          A special value for the type field.
 QName type
          The type of the relationship to the message specified by relatesTo property.
 
Constructor Summary
AddressingHeaders.Relationship(java.lang.String messageID, QName type)
           
 
Method Summary
protected  java.lang.Object clone()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_UNSPECIFIED

public static final java.lang.String ID_UNSPECIFIED
A special value for the messageID field.

See Also:
Constant Field Values

RESPONSE

public static final QName RESPONSE
A special value for the type field.


messageID

public java.lang.String messageID
A messageID of a message to which this message relates to. It may refer to specific message, or be the well-known URI ID_UNSPECIFIED that means "unspecified message". The type of relationship is described by the type field.


type

public QName type
The type of the relationship to the message specified by relatesTo property. The specification has one predefined relationship type: RESPONSE.

Constructor Detail

AddressingHeaders.Relationship

public AddressingHeaders.Relationship(java.lang.String messageID,
                                      QName type)
Method Detail

clone

protected java.lang.Object clone()