EPP 0.2.3

com.neulevel.epp.core
Class EppTransactionId

java.lang.Object
  |
  +--com.neulevel.epp.core.EppEntity
        |
        +--com.neulevel.epp.core.EppTransactionId

public class EppTransactionId
extends EppEntity

This EppTransactionId class implements EPP trIDType entity.

Version:
$Revision$ $Date$
Author:
Ning Zhang ning.zhang@neustar.com

Constructor Summary
EppTransactionId(java.lang.String serviceXID)
          Creates an EppTransactionId object, given only service transaction id
EppTransactionId(java.lang.String clientXID, java.lang.String serviceXID)
          Creates an EppTransactionId object, given the client transaction id and service transaction id
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppTransactionId object.
 java.lang.String getClientTransactionId()
          Gets client transaction id
 java.lang.String getServiceTransactionId()
          Gets service transaction id
 void getServiceTransactionId(java.lang.String serviceXID)
          Sets service transaction id
 void setClientTransactionId(java.lang.String clientXID)
          Sets client transaction id
 java.lang.String toString()
           
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppTransactionId object into an XML element
 
Methods inherited from class com.neulevel.epp.core.EppEntity
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EppTransactionId

public EppTransactionId(java.lang.String serviceXID)
Creates an EppTransactionId object, given only service transaction id
Parameters:
serviceXID - service transaction id

EppTransactionId

public EppTransactionId(java.lang.String clientXID,
                        java.lang.String serviceXID)
Creates an EppTransactionId object, given the client transaction id and service transaction id
Parameters:
clientXID - client transaction id
serviceXID - service transaction id
Method Detail

getClientTransactionId

public java.lang.String getClientTransactionId()
Gets client transaction id

setClientTransactionId

public void setClientTransactionId(java.lang.String clientXID)
Sets client transaction id

getServiceTransactionId

public java.lang.String getServiceTransactionId()
Gets service transaction id

getServiceTransactionId

public void getServiceTransactionId(java.lang.String serviceXID)
Sets service transaction id

toXML

public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
                                 java.lang.String tag)
Converts the EppTransactionId object into an XML element
Overrides:
toXML in class EppEntity
Parameters:
doc - the XML Document object
tag - the tag/element name for the EppTransactionId object
Returns:
an Element object

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppTransactionId object. The caller of this method must make sure that the root node is of the EPP trIDType
Parameters:
root - root node for an EppTransactionId object in XML format
Returns:
an EppTransactionId object, or null if the node is invalid

toString

public java.lang.String toString()
Overrides:
toString in class EppEntity

EPP 0.2.3

Copyright © 2001 NeuStar, Inc. All Rights Reserved.