|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.resellerext.EPPResellerExtUpdate
public class EPPResellerExtUpdate
EPPResellerExtUpdate
is used in the extension to the update
command to manage the reseller identifier for the object.
Nested Class Summary | |
---|---|
static class |
EPPResellerExtUpdate.Action
Update action, which includes: ADD - Add the reseller identifier. |
Field Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPResellerExtUpdate . |
static java.lang.String |
ELM_NAME
XML root tag for EPPResellerExtUpdate . |
Constructor Summary | |
---|---|
EPPResellerExtUpdate()
Default constructor for EPPResellerExtUpdate . |
|
EPPResellerExtUpdate(EPPResellerExtUpdate.Action aAction,
java.lang.String aResellerId)
Constructor for EPPResellerExtUpdate that takes the action
and the reseller identifier. |
Method Summary | |
---|---|
java.lang.Object |
clone()
clone an EPPCodecComponent . |
void |
decode(org.w3c.dom.Element aElement)
decode a DOM element tree to initialize the instance attributes. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode instance into a DOM element tree. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPResellerExt with this instance. |
EPPResellerExtUpdate.Action |
getAction()
Gets the update action to take. |
java.lang.String |
getResellerId()
Gets the reseller identifier. |
void |
setAction(EPPResellerExtUpdate.Action aAction)
Sets the update action to take. |
void |
setResellerId(java.lang.String aResellerId)
Sets the reseller identifier. |
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 java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ELM_LOCALNAME
EPPResellerExtUpdate
.
public static final java.lang.String ELM_NAME
EPPResellerExtUpdate
.
Constructor Detail |
---|
public EPPResellerExtUpdate()
EPPResellerExtUpdate
.
public EPPResellerExtUpdate(EPPResellerExtUpdate.Action aAction, java.lang.String aResellerId)
EPPResellerExtUpdate
that takes the action
and the reseller identifier.
aAction
- Update action to take using the Action
enumerated
values.aResellerId
- Reseller identifierMethod Detail |
---|
public EPPResellerExtUpdate.Action getAction()
Action
enumerated
values.public void setAction(EPPResellerExtUpdate.Action aAction)
aAction
- Update action using the Action
enumerated values.public java.lang.String getResellerId()
null
otherwise.public void setResellerId(java.lang.String aResellerId)
aResellerId
- The reseller identifierpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- DOM Document, which acts is an Element factory
EPPEncodeException
- Error encoding EPPResellerExtUpdate
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
aElement
argument represents the root DOM element and is
used to traverse the DOM nodes for instance attribute values.
decode
in interface EPPCodecComponent
aElement
- Element
to decode
EPPDecodeException
- Error decoding Element
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPResellerExt
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 java.lang.Object
String
if successful;
ERROR
otherwise.public boolean equals(java.lang.Object aObject)
EPPResellerExt
with this instance.
equals
in class java.lang.Object
aObject
- Object to compare with.
true
if equal; false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |