com.verisign.epp.codec.reseller
Class EPPResellerCreateResp

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

public class EPPResellerCreateResp
extends EPPResponse

Represents an EPP Internationalized Domain Name (IDN) Table <info> response, which support three different forms:


EPPResellerInfoCmd is the concrete EPPCommand associated with EPPResellerInfoCmd.

See Also:
EPPResellerCreateResp, Serialized Form

Field Summary
static java.lang.String ELM_LOCALNAME
          XML local name for EPPResellerCreateResp.
static java.lang.String ELM_NAME
          XML root tag for EPPResellerCreateResp.
 
Fields inherited from class com.verisign.epp.codec.gen.EPPResponse
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED
 
Constructor Summary
EPPResellerCreateResp()
          EPPResellerCreateResp default constructor.
EPPResellerCreateResp(EPPTransId aTransId)
          EPPResellerCreateResp constructor that only takes the transaction identifier.
EPPResellerCreateResp(EPPTransId aTransId, java.lang.String aResellerId, java.util.Date aCreatedDate)
          EPPResellerCreateResp constructor that all attributes as parameters.
 
Method Summary
 java.lang.Object clone()
          Clone EPPResellerCreateResp.
protected  void doDecode(org.w3c.dom.Element aElement)
          Decode the EPPResellerCreateResp 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 EPPResellerCreateResp instance.
 boolean equals(java.lang.Object aObject)
          Compare an instance of EPPResellerCreateResp with this instance.
 java.util.Date getCreatedDate()
           
 java.lang.String getNamespace()
          Gets the EPP command namespace associated with EPPResellerCreateResp.
 java.lang.String getResellerId()
          Gets the reseller identifier.
 java.lang.String getType()
          Gets the EPP response type associated with EPPResellerCreateResp.
 void setCreatedDate(java.util.Date aCreatedDate)
           
 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.EPPResponse
addExtension, decode, encode, getExtension, getExtension, getExtensions, getMessageQueue, getMsgQueue, getMsgQueueCount, getMsgQueueDate, getMsgQueueMsg, getQDate, getResult, getResults, getTransId, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, 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 EPPResellerCreateResp.

See Also:
Constant Field Values

ELM_NAME

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

See Also:
Constant Field Values
Constructor Detail

EPPResellerCreateResp

public EPPResellerCreateResp()
EPPResellerCreateResp default constructor.


EPPResellerCreateResp

public EPPResellerCreateResp(EPPTransId aTransId)
EPPResellerCreateResp constructor that only takes the transaction identifier.

Parameters:
aTransId - Transaction Id associated with response.

EPPResellerCreateResp

public EPPResellerCreateResp(EPPTransId aTransId,
                             java.lang.String aResellerId,
                             java.util.Date aCreatedDate)
EPPResellerCreateResp constructor that all attributes as parameters.

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

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

getCreatedDate

public java.util.Date getCreatedDate()
Returns:
the createdDate

setCreatedDate

public void setCreatedDate(java.util.Date aCreatedDate)
Parameters:
aCreatedDate - the createdDate to set

doEncode

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

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

doDecode

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

Overrides:
doDecode in class EPPResponse
Parameters:
aElement - Root DOM Element to decode EPPResellerCreateResp from.
Throws:
EPPDecodeException - Unable to decode aElement

clone

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

Specified by:
clone in interface EPPCodecComponent
Overrides:
clone in class EPPResponse
Returns:
clone of EPPResellerCreateResp
Throws:
java.lang.CloneNotSupportedException - standard Object.clone exception

getType

public java.lang.String getType()
Gets the EPP response type associated with EPPResellerCreateResp.

Overrides:
getType in class EPPResponse
Returns:
EPPResellerCreateResp.ELM_NAME

getNamespace

public java.lang.String getNamespace()
Gets the EPP command namespace associated with EPPResellerCreateResp.

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

equals

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

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

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 EPPResponse
Returns:
Indented XML String if successful; ERROR otherwise.


Copyright © VeriSign Inc. All Rights Reserved.