Package com.verisign.epp.codec.org
Class EPPOrgDeleteCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPDeleteCmd
com.verisign.epp.codec.org.EPPOrgDeleteCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Command used to delete a org object.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPOrgDeleteCmd.static final StringXML root tag forEPPOrgDeleteCmd.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
ConstructorsConstructorDescriptionEPPOrgDeleteCmddefault constructor.EPPOrgDeleteCmd(String aTransId) EPPOrgDeleteCmdconstructor that only takes the client transaction identifierEPPOrgDeleteCmd(String aTransId, String aOrgId) EPPOrgDeleteCmdconstructor that takes the transaction identifier and the org identifier. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPOrgDeleteCmd.protected voidDecode theEPPOrgDeleteCmdattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPOrgDeleteCmdinstance.booleanCompare an instance ofEPPOrgDeleteCmdwith this instance.getKey()Gets the key for the organization object, which is the organization identifier.Gets the EPP command Namespace associated withEPPOrgDeleteCmd.getOrgId()Gets the org identifier.voidSets the org identifier.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.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
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPOrgDeleteCmd.- See Also:
-
ELM_NAME
XML root tag forEPPOrgDeleteCmd.- See Also:
-
-
Constructor Details
-
EPPOrgDeleteCmd
public EPPOrgDeleteCmd()EPPOrgDeleteCmddefault constructor. -
EPPOrgDeleteCmd
EPPOrgDeleteCmdconstructor that only takes the client transaction identifier- Parameters:
aTransId- Transaction Id associated with command.
-
EPPOrgDeleteCmd
EPPOrgDeleteCmdconstructor that takes the transaction identifier and the org identifier.- Parameters:
aTransId- Transaction Id associated with command. Set tonullif a client transaction identifier is not desired.aOrgId- Org identifier
-
-
Method Details
-
getNamespace
Gets the EPP command Namespace associated withEPPOrgDeleteCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPOrgMapFactory.NS
-
getKey
Gets the key for the organization object, which is the organization identifier.- Overrides:
getKeyin classEPPCommand- Returns:
- The organization identifier if set;
nullotherwise.
-
getOrgId
Gets the org identifier.- Returns:
- The org identifier if defined;
nullotherwise.
-
setOrgId
Sets the org identifier.- Parameters:
aOrgId- The org identifier
-
doEncode
Encode a DOM Element tree from the attributes of theEPPOrgDeleteCmdinstance.- Specified by:
doEncodein classEPPDeleteCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPOrgDeleteCmdinstance. - Throws:
EPPEncodeException- Unable to encodeEPPOrgDeleteCmdinstance.
-
doDecode
Decode theEPPOrgDeleteCmdattributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPDeleteCmd- Parameters:
aElement- Root DOM Element to decodeEPPOrgDeleteCmdfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
equals
Compare an instance ofEPPOrgDeleteCmdwith this instance.- Overrides:
equalsin classEPPDeleteCmd- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise.
-
clone
CloneEPPOrgDeleteCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- Deep copy clone of
EPPOrgDeleteCmd - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPCommand- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-