|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.reseller.EPPResellerInfoResp
public class EPPResellerInfoResp
Represents an EPP Internationalized Domain Name (IDN) Table <info>
response, which support three different forms:
EPPResellerInfoCmd
is the concrete EPPCommand
associated with EPPResellerInfoCmd
.
EPPResellerInfoResp
,
Serialized FormField 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 |
---|
public static final java.lang.String ELM_LOCALNAME
EPPResellerInfoResp
.
public static final java.lang.String ELM_NAME
EPPResellerInfoResp
.
Constructor Detail |
---|
public EPPResellerInfoResp()
EPPResellerInfoResp
default constructor.
public EPPResellerInfoResp(EPPTransId aTransId)
EPPResellerInfoResp
constructor that only takes the
transaction identifier.
aTransId
- Transaction Id associated with response.public EPPResellerInfoResp(EPPTransId aTransId, java.lang.String aResellerId)
EPPResellerInfoResp
constructor that only takes the
transaction identifier and the reseller identifier.
aTransId
- Transaction Id associated with command. Set to
null
if a client transaction identifier is not
desired.aResellerId
- Reseller identifierMethod Detail |
---|
public java.lang.String getResellerId()
null
otherwise.public void setResellerId(java.lang.String aResellerId)
aResellerId
- The reseller identifierpublic java.lang.String getRoid()
public void setRoid(java.lang.String aRoid)
aRoid
- the roid to setpublic State getState()
public void setState(State aState)
aState
- Operation statepublic java.lang.String getParentId()
public void setParentId(java.lang.String aParentId)
aParentId
- the parentId to setpublic boolean hasPostalInfo()
true
if there is at least one
EPPResellerPostalDefinition
set in the postal information;
false
otherwise.public void addPostalInfo(EPPResellerPostalDefinition aPostalInfo)
aPostalInfo
- Postal definition to add to the postal information.public java.util.List<EPPResellerPostalDefinition> getPostalInfo()
EPPResellerPostalDefinition
objects in the postal information
list.
public void setPostalInfo(java.util.List<EPPResellerPostalDefinition> aPostalInfo)
EPPResellerPostalDefinition
objects in the postal information
list.
aPostalInfo
- Postal information for the reseller.public java.lang.String getVoice()
public void setVoice(java.lang.String aVoice)
aVoice
- the voice to setpublic java.lang.String getVoiceExt()
public void setVoiceExt(java.lang.String aVoiceExt)
aVoiceExt
- the voiceExt to setpublic java.lang.String getFax()
public void setFax(java.lang.String aFax)
aFax
- the fax to setpublic java.lang.String getFaxExt()
public void setFaxExt(java.lang.String aFaxExt)
aFaxExt
- the faxExt to setpublic java.lang.String getEmail()
public void setEmail(java.lang.String aEmail)
aEmail
- the email to setpublic java.lang.String getUrl()
public void setUrl(java.lang.String aUrl)
aUrl
- URL of the website of the reseller.public boolean hasContacts()
true
if there is at least one
EPPResellerContact
set; false
otherwise.public void addContact(EPPResellerContact aContact)
aContact
- Contact add to the list of contacts.public java.util.List<EPPResellerContact> getContacts()
public void setContacts(java.util.List<EPPResellerContact> aContacts)
aContacts
- the contacts to setpublic java.lang.String getClientId()
public void setClientId(java.lang.String aClientId)
aClientId
- the clientId to setpublic java.lang.String getCreatedBy()
public void setCreatedBy(java.lang.String aCreatedBy)
aCreatedBy
- the createdBy to setpublic java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date aCreatedDate)
aCreatedDate
- the createdDate to setpublic java.lang.String getLastUpdatedBy()
public void setLastUpdatedBy(java.lang.String aLastUpdatedBy)
aLastUpdatedBy
- the lastUpdatedBy to setpublic java.util.Date getLastUpdatedDate()
null
otherwise.public void setLastUpdatedDate(java.util.Date aLastUpdatedDate)
aLastUpdatedDate
- Last updated date and timepublic EPPResellerDisclose getDisclose()
public void setDisclose(EPPResellerDisclose aDisclose)
aDisclose
- the disclose to setprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPResellerInfoResp
instance.
doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPEncodeException
- Unable to encode EPPResellerInfoResp instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPResellerInfoResp
attributes from the aElement
DOM Element tree.
doDecode
in class EPPResponse
aElement
- Root DOM Element to decode EPPResellerInfoResp
from.
EPPDecodeException
- Unable to decode aElementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPResellerInfoResp
.
clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPResellerInfoResp
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String getType()
EPPResellerInfoResp
.
getType
in class EPPResponse
EPPResellerInfoResp.ELM_NAME
public java.lang.String getNamespace()
EPPResellerInfoResp
.
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPResellerMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPResellerInfoResp
with this
instance.
equals
in class EPPResponse
aObject
- Object to compare with.
true
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.
toString
in class EPPResponse
String
if successful;
ERROR
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |