|
||||||||||
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.whowas.EPPWhoWasInfoResp
public class EPPWhoWasInfoResp
Represents an EPP WhoWas <whowas:infData> response
EPPWhoWasInfoCmd
. When an <info> command has been processed
successfully, the EPP <resData> element MUST contain a child
<whowas:infData> element that identifies the whowas namespace and the
location of the whowas schema. The <whowas:infData> element contains
the following child elements:
EPPWhoWasInfoCmd
,
Serialized FormField Summary |
---|
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 | |
---|---|
EPPWhoWasInfoResp()
Default constructor that needs the type , either
name or roid attributes and the transid attribute
set prior to calling encode . |
|
EPPWhoWasInfoResp(EPPTransId aTransId)
Creates an EPPWhoWasInfoResp only the transaction id set. |
|
EPPWhoWasInfoResp(EPPTransId aTransId,
java.lang.String aWhoWasType)
Creates an EPPWhoWasInfoResp only the transaction id and type set. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Does a deep clone of the EPPWhoWasInfoResp instance. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPWhoWasInfoResp 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 EPPWhoWasInfoResp instance. |
boolean |
equals(java.lang.Object o)
Compares two EPPWhoWasInfoResp instances. |
EPPWhoWasHistory |
getHistory()
Returns the history |
java.lang.String |
getName()
Returns the name |
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with EPPWhoWasInfoResp . |
java.lang.String |
getRoid()
Returns the Registry Object IDentifier (roid). |
java.lang.String |
getType()
Gets the EPP response type associated with EPPSuggestionInfoResp . |
java.lang.String |
getWhowasType()
Returns the whowasType |
void |
setHistory(EPPWhoWasHistory aHistory)
Sets history value to aHistory . |
void |
setName(java.lang.String aName)
Sets name value to aName . |
void |
setRoid(java.lang.String aRoid)
Sets Registry Object IDentifier (roid) value to aRoid . |
void |
setWhowasType(java.lang.String aWhowasType)
Sets whowasType value to aWhowasType. |
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 |
Constructor Detail |
---|
public EPPWhoWasInfoResp()
type
, either
name
or roid
attributes and the transid attribute
set prior to calling encode
.
public EPPWhoWasInfoResp(EPPTransId aTransId)
EPPWhoWasInfoResp
only the transaction id set. The
type
and either name
or roid
attributes must be set prior to calling encode
.
aTransId
- The transaction id containing the server transaction and optionally
the client transaction idpublic EPPWhoWasInfoResp(EPPTransId aTransId, java.lang.String aWhoWasType)
EPPWhoWasInfoResp
only the transaction id and type set.
Either name
or roid
attributes must be set prior
to calling encode
.
aTransId
- The transaction id containing the server transaction and optionally
the client transaction idaWhoWasType
- The entity WhoWas typeMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPWhoWasInfoResp
instance.
clone
in interface EPPCodecComponent
clone
in class EPPResponse
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object o)
EPPWhoWasInfoResp
instances.
equals
in class EPPResponse
o
- EPPResponse
instance to compare with
true
if equal;false
otherwise.public java.lang.String getNamespace()
EPPWhoWasInfoResp
.
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPWhoWasMapFactory.NS
public 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.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPWhoWasInfoResp
attributes from the aElement DOM
Element tree.
doDecode
in class EPPResponse
aElement
- Root DOM Element to decode EPPWhoWasInfoResp
from.
EPPDecodeException
- Unable to decode aElementprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPWhoWasInfoResp
instance.
doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPWhoWasInfoResp
instance.
EPPEncodeException
- Unable to encode EPPWhoWasInfoResp
instance.public java.lang.String getType()
EPPSuggestionInfoResp
.
getType
in class EPPResponse
EPPSuggestionInfoResp.ELM_NAME
public java.lang.String getName()
public void setName(java.lang.String aName)
aName
.
aName
- the name to setpublic java.lang.String getRoid()
public void setRoid(java.lang.String aRoid)
aRoid
.
aRoid
- the roid to setpublic EPPWhoWasHistory getHistory()
public void setHistory(EPPWhoWasHistory aHistory)
aHistory
.
aHistory
- the history to setpublic java.lang.String getWhowasType()
public void setWhowasType(java.lang.String aWhowasType)
EPPWhoWasConstants.TYPE_DOMAIN
.
aWhowasType
- the whowasType to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |