com.ibm.wsspi.wsaddressing
Interface Relationship
- All Superinterfaces:
- AttributedType, java.lang.Cloneable, java.io.Serializable
public interface Relationship
- 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.
getURI
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
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
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
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
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Returns a clone of this Relationship
- Returns:
- Relationship A clone of this Relationship instance.
- Throws:
java.lang.CloneNotSupportedException