com.neulevel.epp.core.response
Class EppResponseDataTransferSvcsub
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.EppResponseDataTransferSvcsub
- public class EppResponseDataTransferSvcsub
- extends EppResponseDataTransfer
This EppResponseDataTransferSvcsub
class implements EPP
Response Data entity for EPP Command Transfer of EPP Svcsub objects.
- Version:
- $Revision$
- 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 |
Method Summary |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an
EppResponseDataTransferSvcsub object. |
java.util.Calendar |
getDateExpired()
Gets the new expiration date of the service subscription object
after the transfer, or null if the transfer request does not
change the expiration date of the service subscription object. |
java.lang.String |
getId()
Gets the id of the EPP Svcsub object |
void |
setDateExpired(java.util.Calendar date)
Sets the new expiration date of the service subscription object
after the transfer. |
void |
setId(java.lang.String id)
Sets the id of the EPP Svcsub Object |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppResponseDataTransferSvcsub 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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
EppResponseDataTransferSvcsub
public EppResponseDataTransferSvcsub(java.lang.String id)
- Creates an
EppResponseDataTransferSvcsub
object
getId
public java.lang.String getId()
- Gets the id of the EPP Svcsub object
setId
public void setId(java.lang.String id)
- Sets the id of the EPP Svcsub Object
getDateExpired
public java.util.Calendar getDateExpired()
- Gets the new expiration date of the service subscription object
after the transfer, or null if the transfer request does not
change the expiration date of the service subscription object.
setDateExpired
public void setDateExpired(java.util.Calendar date)
- Sets the new expiration date of the service subscription object
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
EppResponseDataTransferSvcsub
object into
an XML element
- Overrides:
- toXML in class EppEntity
- Parameters:
doc
- the XML Document
objecttag
- the tag/element name for the
EppResponseDataTransferSvcsub
object- Returns:
- an
Element
object
fromXML
public static EppEntity fromXML(org.w3c.dom.Node root)
- Converts an XML element into an
EppResponseDataTransferSvcsub
object. The caller of
this method must make sure that the root node is of an EPP Response
Transfer entity for EPP Svcsub object.
- Parameters:
root
- root node for an
EppResponseDataTransferSvcsub
object in XML format- Returns:
- an
EppResponseDataTransferSvcsub
object, or null
if the node is invalid
Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.