public class EPPNameWatchCreateCmd extends EPPCreateCmd
getName and
setName to get and set the element.
getPeriod and
setPeriod to get and set the element. If return
null, period has not been specified yet.
getServers and
setServers to get and set the elements.
getRegistrant and setRegistrant to get and
set the elements.
getContacts and setContacts to get and set
the elements. Contacts should only be specified if the Contact Mapping
is supported.
EPPNameWatchCreateResp is the concrete EPPReponse
associated with EPPNameWatchCreateCmd. EPPNameWatchCreateResp,
Serialized Formextensions, 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 and Description |
|---|
EPPNameWatchCreateCmd()
Allocates a new
EPPNameWatchCreateCmd with default
attribute values. |
EPPNameWatchCreateCmd(java.lang.String aTransId,
java.lang.String aName)
Allocates a new
EPPNameWatchCreateCmd with default
attribute values. |
EPPNameWatchCreateCmd(java.lang.String aTransId,
java.lang.String aName,
java.lang.String aRegistrant,
EPPNameWatchRptTo aRptTo,
EPPAuthInfo aAuthInfo)
Allocates a new
EPPNameWatchCreateCmd with a nameWatch
name. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPNameWatchCreateCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPNameWatchCreateCmd 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
EPPNameWatchCreateCmd instance.
|
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPNameWatchCreateCmd with this
instance. |
EPPAuthInfo |
getAuthInfo()
Get authorization information
|
java.lang.String |
getName()
Gets NameWatch name.
|
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with EPPNameWatchCreateCmd.
|
EPPNameWatchPeriod |
getPeriod()
Get NameWatch period.
|
java.lang.String |
getRegistrant()
Get registrant.
|
EPPNameWatchRptTo |
getRptTo()
Gets NameWatch report to specification, which includes the e-mail
address and the frequency.
|
void |
setAuthInfo(EPPAuthInfo newAuthInfo)
Set authorization information
|
void |
setName(java.lang.String aName)
Sets NameWatch name.
|
void |
setPeriod(EPPNameWatchPeriod newPeriod)
Set NameWatch period.
|
void |
setRegistrant(java.lang.String newRegistrant)
Set registrant.
|
void |
setRptTo(EPPNameWatchRptTo aRptTo)
Sets NameWatch Report to specification, which includes the e-mail
address and frequency.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
doGenDecode, doGenEncode, getTypeaddExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransIdpublic EPPNameWatchCreateCmd()
EPPNameWatchCreateCmd with default
attribute values. the defaults include the following: null
null
null
null
encode.public EPPNameWatchCreateCmd(java.lang.String aTransId,
java.lang.String aName)
EPPNameWatchCreateCmd with default
attribute values. the defaults include the following: null
null
null
null
encode.aTransId - DOCUMENT ME!aName - DOCUMENT ME!public EPPNameWatchCreateCmd(java.lang.String aTransId,
java.lang.String aName,
java.lang.String aRegistrant,
EPPNameWatchRptTo aRptTo,
EPPAuthInfo aAuthInfo)
EPPNameWatchCreateCmd with a nameWatch
name. The other attributes are initialized as follows: aTransId - Transaction Id associated with command.aName - NameWatch nameaRegistrant - NameWatch registrantaRptTo - EPPNameWatchRptTo rptToaAuthInfo - EPPAuthInfo authorization informationpublic java.lang.String getNamespace()
getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPNameWatchMapFactory.NSpublic java.lang.String getName()
public void setName(java.lang.String aName)
aName - NameWatch Namepublic EPPNameWatchRptTo getRptTo()
null otherwise.public void setRptTo(EPPNameWatchRptTo aRptTo)
aRptTo - to specification.public EPPNameWatchPeriod getPeriod()
null otherwise.public void setPeriod(EPPNameWatchPeriod newPeriod)
newPeriod - NameWatch periodpublic boolean equals(java.lang.Object aObject)
EPPNameWatchCreateCmd with this
instance.equals in class EPPCreateCmdaObject - Object to compare with.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPNameWatchCreateCmd.clone in interface EPPCodecComponentclone in class EPPCommandEPPNameWatchCreateCmdjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic 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.public EPPAuthInfo getAuthInfo()
public java.lang.String getRegistrant()
public void setAuthInfo(EPPAuthInfo newAuthInfo)
newAuthInfo - EPPAuthInfopublic void setRegistrant(java.lang.String newRegistrant)
newRegistrant - NameWatch registrantprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
doEncode in class EPPCreateCmdaDocument - DOM Document that is being built. Used as an Element
factory.EPPEncodeException - Unable to encode EPPNameWatchCreateCmd
instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
doDecode in class EPPCreateCmdaElement - Root DOM Element to decode EPPNameWatchCreateCmd from.EPPDecodeException - Unable to decode aElementCopyright © VeriSign Inc. All Rights Reserved.