|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPUpdateCmd
com.verisign.epp.codec.domain.EPPDomainUpdateCmd
public class EPPDomainUpdateCmd
Represents an EPP Domain <update> command. The EPP <update>
command provides a transform operation that allows a client to modify the
attributes of a domain object. In addition to the standard EPP command
elements, the <update> command MUST contain a <domain:update>
element that identifies the domain namespace and the location of the domain
schema. In addition to The <domain:update> element SHALL contain the
following child elements:
getName and
setName to get and set the element.
getAdd and
setAdd to get and set the element.
getChange and
setChange to get and set the element.
getRemove and
setRemove to get and set the element.
EPPReponse is the response associated with
EPPDomainUpdateCmd.
EPPResponse,
EPPDomainAddRemove,
Serialized Form| 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 | |
|---|---|
EPPDomainUpdateCmd()
EPPDomainUpdateCmd default constructor. |
|
EPPDomainUpdateCmd(java.lang.String aName)
EPPDomainUpdateCmd default constructor. |
|
EPPDomainUpdateCmd(java.lang.String aTransId,
java.lang.String aName,
EPPDomainAddRemove aAdd,
EPPDomainAddRemove aRemove,
EPPDomainAddRemove aChange)
EPPDomainUpdateCmd constructor that takes the required
attributes as arguments. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPDomainUpdateCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPDomainUpdateCmd attributes from the aElement
DOM Element tree. |
protected org.w3c.dom.Element |
doEncode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPDomainUpdateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPDomainUpdateCmd with this
instance. |
EPPDomainAddRemove |
getAdd()
Gets the items to add to the domain. |
EPPDomainAddRemove |
getChange()
Gets the items to change to the domain. |
java.lang.String |
getName()
Gets the domain name to update. |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with EPPDomainUpdateCmd. |
EPPDomainAddRemove |
getRemove()
Gets the items to remove from the domain. |
void |
setAdd(EPPDomainAddRemove aAdd)
Sets the items to add to the domain. |
void |
setChange(EPPDomainAddRemove newChange)
Sets the items to change to the domain. |
void |
setName(java.lang.String aName)
Sets the domain name to update. |
void |
setRemove(EPPDomainAddRemove aRemove)
Sets the items to remove from the domain. |
java.lang.String |
toString()
Implementation of Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
| Methods inherited from class com.verisign.epp.codec.gen.EPPUpdateCmd |
|---|
doGenDecode, doGenEncode, getType |
| Methods inherited from class com.verisign.epp.codec.gen.EPPCommand |
|---|
addExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EPPDomainUpdateCmd()
EPPDomainUpdateCmd default constructor. The name is
initialized to null. The name must be set before
invoking encode.
public EPPDomainUpdateCmd(java.lang.String aName)
EPPDomainUpdateCmd default constructor. The name is
initialized to null. The name must be set before
invoking encode.
aName - DOCUMENT ME!
public EPPDomainUpdateCmd(java.lang.String aTransId,
java.lang.String aName,
EPPDomainAddRemove aAdd,
EPPDomainAddRemove aRemove,
EPPDomainAddRemove aChange)
EPPDomainUpdateCmd constructor that takes the required
attributes as arguments.
aTransId - Transaction Id associated with the command.aName - Domain name to update.aAdd - Attributes to add to the domain. null if no
additions.aRemove - Attributes to remove from the domain. null
if no removals.aChange - DOCUMENT ME!| Method Detail |
|---|
public java.lang.String getNamespace()
EPPDomainUpdateCmd.
getNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPDomainMapFactory.NS
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPDomainUpdateCmd instance.
doEncode in class EPPUpdateCmdaDocument - DOM Document that is being built. Used as an Element
factory.
EPPDomainUpdateCmd instance.
EPPEncodeException - Unable to encode
EPPDomainUpdateCmd instance.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPDomainUpdateCmd attributes from the aElement
DOM Element tree.
doDecode in class EPPUpdateCmdaElement - Root DOM Element to decode
EPPDomainUpdateCmd from.
EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPDomainUpdateCmd with this
instance.
equals in class EPPUpdateCmdaObject - Object to compare with.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPDomainUpdateCmd.
clone in interface EPPCodecComponentclone in class EPPCommandEPPDomainUpdateCmd
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.
toString in class EPPCommandString if successful;
ERROR otherwise.public java.lang.String getName()
null otherwise.public void setName(java.lang.String aName)
aName - Domain Namepublic EPPDomainAddRemove getAdd()
null otherwise.public void setAdd(EPPDomainAddRemove aAdd)
aAdd - Object that contains the list of elements to add to the
domain.public EPPDomainAddRemove getRemove()
null otherwise.public void setRemove(EPPDomainAddRemove aRemove)
aRemove - Object that contains the list of elements to remove from
the domain.public EPPDomainAddRemove getChange()
null otherwise.public void setChange(EPPDomainAddRemove newChange)
newChange - Object that contains the list of elements to change to
the domain.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||