com.verisign.epp.codec.reseller
Class EPPResellerDeleteCmd

java.lang.Object
  extended by com.verisign.epp.codec.gen.EPPCommand
      extended by com.verisign.epp.codec.gen.EPPDeleteCmd
          extended by com.verisign.epp.codec.reseller.EPPResellerDeleteCmd
All Implemented Interfaces:
EPPCodecComponent, EPPMessage, java.io.Serializable, java.lang.Cloneable

public class EPPResellerDeleteCmd
extends EPPDeleteCmd

Command used to delete a reseller object.

See Also:
Serialized Form

Field Summary
static java.lang.String ELM_LOCALNAME
          XML local name for EPPResellerDeleteCmd.
static java.lang.String ELM_NAME
          XML root tag for EPPResellerDeleteCmd.
 
Fields inherited from class com.verisign.epp.codec.gen.EPPCommand
extensions, OP_APPROVE, OP_CANCEL, OP_QUERY, OP_REJECT, OP_REQUEST, transId, TYPE_CHECK, TYPE_CREATE, TYPE_DELETE, TYPE_INFO, TYPE_LOGIN, TYPE_LOGOUT, TYPE_POLL, TYPE_RENEW, TYPE_TRANSFER, TYPE_UPDATE
 
Constructor Summary
EPPResellerDeleteCmd()
          EPPResellerDeleteCmd default constructor.
EPPResellerDeleteCmd(java.lang.String aTransId)
          EPPResellerDeleteCmd constructor that only takes the client transaction identifier
EPPResellerDeleteCmd(java.lang.String aTransId, java.lang.String aResellerId)
          EPPResellerDeleteCmd constructor that takes the transaction identifier and the reseller identifier.
 
Method Summary
 java.lang.Object clone()
          Clone EPPResellerDeleteCmd.
protected  void doDecode(org.w3c.dom.Element aElement)
          Decode the EPPResellerDeleteCmd attributes from the aElement DOM Element tree.
protected  org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
          Encode a DOM Element tree from the attributes of the EPPResellerDeleteCmd instance.
 boolean equals(java.lang.Object aObject)
          Compare an instance of EPPResellerDeleteCmd with this instance.
 java.lang.String getNamespace()
          Gets the EPP command Namespace associated with EPPResellerDeleteCmd.
 java.lang.String getResellerId()
          Gets the reseller identifier.
 void setResellerId(java.lang.String aResellerId)
          Sets the reseller identifier.
 java.lang.String toString()
          Implementation of Object.toString, which will result in an indented XML String representation of the concrete EPPCodecComponent.
 
Methods inherited from class com.verisign.epp.codec.gen.EPPDeleteCmd
doGenDecode, doGenEncode, getType
 
Methods inherited from class com.verisign.epp.codec.gen.EPPCommand
addExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ELM_LOCALNAME

public static final java.lang.String ELM_LOCALNAME
XML local name for EPPResellerDeleteCmd.

See Also:
Constant Field Values

ELM_NAME

public static final java.lang.String ELM_NAME
XML root tag for EPPResellerDeleteCmd.

See Also:
Constant Field Values
Constructor Detail

EPPResellerDeleteCmd

public EPPResellerDeleteCmd()
EPPResellerDeleteCmd default constructor.


EPPResellerDeleteCmd

public EPPResellerDeleteCmd(java.lang.String aTransId)
EPPResellerDeleteCmd constructor that only takes the client transaction identifier

Parameters:
aTransId - Transaction Id associated with command.

EPPResellerDeleteCmd

public EPPResellerDeleteCmd(java.lang.String aTransId,
                            java.lang.String aResellerId)
EPPResellerDeleteCmd constructor that takes the transaction identifier and the reseller identifier.

Parameters:
aTransId - Transaction Id associated with command. Set to null if a client transaction identifier is not desired.
aResellerId - Reseller identifier
Method Detail

getNamespace

public java.lang.String getNamespace()
Gets the EPP command Namespace associated with EPPResellerDeleteCmd.

Specified by:
getNamespace in interface EPPMessage
Specified by:
getNamespace in class EPPCommand
Returns:
EPPResellerMapFactory.NS

getResellerId

public java.lang.String getResellerId()
Gets the reseller identifier.

Returns:
The reseller identifier if defined;null otherwise.

setResellerId

public void setResellerId(java.lang.String aResellerId)
Sets the reseller identifier.

Parameters:
aResellerId - The reseller identifier

doEncode

protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
                                throws EPPEncodeException
Encode a DOM Element tree from the attributes of the EPPResellerDeleteCmd instance.

Specified by:
doEncode in class EPPDeleteCmd
Parameters:
aDocument - DOM Document that is being built. Used as an Element factory.
Returns:
Element Root DOM Element representing the EPPResellerDeleteCmd instance.
Throws:
EPPEncodeException - Unable to encode EPPResellerDeleteCmd instance.

doDecode

protected void doDecode(org.w3c.dom.Element aElement)
                 throws EPPDecodeException
Decode the EPPResellerDeleteCmd attributes from the aElement DOM Element tree.

Specified by:
doDecode in class EPPDeleteCmd
Parameters:
aElement - Root DOM Element to decode EPPResellerDeleteCmd from.
Throws:
EPPDecodeException - Unable to decode aElement

equals

public boolean equals(java.lang.Object aObject)
Compare an instance of EPPResellerDeleteCmd with this instance.

Overrides:
equals in class EPPDeleteCmd
Parameters:
aObject - Object to compare with.
Returns:
true if this object is the same as the aObject argument; false otherwise.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone EPPResellerDeleteCmd.

Specified by:
clone in interface EPPCodecComponent
Overrides:
clone in class EPPCommand
Returns:
Deep copy clone of EPPResellerDeleteCmd
Throws:
java.lang.CloneNotSupportedException - standard Object.clone exception

toString

public java.lang.String toString()
Implementation of Object.toString, which will result in an indented XML String representation of the concrete EPPCodecComponent.

Overrides:
toString in class EPPCommand
Returns:
Indented XML String if successful; ERROR otherwise.


Copyright © VeriSign Inc. All Rights Reserved.