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,java.io.Serializable,java.lang.Cloneable
public class EPPOrgDeleteCmd extends EPPDeleteCmd
Command used to delete a org object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEXML local name forEPPOrgDeleteCmd.static java.lang.StringELM_NAMEXML 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
Constructors Constructor Description EPPOrgDeleteCmd()EPPOrgDeleteCmddefault constructor.EPPOrgDeleteCmd(java.lang.String aTransId)EPPOrgDeleteCmdconstructor that only takes the client transaction identifierEPPOrgDeleteCmd(java.lang.String aTransId, java.lang.String aOrgId)EPPOrgDeleteCmdconstructor that takes the transaction identifier and the org identifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPOrgDeleteCmd.protected voiddoDecode(org.w3c.dom.Element aElement)Decode theEPPOrgDeleteCmdattributes from the aElement DOM Element tree.protected org.w3c.dom.ElementdoEncode(org.w3c.dom.Document aDocument)Encode a DOM Element tree from the attributes of theEPPOrgDeleteCmdinstance.booleanequals(java.lang.Object aObject)Compare an instance ofEPPOrgDeleteCmdwith this instance.java.lang.StringgetKey()Gets the key for the organization object, which is the organization identifier.java.lang.StringgetNamespace()Gets the EPP command Namespace associated withEPPOrgDeleteCmd.java.lang.StringgetOrgId()Gets the org identifier.voidsetOrgId(java.lang.String aOrgId)Sets the org identifier.java.lang.StringtoString()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, getType
-
Methods 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 Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPOrgDeleteCmd.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPOrgDeleteCmd.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPOrgDeleteCmd
public EPPOrgDeleteCmd()
EPPOrgDeleteCmddefault constructor.
-
EPPOrgDeleteCmd
public EPPOrgDeleteCmd(java.lang.String aTransId)
EPPOrgDeleteCmdconstructor that only takes the client transaction identifier- Parameters:
aTransId- Transaction Id associated with command.
-
EPPOrgDeleteCmd
public EPPOrgDeleteCmd(java.lang.String aTransId, java.lang.String aOrgId)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 Detail
-
getNamespace
public java.lang.String getNamespace()
Gets the EPP command Namespace associated withEPPOrgDeleteCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPOrgMapFactory.NS
-
getKey
public java.lang.String getKey()
Gets the key for the organization object, which is the organization identifier.- Overrides:
getKeyin classEPPCommand- Returns:
- The organization identifier if set;
nullotherwise.
-
getOrgId
public java.lang.String getOrgId()
Gets the org identifier.- Returns:
- The org identifier if defined;
nullotherwise.
-
setOrgId
public void setOrgId(java.lang.String aOrgId)
Sets the org identifier.- Parameters:
aOrgId- The org identifier
-
doEncode
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionEncode 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
protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode 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
public boolean equals(java.lang.Object aObject)
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
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPOrgDeleteCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- Deep copy clone of
EPPOrgDeleteCmd - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
toString
public java.lang.String toString()
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPCommand- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
-