EPP 0.2.6

com.neulevel.epp.core.response
Class EppResponseDataCreateSvcsub

java.lang.Object
  extended bycom.neulevel.epp.core.EppEntity
      extended bycom.neulevel.epp.core.response.EppResponseData
          extended bycom.neulevel.epp.core.response.EppResponseDataCreate
              extended bycom.neulevel.epp.core.response.EppResponseDataCreateSvcsub

public class EppResponseDataCreateSvcsub
extends EppResponseDataCreate

This EppResponseDataCreateSvcsub class implements EPP Response Data entity for EPP Command Create of EPP Svcsub objects.

Version:
$Revision: 1.1.1.1 $
Author:
Ning Zhang ning.zhang@neustar.com

Field Summary
 
Fields inherited from class com.neulevel.epp.core.response.EppResponseDataCreate
roid
 
Constructor Summary
EppResponseDataCreateSvcsub(java.lang.String id)
          Creates an EppResponseDataCreateSvcsub object
EppResponseDataCreateSvcsub(java.lang.String id, java.util.Calendar exDate)
          Creates an EppResponseDataCreateSvcsub object
EppResponseDataCreateSvcsub(java.lang.String id, java.lang.String roid)
          Deprecated. for EPP-04 (06/29/2001)
EppResponseDataCreateSvcsub(java.lang.String id, java.lang.String roid, java.util.Calendar exDate)
          Deprecated. for EPP-04 (06/29/2001)
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppResponseDataCreateSvcsub object.
 java.util.Calendar getDateExpired()
          Gets expiration date of the service subscription object created
 java.lang.String getId()
          Gets the id of the service subscription object created
 void setDateExpired(java.util.Calendar exDate)
          Sets expiration date of the service subscription object created
 void setId(java.lang.String id)
          Sets the id of the service subscription object created
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts an EppResponseDataCreateSvcsub object into an XML element.
 
Methods inherited from class com.neulevel.epp.core.response.EppResponseDataCreate
getRoid, 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

EppResponseDataCreateSvcsub

public EppResponseDataCreateSvcsub(java.lang.String id)
Creates an EppResponseDataCreateSvcsub object

Parameters:
id - the id of the EppSvcsub object created

EppResponseDataCreateSvcsub

public EppResponseDataCreateSvcsub(java.lang.String id,
                                   java.util.Calendar exDate)
Creates an EppResponseDataCreateSvcsub object

Parameters:
id - the id of the EppSvcsub object created
exDate - the expiration date of the EppSvcsub object created

EppResponseDataCreateSvcsub

public EppResponseDataCreateSvcsub(java.lang.String id,
                                   java.lang.String roid)
Deprecated. for EPP-04 (06/29/2001)

Creates an EppResponseDataCreateSvcsub object

Parameters:
id - the id of the EppSvcsub object created
roid - the ROID of the EppSvcsub object created

EppResponseDataCreateSvcsub

public EppResponseDataCreateSvcsub(java.lang.String id,
                                   java.lang.String roid,
                                   java.util.Calendar exDate)
Deprecated. for EPP-04 (06/29/2001)

Creates an EppResponseDataCreateSvcsub object

Parameters:
id - the id of the EppSvcsub object created
roid - the ROID of the EppSvcsub object created
exDate - the expiration date of the EppSvcsub object created
Method Detail

getId

public java.lang.String getId()
Gets the id of the service subscription object created


setId

public void setId(java.lang.String id)
Sets the id of the service subscription object created


getDateExpired

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


setDateExpired

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


fromXML

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

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

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

EPP 0.2.6

Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.