|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.emailFwd.EPPEmailFwdContact
public class EPPEmailFwdContact
Represents a emailFwd contact. The valid contact types are defined by the
EPPEmailFwdContact.TYPE_ constants. A contact has a type and
a name that must be known to the EPP Server.
| Field Summary | |
|---|---|
static java.lang.String |
TYPE_ADMINISTRATIVE
Administrative EmailFwd Contact |
static java.lang.String |
TYPE_BILLING
Billing EmailFwd Contact |
static java.lang.String |
TYPE_TECHNICAL
Technical EmailFwd Contact |
| Constructor Summary | |
|---|---|
EPPEmailFwdContact()
Default constructor for EPPEmailFwdContact. |
|
EPPEmailFwdContact(java.lang.String aName,
java.lang.String aType)
EPPEmailFwdContact which takes all attributes as arguments (name, type). |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPEmailFwdContact. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPEmailFwdContact 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 EPPEmailFwdContact instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPEmailFwdContact compare. |
java.lang.String |
getName()
Gets the contact name |
java.lang.String |
getType()
Gets the contact type. |
void |
setName(java.lang.String aName)
Sets the contact name. |
void |
setType(java.lang.String aType)
Sets the contact type to one of the EPPEmailFwdContact.TYPE_ constants. |
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 TYPE_ADMINISTRATIVE
public static final java.lang.String TYPE_BILLING
public static final java.lang.String TYPE_TECHNICAL
| Constructor Detail |
|---|
public EPPEmailFwdContact()
null and must be set before invoking encode.
public EPPEmailFwdContact(java.lang.String aName,
java.lang.String aType)
aName - Contact NameaType - Contact Type, which should be a
EPPEmailFwdContact.TYPE_ constant.| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String aName)
aName - Contact Namepublic java.lang.String getType()
public void setType(java.lang.String aType)
EPPEmailFwdContact.TYPE_ constants.
aType - EPPEmailFwdContact.TYPE_ constant.
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - - DOM Document that is being built. Used as an Element
factory.
EPPEncodeException - - Unable to encode EPPEmailFwdContact
instance.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
decode in interface EPPCodecComponentaElement - - Root DOM Element to decode EPPEmailFwdContact from.
EPPDecodeException - - Unable to decode aElement.public boolean equals(java.lang.Object aObject)
EPPEmailFwdContact compare.
equals in class java.lang.ObjectaObject - EPPEmailFwdContact instance to compare with
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPEmailFwdContact.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPEmailFwdContact
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 | |||||||||