com.sun.xml.messaging.jaxm.ebxml
Class Party

java.lang.Object
  |
  +--com.sun.xml.messaging.jaxm.ebxml.Party

public class Party
extends java.lang.Object

This class represents the sending and receiving parties for an ebxml message.


Constructor Summary
Party(java.lang.String partyId)
          Create a new Party for the given partyId.
Party(java.lang.String partyId, java.lang.String type)
          Create a Party object for the given partyid and type.
 
Method Summary
 java.lang.String getPartyId()
          Returns the party id.
 java.lang.String getType()
          Returns the type of the party id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Party

public Party(java.lang.String partyId)
Create a new Party for the given partyId.
Parameters:
String - - the partyId.

Party

public Party(java.lang.String partyId,
             java.lang.String type)
Create a Party object for the given partyid and type.
Parameters:
String - partyid - The partyId.
type - - the type of the partyid. Defaults to "URI".
Method Detail

getPartyId

public java.lang.String getPartyId()
Returns the party id.
Returns:
String the party id.

getType

public java.lang.String getType()
Returns the type of the party id.
Returns:
String - the type.