Package com.verisign.epp.codec.org
Class EPPOrgInfoCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPInfoCmd
com.verisign.epp.codec.org.EPPOrgInfoCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Command used to retrieve information associated with an org object.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPOrgInfoCmd.static final StringXML root tag forEPPOrgInfoCmd.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
ConstructorsConstructorDescriptionEPPOrgInfoCmddefault constructor.EPPOrgInfoCmd(String aTransId) EPPOrgInfoCmdconstructor that only takes the client transaction identifierEPPOrgInfoCmd(String aTransId, String aOrgId) EPPOrgInfoCmdconstructor that takes the transaction identifier and the org identifier. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPOrgInfoCmd.protected voidDecode theEPPOrgInfoCmdattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPOrgInfoCmdinstance.booleanCompare an instance ofEPPOrgInfoCmdwith this instance.getKey()Gets the key for the organization object, which is the organization identifier.Gets the EPP command Namespace associated withEPPOrgInfoCmd.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.EPPInfoCmd
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 forEPPOrgInfoCmd.- See Also:
-
ELM_NAME
XML root tag forEPPOrgInfoCmd.- See Also:
-
-
Constructor Details
-
EPPOrgInfoCmd
public EPPOrgInfoCmd()EPPOrgInfoCmddefault constructor. -
EPPOrgInfoCmd
EPPOrgInfoCmdconstructor that only takes the client transaction identifier- Parameters:
aTransId- Transaction Id associated with command.
-
EPPOrgInfoCmd
EPPOrgInfoCmdconstructor 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 withEPPOrgInfoCmd.- 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 theEPPOrgInfoCmdinstance.- Specified by:
doEncodein classEPPInfoCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPOrgInfoCmdinstance. - Throws:
EPPEncodeException- Unable to encodeEPPOrgInfoCmdinstance.
-
doDecode
Decode theEPPOrgInfoCmdattributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPInfoCmd- Parameters:
aElement- Root DOM Element to decodeEPPOrgInfoCmdfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
equals
Compare an instance ofEPPOrgInfoCmdwith this instance.- Overrides:
equalsin classEPPInfoCmd- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise.
-
clone
CloneEPPOrgInfoCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- Deep copy clone of
EPPOrgInfoCmd - 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.
-