EPP 0.2.4

com.neulevel.epp.core.response
Class EppResponseDataTransferDomain

java.lang.Object
  |
  +--com.neulevel.epp.core.EppEntity
        |
        +--com.neulevel.epp.core.response.EppResponseData
              |
              +--com.neulevel.epp.core.response.EppResponseDataTransfer
                    |
                    +--com.neulevel.epp.core.response.EppResponseDataTransferDomain

public class EppResponseDataTransferDomain
extends EppResponseDataTransfer

This EppResponseDataTransferDomain class implements EPP Response Data entity for EPP Command Transfer of EPP Domain objects.

Version:
$Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $
Author:
Ning Zhang ning.zhang@neustar.com

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
EppResponseDataTransferDomain(java.lang.String name)
          Creates an EppResponseDataTransferDomain object
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppResponseDataTransferDomain object.
 java.util.Calendar getDateExpired()
          Gets the new expiration date of the domain after the transfer, or null if the transfer request does not change the expiration date of domain.
 java.lang.String getName()
          Gets the name of the EPP Domain object
 void setDateExpired(java.util.Calendar date)
          Sets the new expiration date of the domain after the transfer.
 void setName(java.lang.String name)
          Sets the name of the EPP Domain Object
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppResponseDataTransferDomain 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

EppResponseDataTransferDomain

public EppResponseDataTransferDomain(java.lang.String name)
Creates an EppResponseDataTransferDomain object
Method Detail

getName

public java.lang.String getName()
Gets the name of the EPP Domain object

setName

public void setName(java.lang.String name)
Sets the name of the EPP Domain Object

getDateExpired

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

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 EppResponseDataTransferDomain object into an XML element
Overrides:
toXML in class EppEntity
Parameters:
doc - the XML Document object
tag - the tag/element name for the EppResponseDataTransferDomain object
Returns:
an Element object

fromXML

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

EPP 0.2.4

Copyright © 2001 NeuStar, Inc. All Rights Reserved.