com.verisign.epp.codec.reseller
Class EPPResellerInfoResp

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

public class EPPResellerInfoResp
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:
EPPResellerInfoResp, Serialized Form

Field Summary
static java.lang.String ELM_LOCALNAME
          XML local name for EPPResellerInfoResp.
static java.lang.String ELM_NAME
          XML root tag for EPPResellerInfoResp.
 
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
EPPResellerInfoResp()
          EPPResellerInfoResp default constructor.
EPPResellerInfoResp(EPPTransId aTransId)
          EPPResellerInfoResp constructor that only takes the transaction identifier.
EPPResellerInfoResp(EPPTransId aTransId, java.lang.String aResellerId)
          EPPResellerInfoResp constructor that only takes the transaction identifier and the reseller identifier.
 
Method Summary
 void addContact(EPPResellerContact aContact)
          Adds a contact to the list of contacts.
 void addPostalInfo(EPPResellerPostalDefinition aPostalInfo)
          Adds a postal definition to the postal information for the reseller.
 java.lang.Object clone()
          Clone EPPResellerInfoResp.
protected  void doDecode(org.w3c.dom.Element aElement)
          Decode the EPPResellerInfoResp 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 EPPResellerInfoResp instance.
 boolean equals(java.lang.Object aObject)
          Compare an instance of EPPResellerInfoResp with this instance.
 java.lang.String getClientId()
           
 java.util.List<EPPResellerContact> getContacts()
           
 java.lang.String getCreatedBy()
           
 java.util.Date getCreatedDate()
           
 EPPResellerDisclose getDisclose()
           
 java.lang.String getEmail()
           
 java.lang.String getFax()
           
 java.lang.String getFaxExt()
           
 java.lang.String getLastUpdatedBy()
           
 java.util.Date getLastUpdatedDate()
          Gets the last updated date.
 java.lang.String getNamespace()
          Gets the EPP command namespace associated with EPPResellerInfoResp.
 java.lang.String getParentId()
           
 java.util.List<EPPResellerPostalDefinition> getPostalInfo()
          Gets the postal information for the reseller.
 java.lang.String getResellerId()
          Gets the reseller identifier.
 java.lang.String getRoid()
           
 State getState()
          Gets the operational state of the reseller.
 java.lang.String getType()
          Gets the EPP response type associated with EPPResellerInfoResp.
 java.lang.String getUrl()
          Gets the URL of the website of the reseller.
 java.lang.String getVoice()
           
 java.lang.String getVoiceExt()
           
 boolean hasContacts()
          Is there any contacts set?
 boolean hasPostalInfo()
          Is there any postal information set?
 void setClientId(java.lang.String aClientId)
           
 void setContacts(java.util.List<EPPResellerContact> aContacts)
           
 void setCreatedBy(java.lang.String aCreatedBy)
           
 void setCreatedDate(java.util.Date aCreatedDate)
           
 void setDisclose(EPPResellerDisclose aDisclose)
           
 void setEmail(java.lang.String aEmail)
           
 void setFax(java.lang.String aFax)
           
 void setFaxExt(java.lang.String aFaxExt)
           
 void setLastUpdatedBy(java.lang.String aLastUpdatedBy)
           
 void setLastUpdatedDate(java.util.Date aLastUpdatedDate)
          Sets the last updated date.
 void setParentId(java.lang.String aParentId)
           
 void setPostalInfo(java.util.List<EPPResellerPostalDefinition> aPostalInfo)
          Sets the postal information for the reseller.
 void setResellerId(java.lang.String aResellerId)
          Sets the reseller identifier.
 void setRoid(java.lang.String aRoid)
           
 void setState(State aState)
          Sets the operational state of the reseller.
 void setUrl(java.lang.String aUrl)
          Sets the URL of the website of the reseller.
 void setVoice(java.lang.String aVoice)
           
 void setVoiceExt(java.lang.String aVoiceExt)
           
 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 EPPResellerInfoResp.

See Also:
Constant Field Values

ELM_NAME

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

See Also:
Constant Field Values
Constructor Detail

EPPResellerInfoResp

public EPPResellerInfoResp()
EPPResellerInfoResp default constructor.


EPPResellerInfoResp

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

Parameters:
aTransId - Transaction Id associated with response.

EPPResellerInfoResp

public EPPResellerInfoResp(EPPTransId aTransId,
                           java.lang.String aResellerId)
EPPResellerInfoResp constructor that only 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

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

getRoid

public java.lang.String getRoid()
Returns:
the roid

setRoid

public void setRoid(java.lang.String aRoid)
Parameters:
aRoid - the roid to set

getState

public State getState()
Gets the operational state of the reseller.

Returns:
Operational state

setState

public void setState(State aState)
Sets the operational state of the reseller.

Parameters:
aState - Operation state

getParentId

public java.lang.String getParentId()
Returns:
the parentId

setParentId

public void setParentId(java.lang.String aParentId)
Parameters:
aParentId - the parentId to set

hasPostalInfo

public boolean hasPostalInfo()
Is there any postal information set?

Returns:
true if there is at least one EPPResellerPostalDefinition set in the postal information; false otherwise.

addPostalInfo

public void addPostalInfo(EPPResellerPostalDefinition aPostalInfo)
Adds a postal definition to the postal information for the reseller.

Parameters:
aPostalInfo - Postal definition to add to the postal information.

getPostalInfo

public java.util.List<EPPResellerPostalDefinition> getPostalInfo()
Gets the postal information for the reseller. There can be one or two EPPResellerPostalDefinition objects in the postal information list.

Returns:
Postal information for the reseller

setPostalInfo

public void setPostalInfo(java.util.List<EPPResellerPostalDefinition> aPostalInfo)
Sets the postal information for the reseller. There can be one or two EPPResellerPostalDefinition objects in the postal information list.

Parameters:
aPostalInfo - Postal information for the reseller.

getVoice

public java.lang.String getVoice()
Returns:
the voice

setVoice

public void setVoice(java.lang.String aVoice)
Parameters:
aVoice - the voice to set

getVoiceExt

public java.lang.String getVoiceExt()
Returns:
the voiceExt

setVoiceExt

public void setVoiceExt(java.lang.String aVoiceExt)
Parameters:
aVoiceExt - the voiceExt to set

getFax

public java.lang.String getFax()
Returns:
the fax

setFax

public void setFax(java.lang.String aFax)
Parameters:
aFax - the fax to set

getFaxExt

public java.lang.String getFaxExt()
Returns:
the faxExt

setFaxExt

public void setFaxExt(java.lang.String aFaxExt)
Parameters:
aFaxExt - the faxExt to set

getEmail

public java.lang.String getEmail()
Returns:
the email

setEmail

public void setEmail(java.lang.String aEmail)
Parameters:
aEmail - the email to set

getUrl

public java.lang.String getUrl()
Gets the URL of the website of the reseller.

Returns:
URL of the website of the reseller.

setUrl

public void setUrl(java.lang.String aUrl)
Sets the URL of the website of the reseller.

Parameters:
aUrl - URL of the website of the reseller.

hasContacts

public boolean hasContacts()
Is there any contacts set?

Returns:
true if there is at least one EPPResellerContact set; false otherwise.

addContact

public void addContact(EPPResellerContact aContact)
Adds a contact to the list of contacts.

Parameters:
aContact - Contact add to the list of contacts.

getContacts

public java.util.List<EPPResellerContact> getContacts()
Returns:
the contacts

setContacts

public void setContacts(java.util.List<EPPResellerContact> aContacts)
Parameters:
aContacts - the contacts to set

getClientId

public java.lang.String getClientId()
Returns:
the clientId

setClientId

public void setClientId(java.lang.String aClientId)
Parameters:
aClientId - the clientId to set

getCreatedBy

public java.lang.String getCreatedBy()
Returns:
the createdBy

setCreatedBy

public void setCreatedBy(java.lang.String aCreatedBy)
Parameters:
aCreatedBy - the createdBy to set

getCreatedDate

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

setCreatedDate

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

getLastUpdatedBy

public java.lang.String getLastUpdatedBy()
Returns:
the lastUpdatedBy

setLastUpdatedBy

public void setLastUpdatedBy(java.lang.String aLastUpdatedBy)
Parameters:
aLastUpdatedBy - the lastUpdatedBy to set

getLastUpdatedDate

public java.util.Date getLastUpdatedDate()
Gets the last updated date.

Returns:
the lastUpdatedDate Last updated date if set; null otherwise.

setLastUpdatedDate

public void setLastUpdatedDate(java.util.Date aLastUpdatedDate)
Sets the last updated date.

Parameters:
aLastUpdatedDate - Last updated date and time

getDisclose

public EPPResellerDisclose getDisclose()
Returns:
the disclose

setDisclose

public void setDisclose(EPPResellerDisclose aDisclose)
Parameters:
aDisclose - the disclose 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 EPPResellerInfoResp 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 EPPResellerInfoResp instance.
Throws:
EPPEncodeException - Unable to encode EPPResellerInfoResp instance.

doDecode

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

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

clone

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

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

getType

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

Overrides:
getType in class EPPResponse
Returns:
EPPResellerInfoResp.ELM_NAME

getNamespace

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

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 EPPResellerInfoResp 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.