com.verisign.epp.codec.reseller
Class EPPResellerInfoCmd

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

public class EPPResellerInfoCmd
extends EPPInfoCmd

Command used to retrieve information associated with a reseller object.

See Also:
EPPResellerInfoResp, Serialized Form

Field Summary
static java.lang.String ELM_LOCALNAME
          XML local name for EPPResellerInfoCmd.
static java.lang.String ELM_NAME
          XML root tag for EPPResellerInfoCmd.
 
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
EPPResellerInfoCmd()
          EPPResellerInfoCmd default constructor.
EPPResellerInfoCmd(java.lang.String aTransId)
          EPPResellerInfoCmd constructor that only takes the client transaction identifier
EPPResellerInfoCmd(java.lang.String aTransId, java.lang.String aResellerId)
          EPPResellerInfoCmd constructor that takes the transaction identifier and the reseller identifier.
 
Method Summary
 java.lang.Object clone()
          Clone EPPResellerInfoCmd.
protected  void doDecode(org.w3c.dom.Element aElement)
          Decode the EPPResellerInfoCmd 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 EPPResellerInfoCmd instance.
 boolean equals(java.lang.Object aObject)
          Compare an instance of EPPResellerInfoCmd with this instance.
 java.lang.String getNamespace()
          Gets the EPP command Namespace associated with EPPResellerInfoCmd.
 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.EPPInfoCmd
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 EPPResellerInfoCmd.

See Also:
Constant Field Values

ELM_NAME

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

See Also:
Constant Field Values
Constructor Detail

EPPResellerInfoCmd

public EPPResellerInfoCmd()
EPPResellerInfoCmd default constructor.


EPPResellerInfoCmd

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

Parameters:
aTransId - Transaction Id associated with command.

EPPResellerInfoCmd

public EPPResellerInfoCmd(java.lang.String aTransId,
                          java.lang.String aResellerId)
EPPResellerInfoCmd 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 EPPResellerInfoCmd.

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 EPPResellerInfoCmd instance.

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

doDecode

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

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

equals

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

Overrides:
equals in class EPPInfoCmd
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 EPPResellerInfoCmd.

Specified by:
clone in interface EPPCodecComponent
Overrides:
clone in class EPPCommand
Returns:
Deep copy clone of EPPResellerInfoCmd
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.