EPP 0.4.9

com.neulevel.epp.xri.response
Class EppResponseDataTransferXriName

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.EppResponseDataTransferXriName

public class EppResponseDataTransferXriName
extends EppResponseDataTransfer

This EppResponseDataTransferXriName class implements EPP Response Data entity for EPP Command Transfer of EPP XRI I-Name objects.

Version:
$Revision: 1.2 $ $Date: 2006/03/01 01:35:38 $
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
EppResponseDataTransferXriName(java.lang.String iname)
          Creates an EppResponseDataTransferXriName object given the i-name of an XRI i-name object to be transferred
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppResponseDataTransferXriName object.
 java.util.Calendar getDateExpired()
          Gets the new expiration date of the i-name after the transfer, or null if the transfer request does not change the expiration date of the i-name
 java.lang.String getIName()
          Gets the i-name of the XRI I-Name object
 java.lang.String getSourceAuthorityId()
          Gets the identifier of the XRI Authority object involved in the XRI I-Name transfer that acts as the source
 java.lang.String getTargetAuthorityId()
          Gets the identifier of the XRI Authority object involved in the XRI I-Name transfer that acts as the target
 java.lang.String getTransferToken()
          Gets the transfer token for the transfer operation
 void setDateExpired(java.util.Calendar date)
          Sets the new expiration date of the domain after the transfer.
 void setIName(java.lang.String iname)
          Sets the iname of the XRI I-Name object
 void setSourceAuthorityId(java.lang.String sourceAuthId)
          Sets the identifier of the XRI Authority object involved in the XRI I-Name transfer that acts as the source
 void setTargetAuthorityId(java.lang.String targetAuthId)
          Sets the identifier of the XRI Authority object involved in the XRI I-Name transfer that acts as the target
 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 EppResponseDataTransferXriName 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

EppResponseDataTransferXriName

public EppResponseDataTransferXriName(java.lang.String iname)
Creates an EppResponseDataTransferXriName object given the i-name of an XRI i-name object to be transferred

Method Detail

getIName

public java.lang.String getIName()
Gets the i-name of the XRI I-Name object


setIName

public void setIName(java.lang.String iname)
Sets the iname of the XRI I-Name object


getSourceAuthorityId

public java.lang.String getSourceAuthorityId()
Gets the identifier of the XRI Authority object involved in the XRI I-Name transfer that acts as the source


setSourceAuthorityId

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


getTargetAuthorityId

public java.lang.String getTargetAuthorityId()
Gets the identifier of the XRI Authority object involved in the XRI I-Name transfer that acts as the target


setTargetAuthorityId

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


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


getDateExpired

public java.util.Calendar getDateExpired()
Gets the new expiration date of the i-name after the transfer, or null if the transfer request does not change the expiration date of the i-name


setDateExpired

public void setDateExpired(java.util.Calendar date)
Sets the new expiration date of the domain after the transfer. The value of the new expiration date is optional.


toXML

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

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

fromXML

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

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

EPP 0.4.9

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