EPP 0.4.9

com.neulevel.epp.xri.command
Class EppCommandTransferXriAuthority

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.EppCommandTransferXriAuthority
All Implemented Interfaces:
EppPollable

public class EppCommandTransferXriAuthority
extends EppCommandTransfer

This EppCommandTransferXriAuthority class implements EPP Command Transfer entity for EPP XRI Authority 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
EppCommandTransferXriAuthority(java.lang.String authId)
          Creates an EppCommandTransferXriAuthority object for transfering an XRI authority object based on its identifier
EppCommandTransferXriAuthority(java.lang.String authId, java.lang.String xid)
          Creates an EppCommandTransferXriAuthority object for transfering an XRI authority object based on its identifier given a client transaction id associated with operation
EppCommandTransferXriAuthority(java.lang.String authId, java.lang.String trToken, java.lang.String xid)
          Creates an EppCommandTransferXriAuthority object for transfering an XRI authority object based on its identifier, 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 EppCommandTransferXriAuthority object.
 java.lang.String getAuthorityId()
          Gets the identifier of the XRI authority object to be transferred
 EppAuthInfo getTargetAuthInfo()
          Sets 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 setAuthorityId(java.lang.String authId)
          Sets the identifier of the XRI authority object to be transferred
 void setTarget(java.lang.String authId, EppAuthInfo authInfo)
          Sets the identifier and authInfo of the target XRI authority involved in XRI authority transfer operation
 void setTargetAuthInfo(EppAuthInfo authInfo)
          Gets the target XRI authority authInfo
 void setTargetAuthorityId(java.lang.String authId)
          Sets the target XRI authority identifier
 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 EppCommandTransferXriAuthority object into an XML element
 org.w3c.dom.Element toXMLPoll(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandTransferXriAuthority 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

EppCommandTransferXriAuthority

public EppCommandTransferXriAuthority(java.lang.String authId)
Creates an EppCommandTransferXriAuthority object for transfering an XRI authority object based on its identifier


EppCommandTransferXriAuthority

public EppCommandTransferXriAuthority(java.lang.String authId,
                                      java.lang.String xid)
Creates an EppCommandTransferXriAuthority object for transfering an XRI authority object based on its identifier given a client transaction id associated with operation


EppCommandTransferXriAuthority

public EppCommandTransferXriAuthority(java.lang.String authId,
                                      java.lang.String trToken,
                                      java.lang.String xid)
Creates an EppCommandTransferXriAuthority object for transfering an XRI authority object based on its identifier, a client transaction id associated with operation and with a transfer token

Method Detail

getAuthorityId

public java.lang.String getAuthorityId()
Gets the identifier of the XRI authority object to be transferred


setAuthorityId

public void setAuthorityId(java.lang.String authId)
Sets the identifier of the XRI authority 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


setTargetAuthorityId

public void setTargetAuthorityId(java.lang.String authId)
Sets the target XRI authority identifier


getTargetAuthInfo

public EppAuthInfo getTargetAuthInfo()
Sets the target XRI authority authInfo


setTargetAuthInfo

public void setTargetAuthInfo(EppAuthInfo authInfo)
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 authority involved in XRI authority transfer operation


toXMLPoll

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

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

toXML

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

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

fromXML

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

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

EPP 0.4.9

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