com.neulevel.epp.core.command
Class EppCommandRenew
java.lang.Object
|
+--com.neulevel.epp.core.EppEntity
|
+--com.neulevel.epp.core.command.EppCommand
|
+--com.neulevel.epp.core.command.EppCommandRenew
- Direct Known Subclasses:
- EppCommandRenewDomain
- public abstract class EppCommandRenew
- extends EppCommand
This EppCommandRenew
class implements EPP Command Renew
entity.
- Version:
- $Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $
- Author:
- Ning Zhang ning.zhang@neustar.com
Field Summary |
protected java.util.Calendar |
curExpDate
The current expiration date of the registration for the EPP object
to be renewed |
protected EppPeriod |
period
The new registration period for the the EPP object to be renewed |
Method Summary |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandRenew object. |
java.util.Calendar |
getCurrentExpireDate()
Gets the current expiration date of the object to be renewed |
EppPeriod |
getPeriod()
Gets the EppPeriod object containing the period
to be renewed for the object |
void |
setCurrentExpireDate(java.util.Calendar curExpDate)
Sets the current expiration date of the object to be renewed |
void |
setPeriod(EppPeriod period)
Sets the EppPeriod object containing the period
to be renewed for the object |
java.lang.String |
toString()
|
Methods inherited from class com.neulevel.epp.core.command.EppCommand |
check,
create,
delete,
getClientTransactionId,
getCreds,
getUnspec,
info,
renew,
setClientTransactionId,
setCreds,
setUnspec,
toXMLCommon,
toXMLCommon,
toXMLCommon,
toXMLCommon,
transfer,
update |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
curExpDate
protected java.util.Calendar curExpDate
- The current expiration date of the registration for the EPP object
to be renewed
period
protected EppPeriod period
- The new registration period for the the EPP object to be renewed
EppCommandRenew
public EppCommandRenew()
getCurrentExpireDate
public java.util.Calendar getCurrentExpireDate()
- Gets the current expiration date of the object to be renewed
setCurrentExpireDate
public void setCurrentExpireDate(java.util.Calendar curExpDate)
- Sets the current expiration date of the object to be renewed
getPeriod
public EppPeriod getPeriod()
- Gets the
EppPeriod
object containing the period
to be renewed for the object
setPeriod
public void setPeriod(EppPeriod period)
- Sets the
EppPeriod
object containing the period
to be renewed for the object
fromXML
public static EppEntity fromXML(org.w3c.dom.Node root)
- Converts an XML element into an
EppCommandRenew
object.
The caller of this method must make sure that the root node is of an
EPP Command Renew entity.
- Parameters:
root
- root node for an EppCommandRenew
object
in XML format- Returns:
- an
EppCommandRenew
object, or null if the node
is invalid
toString
public java.lang.String toString()
- Overrides:
- toString in class EppEntity
Copyright © 2001 NeuStar, Inc. All Rights Reserved.