|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.reseller.EPPResellerContact
public class EPPResellerContact
Represents a reseller contact. The valid contact types are defined by the
EPPResellerContact.Type enumeration.
| Nested Class Summary | |
|---|---|
static class |
EPPResellerContact.Type
Contact type enumeration. |
| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPResellerContact. |
static java.lang.String |
ELM_NAME
XML root tag for EPPResellerContact. |
| Constructor Summary | |
|---|---|
EPPResellerContact()
Default constructor for EPPResellerContact. |
|
EPPResellerContact(java.lang.String aContactId,
EPPResellerContact.Type aType)
EPPResellerContact that takes all attributes as arguments
(contactId and type). |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPResellerContact. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPResellerContact attributes from the aElement
DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPResellerContact instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPResellerContact compare. |
java.lang.String |
getContactId()
Gets the contact identifier of the contact. |
EPPResellerContact.Type |
getType()
Gets the contact type using the EPPResellerContact.Type enumeration. |
void |
setContactId(java.lang.String aContactId)
Sets the contact identifier of the contact. |
void |
setType(EPPResellerContact.Type aType)
Sets the contact type using the EPPResellerContact.Type enumeration. |
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
EPPResellerContact.
public static final java.lang.String ELM_NAME
EPPResellerContact.
| Constructor Detail |
|---|
public EPPResellerContact()
EPPResellerContact.
public EPPResellerContact(java.lang.String aContactId,
EPPResellerContact.Type aType)
EPPResellerContact that takes all attributes as arguments
(contactId and type).
aContactId - Contact IdentifieraType - Contact Type using EPPResellerContact.Type enumeration.| Method Detail |
|---|
public EPPResellerContact.Type getType()
EPPResellerContact.Type enumeration.
null otherwise.public void setType(EPPResellerContact.Type aType)
EPPResellerContact.Type enumeration.
aType - Contact typepublic java.lang.String getContactId()
null otherwise.public void setContactId(java.lang.String aContactId)
aContactId - Contact identifier of the contact
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPResellerContact instance.
encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element factory.
EPPResellerContact instance.
EPPEncodeException - Unable to encode EPPResellerContact instance.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPResellerContact attributes from the aElement
DOM Element tree.
decode in interface EPPCodecComponentaElement - Root DOM Element to decode EPPResellerContact
from.
EPPDecodeException - Unable to decode aElement.public boolean equals(java.lang.Object aObject)
EPPResellerContact compare.
equals in class java.lang.ObjectaObject - EPPResellerContact instance to compare with
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPResellerContact.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPResellerContact
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.ObjectString if successful;
ERROR otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||