EPP 0.4.9

com.neulevel.epp.xri.response
Class EppResponseDataCreateXriService

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

public class EppResponseDataCreateXriService
extends EppResponseDataCreate

This EppResponseDataCreateXriService class implements EPP Response Data entity for EPP Command Create of EPP XRI I-Service 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
EppResponseDataCreateXriService(java.lang.String id)
          Creates an EppResponseDataCreateXriService object, with the current date as the creation date.
EppResponseDataCreateXriService(java.lang.String id, java.util.Calendar exDate)
          Creates an EppResponseDataCreateXriService object, given the identifier of the XRI i-service object, and an expiration date, with the current date as the creation date
EppResponseDataCreateXriService(java.lang.String id, java.util.Calendar exDate, java.util.Calendar crDate)
          Creates an EppResponseDataCreateXriService object, given the identifier of the XRI i-service object, a reference id, and an expiration date, with the current date as the creation date
EppResponseDataCreateXriService(java.lang.String id, java.lang.String type, java.util.Calendar exDate, java.util.Calendar crDate)
          Creates an EppResponseDataCreateXriService object, given the identifier of the XRI i-service object, a reference id, and an expiration date, with the current date as the creation date
 
Method Summary
 void addURI(java.lang.String uri)
          Adds a URI to the list of URIs associated with the i-service object
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppResponseDataCreateXriService object.
 java.util.Calendar getDateExpired()
          Gets expiration date of the XRI i-service object created
 java.lang.String getId()
          Gets the identifier of the i-service object
 java.lang.String getType()
          Gets the type of the i-service object
 java.util.Vector getURI()
          Gets the list of URIs associated with the i-service object
 void setDateExpired(java.util.Calendar exDate)
          Sets expiration date of the XRI i-service object created
 void setId(java.lang.String id)
          Sets the identifier of the i-service object
 void setType(java.lang.String type)
          Sets the type of the i-service object
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts an EppResponseDataCreateXriService 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

EppResponseDataCreateXriService

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

Parameters:
id - the identifier of the EPP XRI i-service object created

EppResponseDataCreateXriService

public EppResponseDataCreateXriService(java.lang.String id,
                                       java.util.Calendar exDate)
Creates an EppResponseDataCreateXriService object, given the identifier of the XRI i-service object, and an expiration date, with the current date as the creation date

Parameters:
id - the identifier of the EPP XRI i-service object created
exDate - the expiration date of the XRI i-service object created

EppResponseDataCreateXriService

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

Parameters:
id - the identifier of the EPP XRI i-service object created
exDate - the expiration date of the XRI i-service object created
crDate - the creation date of the XRI i-service object created

EppResponseDataCreateXriService

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

Parameters:
id - the identifier of the EPP XRI i-service object created
exDate - the expiration date of the XRI i-service object created
crDate - the creation date of the XRI i-service object created
Method Detail

setId

public void setId(java.lang.String id)
Sets the identifier of the i-service object


getId

public java.lang.String getId()
Gets the identifier of the i-service object


setType

public void setType(java.lang.String type)
Sets the type of the i-service object


getType

public java.lang.String getType()
Gets the type of the i-service object


addURI

public void addURI(java.lang.String uri)
Adds a URI to the list of URIs associated with the i-service object


getURI

public java.util.Vector getURI()
Gets the list of URIs associated with the i-service object


getDateExpired

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


setDateExpired

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


fromXML

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

Parameters:
root - root node for an EppResponseDataCreateXriService object in XML format
Returns:
an EppResponseDataCreateXriService 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 EppResponseDataCreateXriService object into an XML element.

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

EPP 0.4.9

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