public interface Relationship extends AttributedType, java.io.Serializable, java.lang.Cloneable
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.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a clone of this Relationship
|
java.net.URI |
getRelationshipType() |
java.net.URI |
getURI() |
void |
setRelationshipType(java.net.URI relationshipType) |
void |
setURI(java.net.URI uri) |
addAttribute, getAttributeNames, getAttributeValue
java.net.URI getURI()
void setURI(java.net.URI uri)
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_MESSAGEjava.net.URI getRelationshipType()
http://www.w3.org/TR/ws-addr-core/#msgaddrpropsinfoset
void setRelationshipType(java.net.URI relationshipType)
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:Replyjava.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException