public class EPPContactCreateCmd extends EPPCreateCmd
getId and setId to get and set the elements.getPostalInfo,
addPostalInfo and setPostalInfo to get, add and set the elements.getI15d and setI15d to get
and set the elements.getVoice and setVoice to get and set the elements.getFax and setFax to get and set the elements.getEmail and
setEmail to get and set the elements.getAuthInfo and setAuthInfo to get and set the element.EPPContactCreateReponse is the response associated with EPPContactCreateCmd. EPPResponse,
EPPContactPostalDefinition,
Serialized Formextensions, 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 and Description |
|---|
EPPContactCreateCmd()
Default constructor of EPPContactCreateCmd Allocates a new
EPPContactCreateCmd with default attribute
values. |
EPPContactCreateCmd(java.lang.String aTransId)
Constructor of EPPContactCreateCmd Allocates a new
EPPContactCreateCmd with the contact definition
information. |
EPPContactCreateCmd(java.lang.String aTransId,
java.lang.String aId,
EPPContactPostalDefinition aPostalContact,
java.lang.String aEmail,
EPPAuthInfo aAuthInfo)
Constructor of EPPContactCreateCmd Allocates a new
EPPContactCreateCmd with the contact definition
information. |
| Modifier and Type | Method and Description |
|---|---|
void |
addPostalInfo(EPPContactPostalDefinition newPostalInfo)
Adds contact postalInfo.
|
java.lang.Object |
clone()
Clone
EPPContactCreateCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPContactCreateCmd 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 EPPContactCreateCmd instance.
|
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPContactCreateCmd with this instance. |
EPPAuthInfo |
getAuthInfo()
Get authorization information.
|
EPPContactDisclose |
getDisclose()
Get disclose information.
|
java.lang.String |
getEmail()
Get email.
|
java.lang.String |
getFax()
Get fax number.
|
java.lang.String |
getFaxExt()
Get fax number extension.
|
java.lang.String |
getId()
Get contact ID.
|
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with EPPContactCreateCmd.
|
java.util.Vector |
getPostalInfo()
Get postalInfo elements of contact.
|
java.lang.String |
getVoice()
Get voice number.
|
java.lang.String |
getVoiceExt()
Get voice number extension.
|
boolean |
hasAuthInfo()
Returns
true if the contact has auth info. |
boolean |
hasDisclose()
Returns
true if the contact has disclose flag. |
boolean |
hasEmail()
Returns
true if the contact has email. |
boolean |
hasFax()
Returns
true if the contact has fax. |
boolean |
hasFaxExt()
Returns
true if the contact has fax extension. |
boolean |
hasId()
Returns
true if the contact has contact ID. |
boolean |
hasPostalContacts()
Returns
true if the contact has postal info. |
boolean |
hasVoice()
Returns
true if the contact has voice. |
boolean |
hasVoiceExt()
Returns
true if the contact has voice extension. |
void |
setAuthInfo(EPPAuthInfo newAuthInfo)
Set authorization information.
|
void |
setDisclose(EPPContactDisclose newDisclose)
Set disclose information.
|
void |
setEmail(java.lang.String newEmail)
Set email.
|
void |
setFax(java.lang.String newFax)
Set fax number.
|
void |
setFaxExt(java.lang.String newFaxExt)
Set fax number extension.
|
void |
setId(java.lang.String newId)
Set contact ID.
|
void |
setPostalInfo(java.util.Vector newPostalContacts)
Set contact postalInfo.
|
void |
setVoice(java.lang.String newVoice)
Set contact voice number.
|
void |
setVoiceExt(java.lang.String newVoiceExt)
Set contact voice extension.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an indented XML String
representation of the concrete EPPCodecComponent. |
doGenDecode, doGenEncode, getTypeaddExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransIdpublic EPPContactCreateCmd()
EPPContactCreateCmd with default attribute
values.public EPPContactCreateCmd(java.lang.String aTransId)
EPPContactCreateCmd with the contact definition
information.aTransId - command transaction idpublic EPPContactCreateCmd(java.lang.String aTransId,
java.lang.String aId,
EPPContactPostalDefinition aPostalContact,
java.lang.String aEmail,
EPPAuthInfo aAuthInfo)
EPPContactCreateCmd with the contact definition
information.aTransId - command transaction idaId - String IDaPostalContact - postalInfo element of contactaEmail - String emailaAuthInfo - authorization informationpublic java.lang.String getNamespace()
getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPContactMapFactory.NSprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
doEncode in class EPPCreateCmdaDocument - - DOM Document that is being built. Used as an Element factory.EPPEncodeException - Unable to encode EPPContactCreateCmd instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
doDecode in class EPPCreateCmdaElement - - Root DOM Element to decode EPPContactCreateCmd from.EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPContactCreateCmd with this instance.equals in class EPPCreateCmdaObject - Object to compare with.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPContactCreateCmd.clone in interface EPPCodecComponentclone in class EPPCommandEPPContactCreateCmdjava.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.util.Vector getPostalInfo()
public void setPostalInfo(java.util.Vector newPostalContacts)
newPostalContacts - java.util.Vectorpublic boolean hasPostalContacts()
true if the contact has postal info.true if the contact has postal info false otherwisepublic void addPostalInfo(EPPContactPostalDefinition newPostalInfo)
newPostalInfo - com.verisign.epp.codec.contact.EPPContactPostalDefinitionpublic EPPAuthInfo getAuthInfo()
public EPPContactDisclose getDisclose()
null otherwise;public void setDisclose(EPPContactDisclose newDisclose)
newDisclose - com.verisign.epp.codec.gen.EPPContactDisclosepublic boolean hasDisclose()
true if the contact has disclose flag.true if the contact has disclose flag false otherwisepublic java.lang.String getEmail()
null otherwise.public java.lang.String getFax()
null otherwise.public java.lang.String getFaxExt()
null otherwise.public java.lang.String getId()
public java.lang.String getVoice()
null otherwise.public java.lang.String getVoiceExt()
null otherwise.public void setAuthInfo(EPPAuthInfo newAuthInfo)
newAuthInfo - com.verisign.epp.codec.gen.EPPAuthInfopublic boolean hasAuthInfo()
true if the contact has auth info.true if the contact has auth info info false otherwisepublic void setEmail(java.lang.String newEmail)
newEmail - Stringpublic boolean hasEmail()
true if the contact has email.true if the contact has email false otherwisepublic void setFax(java.lang.String newFax)
newFax - Fax numberpublic boolean hasFax()
true if the contact has fax.true if the contact has fax false otherwisepublic void setFaxExt(java.lang.String newFaxExt)
newFaxExt - Fax number extensionpublic boolean hasFaxExt()
true if the contact has fax extension.true if the contact has fax extension false otherwisepublic void setId(java.lang.String newId)
newId - Stringpublic boolean hasId()
true if the contact has contact ID.true if the contact has contact ID false otherwisepublic void setVoice(java.lang.String newVoice)
newVoice - voice numberpublic boolean hasVoice()
true if the contact has voice.true if the contact has voice false otherwisepublic void setVoiceExt(java.lang.String newVoiceExt)
newVoiceExt - voice extensionpublic boolean hasVoiceExt()
true if the contact has voice extension.true if the contact has voice extension false otherwiseCopyright © VeriSign Inc. All Rights Reserved.