EPP 0.4.9

com.neulevel.epp.xri.response
Class EppResponseDataTransferXriAuthority

java.lang.Object
  extended by com.neulevel.epp.core.EppEntity
      extended by com.neulevel.epp.core.response.EppResponseData
          extended by com.neulevel.epp.core.response.EppResponseDataTransfer
              extended by com.neulevel.epp.xri.response.EppResponseDataTransferXriAuthority

public class EppResponseDataTransferXriAuthority
extends EppResponseDataTransfer

This EppResponseDataTransferXriAuthority class implements EPP Response Data entity for EPP Command Transfer of EPP XRI Authority objects.

Version:
$Revision: 1.3 $ $Date: 2007/08/01 16:13:07 $
Author:
Ning Zhang ning.zhang@neustar.com

Field Summary
 
Fields inherited from class com.neulevel.epp.core.response.EppResponseDataTransfer
acDate, acID, exDate, reDate, reID, STATUS_CLIENT_APPROVED, STATUS_CLIENT_CANCELLED, STATUS_CLIENT_REJECTED, STATUS_PENDING, STATUS_SERVER_APPROVED, STATUS_SERVER_CANCELLED, trStatus
 
Constructor Summary
EppResponseDataTransferXriAuthority(java.lang.String authId)
          Creates an EppResponseDataTransferXriAuthority object given the identifier of an XRI authority object to be transferred
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppResponseDataTransferXriAuthority object.
 java.lang.String getAuthorityId()
          Gets the identifier of the XRI Authority object
 java.lang.String getSourceAuthorityId()
          Gets the identifier of the XRI Authority object involved in the transfer that acts as the source, if any
 java.lang.String getTargetAuthorityId()
          Gets the identifier of the XRI Authority object involved in the transfer that acts as the target, if any
 java.lang.String getTransferToken()
          Gets the transfer token for the transfer operation
 void setAuthorityId(java.lang.String authId)
          Sets the identifier of the XRI Authority Object
 void setSourceAuthorityId(java.lang.String sourceAuthId)
          Sets the identifier of the XRI Authority object involved in the transfer that acts as the source, if any
 void setTargetAuthorityId(java.lang.String targetAuthId)
          Sets the identifier of the XRI Authority object involved in the transfer that acts as the target, if any
 void setTransferToken(java.lang.String trToken)
          Sets the transfer token for the transfer operation
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppResponseDataTransferXriAuthority object into an XML element
 
Methods inherited from class com.neulevel.epp.core.response.EppResponseDataTransfer
fromXMLCommon, getActionClientId, getActionDate, getRequestClientId, getRequestDate, getTransferStatus, setActionClientId, setActionDate, setRequestClientId, setRequestDate, setTransferStatus, toXMLCommon
 
Methods inherited from class com.neulevel.epp.core.response.EppResponseData
toString
 
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

EppResponseDataTransferXriAuthority

public EppResponseDataTransferXriAuthority(java.lang.String authId)
Creates an EppResponseDataTransferXriAuthority object given the identifier of an XRI authority object to be transferred

Method Detail

getAuthorityId

public java.lang.String getAuthorityId()
Gets the identifier of the XRI Authority object


setAuthorityId

public void setAuthorityId(java.lang.String authId)
Sets the identifier of the XRI Authority Object


getSourceAuthorityId

public java.lang.String getSourceAuthorityId()
Gets the identifier of the XRI Authority object involved in the transfer that acts as the source, if any


setSourceAuthorityId

public void setSourceAuthorityId(java.lang.String sourceAuthId)
Sets the identifier of the XRI Authority object involved in the transfer that acts as the source, if any


getTargetAuthorityId

public java.lang.String getTargetAuthorityId()
Gets the identifier of the XRI Authority object involved in the transfer that acts as the target, if any


setTargetAuthorityId

public void setTargetAuthorityId(java.lang.String targetAuthId)
Sets the identifier of the XRI Authority object involved in the transfer that acts as the target, if any


getTransferToken

public java.lang.String getTransferToken()
Gets the transfer token for the transfer operation


setTransferToken

public void setTransferToken(java.lang.String trToken)
Sets the transfer token for the transfer operation


toXML

public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
                                 java.lang.String tag)
Converts the EppResponseDataTransferXriAuthority object into an XML element

Specified by:
toXML in class EppEntity
Parameters:
doc - the XML Document object
tag - the tag/element name for the EppResponseDataTransferXriAuthority object
Returns:
an Element object

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppResponseDataTransferXriAuthority object. The caller of this method must make sure that the root node is of an EPP Response Transfer entity for EPP XRI Authority object.

Parameters:
root - root node for an EppResponseDataTransferXriAuthority object in XML format
Returns:
an EppResponseDataTransferXriAuthority object, or null if the node is invalid

EPP 0.4.9

Copyright © 2001-2006 NeuStar, Inc. All Rights Reserved.