com.americancoders.ebXML
Class TPAInfo

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

class TPAInfo
extends java.lang.Object

The TPAInfo element follows the From and To elements in the Header element structure. The TPAInfo element is a composite set of information that relates to the Trading Partner Agreement under which the message is governed. The TPAInfo element has four subordinate elements as follows:


Field Summary
private  ValueType action
           
private  ValueTypeContext conversationId
           
private  ValueType serviceInterface
           
private  ValueTypeContext tpaId
           
 
Constructor Summary
(package private) TPAInfo()
           
 
Method Summary
 ValueType getAction()
          method to get Action
 ValueTypeContext getConversationId()
          method to get ConversationId
 ValueType getServiceInterface()
          method to get ServiceInterface
 ValueTypeContext getTPAId()
          method to get TPAId
 java.lang.String getXML(int depth)
          method to build an XML string of this and its subordinate objects
 void setAction(ValueType inAction)
          method to set Action
 void setConversationId(ValueTypeContext inConversationId)
          method to set ConversationId
 void setServiceInterface(ValueType inServiceInterface)
          method to set ServiceInterface
 void setTPAId(ValueTypeContext inTPAId)
          method to set TPAId
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

tpaId

private ValueTypeContext tpaId

conversationId

private ValueTypeContext conversationId

serviceInterface

private ValueType serviceInterface

action

private ValueType action
Constructor Detail

TPAInfo

TPAInfo()
Method Detail

setTPAId

public void setTPAId(ValueTypeContext inTPAId)
method to set TPAId
Parameters:
ValueTypeContext - inTPAId

getTPAId

public ValueTypeContext getTPAId()
method to get TPAId
Returns:
ValueTypeContext

setConversationId

public void setConversationId(ValueTypeContext inConversationId)
method to set ConversationId
Parameters:
ValueTypeContext - inConversationId

getConversationId

public ValueTypeContext getConversationId()
method to get ConversationId
Returns:
ValueTypeContext

setServiceInterface

public void setServiceInterface(ValueType inServiceInterface)
method to set ServiceInterface
Parameters:
ValueType - inServiceInterface

getServiceInterface

public ValueType getServiceInterface()
method to get ServiceInterface
Returns:
ValueType

setAction

public void setAction(ValueType inAction)
method to set Action
Parameters:
ValueType - inAction

getAction

public ValueType getAction()
method to get Action
Returns:
ValueType

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