Package com.verisign.epp.codec.nameWatch
Class EPPNameWatchDeleteCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPDeleteCmd
com.verisign.epp.codec.nameWatch.EPPNameWatchDeleteCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Represents an EPP NameWatch <delete> command that allows a client to
delete a nameWatch object. The EPP <delete> command provides a
transform operation that allows a client to delete a nameWatch object. In
addition to the standard EPP command elements, the <delete> command
MUST contain a "nameWatch:delete" element that identifies the nameWatch
namespace and the location of the nameWatch schema.
-
A <nameWatch:roid> element that contains the fully qualified nameWatch
name of the object to be deleted. Use
getRoidandsetRoidto get and set the element.
EPPReponse is the response associated with
EPPNameWatchDeleteCmd. - See Also:
-
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
ConstructorsConstructorDescriptionEPPNameWatchDeleteCmddefault constructor.EPPNameWatchDeleteCmd(String aTransId, String aRoid) EPPNameWatchDeleteCmdconstructor that takes the nameWatch roid as an argument. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPNameWatchDeleteCmd.protected voidDecode theEPPNameWatchDeleteCmdattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPNameWatchDeleteCmdinstance.booleanCompare an instance ofEPPNameWatchDeleteCmdwith this instance.getKey()Gets the key for the NameWatch object, which is the NameWatch ROID.Gets the EPP command Namespace associated withEPPNameWatchDeleteCmd.getRoid()Gets the nameWatch roid to delete.voidSets the nameWatch roid to delete.Methods inherited from class com.verisign.epp.codec.gen.EPPDeleteCmd
doGenDecode, doGenEncode, getTypeMethods inherited from class com.verisign.epp.codec.gen.EPPCommand
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasKey, hasTransId, setExtension, setExtensions, setTransId, toString
-
Constructor Details
-
EPPNameWatchDeleteCmd
public EPPNameWatchDeleteCmd()EPPNameWatchDeleteCmddefault constructor. The roid is initialized tonull. The roid must be set before invokingencode. -
EPPNameWatchDeleteCmd
EPPNameWatchDeleteCmdconstructor that takes the nameWatch roid as an argument.- Parameters:
aTransId- Transaction Id associated with command.aRoid- NameWatch roid to delete.
-
-
Method Details
-
getNamespace
Gets the EPP command Namespace associated withEPPNameWatchDeleteCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPNameWatchMapFactory.NS
-
getKey
Gets the key for the NameWatch object, which is the NameWatch ROID.- Overrides:
getKeyin classEPPCommand- Returns:
- The NameWatch ROID if set;
nullotherwise.
-
getRoid
Gets the nameWatch roid to delete.- Returns:
- NameWatch roid
-
setRoid
Sets the nameWatch roid to delete.- Parameters:
aRoid- NameWatch roid
-
equals
Compare an instance ofEPPNameWatchDeleteCmdwith this instance.- Overrides:
equalsin classEPPDeleteCmd- Parameters:
aObject- Object to compare with.- Returns:
- DOCUMENT ME!
-
clone
CloneEPPNameWatchDeleteCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- clone of
EPPNameWatchDeleteCmd - Throws:
CloneNotSupportedException- standard Object.clone exception
-
doEncode
Encode a DOM Element tree from the attributes of theEPPNameWatchDeleteCmdinstance.- Specified by:
doEncodein classEPPDeleteCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the
EPPNameWatchDeleteCmdinstance. - Throws:
EPPEncodeException- Unable to encodeEPPNameWatchDeleteCmdinstance.
-
doDecode
Decode theEPPNameWatchDeleteCmdattributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPDeleteCmd- Parameters:
aElement- Root DOM Element to decodeEPPNameWatchDeleteCmdfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-