|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPInfoCmd
com.verisign.epp.codec.whowas.EPPWhoWasInfoCmd
public class EPPWhoWasInfoCmd
Represents an EPP WhoWas <info> command that is used to retrieve
history information based on the supplied entity identifier or entity name.
The <whowas:info> element MUST contain the following child elements:
EPPWhoWasInfoResp is the concrete
EPPResponse associated with
EPPWhoWasInfoCmd.
EPPWhoWasInfoResp,
Serialized Form| Field Summary |
|---|
| 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 | |
|---|---|
EPPWhoWasInfoCmd()
Default constructor |
|
EPPWhoWasInfoCmd(java.lang.String aTransId)
This constructor calls the super EPPInfoCmd(String) method to
set the transaction id for the command with default type of EPPWhoWasConstants.TYPE_DOMAIN. |
|
EPPWhoWasInfoCmd(java.lang.String aTransId,
java.lang.String aWhoWasType)
Creates an EPPWhoWasInfoCmd only the transaction id and type set. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPWhoWasInfoCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPWhoWasInfoCmd 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 EPPWhoWasInfoCmd instance. |
boolean |
equals(java.lang.Object o)
Compare an instance of EPPWhoWasInfoCmd with this instance. |
java.lang.String |
getName()
Returns the name. |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with EPPWhoWasInfoCmd. |
java.lang.String |
getRoid()
Returns the Registry Object IDentifier (roid). |
java.lang.String |
getWhowasType()
Returns the whowasType |
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.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 |
| Constructor Detail |
|---|
public EPPWhoWasInfoCmd()
public EPPWhoWasInfoCmd(java.lang.String aTransId)
EPPInfoCmd(String) method to
set the transaction id for the command with default type of EPPWhoWasConstants.TYPE_DOMAIN.
aTransId - Transaction Id associated with command.
public EPPWhoWasInfoCmd(java.lang.String aTransId,
java.lang.String aWhoWasType)
EPPWhoWasInfoCmd only the transaction id and type set.
Either name or roid attributes must be set prior
to calling encode .
aTransId - Transaction Id associated with command.aWhoWasType - The entity WhoWas type| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPWhoWasInfoCmd.
clone in interface EPPCodecComponentclone in class EPPCommandEPPWhoWasInfoCmd.
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object o)
EPPWhoWasInfoCmd with this instance.
equals in class EPPInfoCmdo - Object to compare with.
public java.lang.String getNamespace()
EPPWhoWasInfoCmd.
getNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPWhoWasMapFactory.NSpublic java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.
toString in class EPPCommandString if successful; ERROR
otherwise.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPWhoWasInfoCmd attributes from the aElement DOM
Element tree.
doDecode in class EPPInfoCmdaElement - Root DOM Element to decode EPPWhoWasInfoCmd from.
EPPDecodeException - Unable to decode aElement
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPWhoWasInfoCmd instance.
doEncode in class EPPInfoCmdaDocument - DOM Document that is being built. Used as an Element factory.
EPPWhoWasInfoCmd
instance.
EPPEncodeException - Unable to encode EPPWhoWasInfoCmd instance.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 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 | |||||||||