com.ibm.wsspi.wsaddressing

Interface Relationship

All Superinterfaces:
AttributedType, java.lang.Cloneable, java.io.Serializable

  1. public interface Relationship
  2. extends AttributedType, java.io.Serializable, java.lang.Cloneable
This interface represents the [relationship] abstract property of the WS-Addressing specification.

This type represents a pair of values that indicate how this message relates to another message. The type of the relationship is identified by a URI. The related message is identified by a URI that corresponds to the related message's [message id] property.


Method Summary

Modifier and Type Method and Description
  1. java.lang.Object
clone()
Returns a clone of this Relationship
  1. java.net.URI
getRelationshipType()
  1. java.net.URI
getURI()
  1. void
setRelationshipType(java.net.URI relationshipType)
  1. void
setURI(java.net.URI uri)
Methods inherited from interface com.ibm.wsspi.wsaddressing.AttributedType
addAttribute, getAttributeNames, getAttributeValue

Method Detail

getURI

  1. java.net.URI getURI()
Returns:
A URI that EITHER uniquely identifies the related message, corresponding to the related messages [message id] property OR be the well known URI visible in String form as the constant: com.ibm.wsspi.wsaddressing.Constants.UNSPECIFIED_MESSAGE If the URI was set to null, null will be returned.

setURI

  1. void setURI(java.net.URI uri)
Parameters:
uri - The URI value that EITHER uniquely identifies the related message, corresponding to the related messages [message id] property OR be the well known URI visible in String form as the constant: Relationship.UNSPECIFIED_MESSAGE

getRelationshipType

  1. java.net.URI getRelationshipType( )
Returns:
A URI identifying the type of the relationship. If no RelationshipType has been set, the implied value specified by WS-Addressing Core Section 3.2 is returned. NOTE: When the 2004/08 namespace is in use, the QName wsa:Reply will be deserialized as the RelationshipType URI of the default namespace.
See Also:
http://www.w3.org/TR/ws-addr-core/#msgaddrpropsinfoset

setRelationshipType

  1. void setRelationshipType(java.net.URI relationshipType)
Parameters:
relationshipType - A URI identifying the type of the relationship. NOTE: When the 2004/08 namespace is in use, the RelationshipType URI of the default namespace will be serialized to the QName wsa:Reply

clone

  1. java.lang.Object clone()
  2. throws java.lang.CloneNotSupportedException
Returns a clone of this Relationship
Returns:
Relationship A clone of this Relationship instance.
Throws:
java.lang.CloneNotSupportedException