EPP 0.4.9

com.neulevel.epp.xri.response
Class EppResponseDataCreateXriName

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.EppResponseDataCreate
              extended by com.neulevel.epp.xri.response.EppResponseDataCreateXriName

public class EppResponseDataCreateXriName
extends EppResponseDataCreate

This EppResponseDataCreateXriName class implements EPP Response Data entity for EPP Command Create 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.EppResponseDataCreate
crDate, roid
 
Constructor Summary
EppResponseDataCreateXriName(java.lang.String iname)
          Creates an EppResponseDataCreateXriName object, with the current date as the creation date.
EppResponseDataCreateXriName(java.lang.String iname, java.util.Calendar exDate)
          Creates an EppResponseDataCreateXriName object, given the i-name of the XRI i-name object, and an expiration date, with the current date as the creation date
EppResponseDataCreateXriName(java.lang.String iname, java.util.Calendar exDate, java.util.Calendar crDate)
          Creates an EppResponseDataCreateXriName object, given the i-name of the XRI i-name object, a reference id, and an expiration date, with the current date as the creation date
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppResponseDataCreateXriName object.
 java.util.Calendar getDateExpired()
          Gets expiration date of the XRI i-name object created
 java.lang.String getIName()
          Gets the i-name
 void setDateExpired(java.util.Calendar exDate)
          Sets expiration date of the XRI i-name object created
 void setIName(java.lang.String iname)
          Sets the i-name
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts an EppResponseDataCreateXriName object into an XML element.
 
Methods inherited from class com.neulevel.epp.core.response.EppResponseDataCreate
getDateCreated, getRoid, setDateCreated, setRoid
 
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

EppResponseDataCreateXriName

public EppResponseDataCreateXriName(java.lang.String iname)
Creates an EppResponseDataCreateXriName object, with the current date as the creation date.

Parameters:
iname - the i-name of the EPP XRI i-name object created

EppResponseDataCreateXriName

public EppResponseDataCreateXriName(java.lang.String iname,
                                    java.util.Calendar exDate)
Creates an EppResponseDataCreateXriName object, given the i-name of the XRI i-name object, and an expiration date, with the current date as the creation date

Parameters:
iname - the i-name of the EPP XRI i-name object created
exDate - the expiration date of the XRI i-name object created

EppResponseDataCreateXriName

public EppResponseDataCreateXriName(java.lang.String iname,
                                    java.util.Calendar exDate,
                                    java.util.Calendar crDate)
Creates an EppResponseDataCreateXriName object, given the i-name of the XRI i-name object, a reference id, and an expiration date, with the current date as the creation date

Parameters:
iname - the i-name of the EPP XRI i-name object created
exDate - the expiration date of the XRI i-name object created
crDate - the creation date of the XRI i-name object created
Method Detail

setIName

public void setIName(java.lang.String iname)
Sets the i-name


getIName

public java.lang.String getIName()
Gets the i-name


getDateExpired

public java.util.Calendar getDateExpired()
Gets expiration date of the XRI i-name object created


setDateExpired

public void setDateExpired(java.util.Calendar exDate)
Sets expiration date of the XRI i-name object created


fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppResponseDataCreateXriName object. The caller of this method must make sure that the root node is the resData element of EPP responseType for creating an EPP XriName object.

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

toXML

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

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

EPP 0.4.9

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