com.americancoders.ebXML
Class To

java.lang.Object
  |
  +--com.americancoders.ebXML.To

class To
extends java.lang.Object

The To element identifies the intended recipient of the message. As with From, it is a logical identifier which is comprised of a PartyId element.


Field Summary
(package private)  ValueTypeContext partyId
           
 
Constructor Summary
(package private) To()
           
 
Method Summary
 ValueTypeContext getPartyId()
          method to get PartyId
 java.lang.String getXML(int depth)
          method to build an XML string of this and its subordinate objects
 void setPartyId(ValueTypeContext inPartyId)
          method to set PartyId The PartyId element has a single attribute; context and a text value.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

partyId

ValueTypeContext partyId
Constructor Detail

To

To()
Method Detail

setPartyId

public void setPartyId(ValueTypeContext inPartyId)
method to set PartyId The PartyId element has a single attribute; context and a text value. The purpose of the context attribute is to provide a context for the text value of the PartyId element. The following fragment demonstrates usage of the From and To elements of the ebXMLHeader.
Parameters:
ValueTypeContext - inPartyId

getPartyId

public ValueTypeContext getPartyId()
method to get PartyId
Returns:
ValueTypeContext

getXML

public java.lang.String getXML(int depth)
method to build an XML string of this and its subordinate objects
Parameters:
int - depth - how many multiple of 4 spaces to add in front of text
Returns:
String - XML text