Package com.verisign.epp.codec.change
Class EPPChangeCreateCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPCreateCmd
com.verisign.epp.codec.change.EPPChangeCreateCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Represents an EPP <change:create> command that is used to create an EPP
Change Request object. The <change:create> element MUST contain the
following child elements:
- A <change:requestID> element that contains the Request Id. Use
getRequestandsetRequestto get and set the element. - A <change:category> element that contains the Request Category.
Use
getCategoryandsetCategoryto get and set the element. - A <desc> element that contains the Request Description. Use
getDescriptionandsetDescriptionto get and set the element.
- 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
ConstructorsConstructorDescriptionEPPChangeCreateCmd(String aTransId) EPPChangeCreateCmd(String requestId, String category, String description) EPPChangeCreateCmd(String aTransId, String requestId, String category, String description) EPPChangeCreateCmd(String aTransId, String requestId, String priority, String category, String description) EPPChangeCreateCmd(String aTransId, String requestId, String priority, List categories, String description) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCategory(String category) voidclone()CloneEPPChangeCreateCmd.protected voidDecode theEPPChangeCreateCmdattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPChangeCreateCmdinstance.booleanCompare an instance ofEPPChangeCreateCmdwith this instancegetKey()Gets the key for the change object, which is the request identifier.Gets the EPP command Namespace associated withEPPChangeCreateCmd.voidsetCategories(List categories) voidsetDescription(String description) voidsetPriority(String priority) voidsetRequestId(String requestId) toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.gen.EPPCreateCmd
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
-
Constructor Details
-
EPPChangeCreateCmd
public EPPChangeCreateCmd() -
EPPChangeCreateCmd
-
EPPChangeCreateCmd
-
EPPChangeCreateCmd
-
EPPChangeCreateCmd
-
EPPChangeCreateCmd
-
-
Method Details
-
addCategory
-
clearCategories
public void clearCategories() -
clone
CloneEPPChangeCreateCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- clone of
EPPChangeCreateCmd - Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
Compare an instance ofEPPChangeCreateCmdwith this instance- Overrides:
equalsin classEPPCreateCmd- Parameters:
o- Object to compare with.- Returns:
- DOCUMENT ME!
-
getCategories
-
getDescription
-
getNamespace
Gets the EPP command Namespace associated withEPPChangeCreateCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPChangeMapFactory.NS
-
getKey
Gets the key for the change object, which is the request identifier.- Overrides:
getKeyin classEPPCommand- Returns:
- The request identifier if set;
nullotherwise.
-
getPriority
-
getRequestId
-
setCategories
-
setDescription
-
setPriority
-
setRequestId
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPCommand- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
doDecode
Decode theEPPChangeCreateCmdattributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPCreateCmd- Parameters:
aElement- Root DOM Element to decodeEPPChangeCreateCmdfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
doEncode
Encode a DOM Element tree from the attributes of theEPPChangeCreateCmdinstance.- Specified by:
doEncodein classEPPCreateCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the
EPPChangeCreateCmdinstance. - Throws:
EPPEncodeException- Unable to encodeEPPChangeCreateCmdinstance.
-