EPP 0.2.5

com.neulevel.epp.core.command
Class EppCommandTransfer

java.lang.Object
  |
  +--com.neulevel.epp.core.EppEntity
        |
        +--com.neulevel.epp.core.command.EppCommand
              |
              +--com.neulevel.epp.core.command.EppCommandTransfer
Direct Known Subclasses:
EppCommandTransferContact, EppCommandTransferDomain, EppCommandTransferSvcsub

public abstract class EppCommandTransfer
extends EppCommand
implements EppPollable

This EppCommandTransfer class implements EPP Command Transfer entity.

Version:
$Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $
Author:
Ning Zhang ning.zhang@neustar.com

Field Summary
protected  EppAuthInfo authInfo
          The authorization information associated with the transfer operation
protected  java.lang.String op
          The type of the transfer operation
static java.lang.String OPTYPE_APPROVE
          Transfer operation type for approving a transfer request
static java.lang.String OPTYPE_CANCEL
          Transfer operation type for canceling a transfer request
static java.lang.String OPTYPE_QUERY
          Transfer operation type for querying the status of a transfer request
static java.lang.String OPTYPE_REJECT
          Transfer operation type for rejecting a transfer request
static java.lang.String OPTYPE_REQUEST
          Transfer operation type for requesting an object transfer
 
Fields inherited from class com.neulevel.epp.core.command.EppCommand
clTRID, creds, unspec
 
Constructor Summary
EppCommandTransfer()
           
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandTransfer object.
static EppEntity fromXMLPoll(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandTransfer object.
 EppAuthInfo getAuthInfo()
          Gets the authorization info for the transfer operation
 java.lang.String getOperation()
          Gets the operation related to the transfer.
 void setAuthInfo(EppAuthInfo authInfo)
          Sets the authorization info for the transfer operation
 void setOperation(java.lang.String operation)
          Sets the operation related to the transfer.
 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 com.neulevel.epp.core.EppEntity
toString, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OPTYPE_APPROVE

public static final java.lang.String OPTYPE_APPROVE
Transfer operation type for approving a transfer request

OPTYPE_CANCEL

public static final java.lang.String OPTYPE_CANCEL
Transfer operation type for canceling a transfer request

OPTYPE_QUERY

public static final java.lang.String OPTYPE_QUERY
Transfer operation type for querying the status of a transfer request

OPTYPE_REJECT

public static final java.lang.String OPTYPE_REJECT
Transfer operation type for rejecting a transfer request

OPTYPE_REQUEST

public static final java.lang.String OPTYPE_REQUEST
Transfer operation type for requesting an object transfer

op

protected java.lang.String op
The type of the transfer operation

authInfo

protected EppAuthInfo authInfo
The authorization information associated with the transfer operation
Constructor Detail

EppCommandTransfer

public EppCommandTransfer()
Method Detail

getAuthInfo

public EppAuthInfo getAuthInfo()
Gets the authorization info for the transfer operation

setAuthInfo

public void setAuthInfo(EppAuthInfo authInfo)
Sets the authorization info for the transfer operation

getOperation

public java.lang.String getOperation()
Gets the operation related to the transfer.

setOperation

public void setOperation(java.lang.String operation)
Sets the operation related to the transfer. Valid operations are:

fromXMLPoll

public static EppEntity fromXMLPoll(org.w3c.dom.Node root)
Converts an XML element into an EppCommandTransfer object. The caller of this method must make sure that the root node is of an EPP Object transferType entity. This method is for the interface defined in EppPollable
Parameters:
root - root node for an EppCommandTransfer object in XML format
Returns:
an EppCommandTransfer object, or null if the node is invalid

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandTransfer object. The caller of this method must make sure that the root node is of an EPP Command Transfer entity.
Parameters:
root - root node for an EppCommandTransfer object in XML format
Returns:
an EppCommandTransfer object, or null if the node is invalid

toString

public java.lang.String toString()
Overrides:
toString in class EppEntity

EPP 0.2.5

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