EPP 0.4.9

com.neulevel.epp.xri.command
Class EppCommandTransferXriName

java.lang.Object
  extended by com.neulevel.epp.core.EppEntity
      extended by com.neulevel.epp.core.command.EppCommand
          extended by com.neulevel.epp.core.command.EppCommandTransfer
              extended by com.neulevel.epp.xri.command.EppCommandTransferXriName
All Implemented Interfaces:
EppPollable

public class EppCommandTransferXriName
extends EppCommandTransfer

This EppCommandTransferXriName class implements EPP Command Transfer entity for 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.command.EppCommandTransfer
authInfo, op, OPTYPE_APPROVE, OPTYPE_CANCEL, OPTYPE_QUERY, OPTYPE_REJECT, OPTYPE_REQUEST
 
Fields inherited from class com.neulevel.epp.core.command.EppCommand
clTRID, creds, extension
 
Constructor Summary
EppCommandTransferXriName(java.lang.String iname)
          Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name
EppCommandTransferXriName(java.lang.String iname, EppPeriod period)
          Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name, and an extended expiration period
EppCommandTransferXriName(java.lang.String iname, EppPeriod period, java.lang.String xid)
          Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name, with an extended expiration period and a client transaction id associated with operation
EppCommandTransferXriName(java.lang.String iname, EppPeriod period, java.lang.String trToken, java.lang.String xid)
          Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name, with an extended expiration period, a transfer token and a client transaction id associated with operation
EppCommandTransferXriName(java.lang.String iname, java.lang.String xid)
          Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name given a client transaction id associated with operation
EppCommandTransferXriName(java.lang.String iname, java.lang.String trToken, java.lang.String xid)
          Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name, a client transaction id associated with operation and with a transfer token
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandTransferXriName object.
 java.lang.String getIName()
          Gets the i-name of the XRI i-name object to be transferred
 EppPeriod getPeriod()
          Gets the extended registration period of the XRI I-Name object to be transferred
 EppAuthInfo getTargetAuthInfo()
          Gets the target XRI authority authInfo
 java.lang.String getTargetAuthorityId()
          Gets the target XRI authority identifier
 java.lang.String getTransferToken()
          Gets the transfer token for the transfer operation
 void setIName(java.lang.String iname)
          Sets the i-name of the XRI i-name object to be transferred
 void setPeriod(EppPeriod period)
          Sets the extended registration period of the XRI I-Name object to be transferred
 void setTarget(java.lang.String authId, EppAuthInfo authInfo)
          Sets the identifier and authInfo of the target XRI i-name involved in XRI i-name transfer operation
 void setTransferToken(java.lang.String trToken)
          Sets the transfer token for the transfer operation
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandTransferXriName object into an XML element
 org.w3c.dom.Element toXMLPoll(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandTransferXriName object into an XML element for an EppPollable object
 
Methods inherited from class com.neulevel.epp.core.command.EppCommandTransfer
fromXMLPoll, getAuthInfo, getOperation, setAuthInfo, setOperation, toString
 
Methods inherited from class com.neulevel.epp.core.command.EppCommand
addExtension, addExtension, check, create, delete, getClientTransactionId, getCreds, getExtension, getUnspec, info, renew, setClientTransactionId, setCreds, setUnspec, toXMLCommon, toXMLCommon, toXMLCommon, toXMLCommon, transfer, update
 
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

EppCommandTransferXriName

public EppCommandTransferXriName(java.lang.String iname)
Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name


EppCommandTransferXriName

public EppCommandTransferXriName(java.lang.String iname,
                                 java.lang.String xid)
Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name given a client transaction id associated with operation


EppCommandTransferXriName

public EppCommandTransferXriName(java.lang.String iname,
                                 java.lang.String trToken,
                                 java.lang.String xid)
Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name, a client transaction id associated with operation and with a transfer token


EppCommandTransferXriName

public EppCommandTransferXriName(java.lang.String iname,
                                 EppPeriod period)
Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name, and an extended expiration period


EppCommandTransferXriName

public EppCommandTransferXriName(java.lang.String iname,
                                 EppPeriod period,
                                 java.lang.String xid)
Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name, with an extended expiration period and a client transaction id associated with operation


EppCommandTransferXriName

public EppCommandTransferXriName(java.lang.String iname,
                                 EppPeriod period,
                                 java.lang.String trToken,
                                 java.lang.String xid)
Creates an EppCommandTransferXriName object for transfering an XRI i-name object based on its i-name, with an extended expiration period, a transfer token and a client transaction id associated with operation

Method Detail

getIName

public java.lang.String getIName()
Gets the i-name of the XRI i-name object to be transferred


setIName

public void setIName(java.lang.String iname)
Sets the i-name of the XRI i-name object to be transferred


getTransferToken

public java.lang.String getTransferToken()
Gets the transfer token for the transfer operation


setTransferToken

public void setTransferToken(java.lang.String trToken)
Sets the transfer token for the transfer operation


getTargetAuthorityId

public java.lang.String getTargetAuthorityId()
Gets the target XRI authority identifier


getTargetAuthInfo

public EppAuthInfo getTargetAuthInfo()
Gets the target XRI authority authInfo


setTarget

public void setTarget(java.lang.String authId,
                      EppAuthInfo authInfo)
Sets the identifier and authInfo of the target XRI i-name involved in XRI i-name transfer operation


getPeriod

public EppPeriod getPeriod()
Gets the extended registration period of the XRI I-Name object to be transferred


setPeriod

public void setPeriod(EppPeriod period)
Sets the extended registration period of the XRI I-Name object to be transferred


toXMLPoll

public org.w3c.dom.Element toXMLPoll(org.w3c.dom.Document doc,
                                     java.lang.String tag)
Converts the EppCommandTransferXriName object into an XML element for an EppPollable object

Parameters:
doc - the XML Document object
tag - the tag/element name for the EppCommandTransferXriName object
Returns:
an Element object

toXML

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

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

fromXML

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

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

EPP 0.4.9

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