|
||||||||||
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.EPPCreateCmd
com.verisign.epp.codec.contact.EPPContactCreateCmd
public class EPPContactCreateCmd
Represents an EPP Contact <create> command, which provides a transform
that allows a client to create a contact object. In addition to the
standard EPP command elements, the <create> command MUST contain a
<contact:create> element that identifies the contact namespace and
the location of the contact schema. The <contact:create> element
contains the following child elements:
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 FormField 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 | |
---|---|
EPPContactCreateCmd()
Defult 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. |
Method Summary | |
---|---|
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. |
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 . |
Methods inherited from class com.verisign.epp.codec.gen.EPPCreateCmd |
---|
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 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 informationMethod Detail |
---|
public java.lang.String getNamespace()
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPContactMapFactory.NS
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
doEncode
in class EPPCreateCmd
aDocument
- - 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 EPPCreateCmd
aElement
- - 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 EPPCreateCmd
aObject
- Object to compare with.
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPContactCreateCmd
.
clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPContactCreateCmd
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 EPPCommand
String
if successful;
ERROR
otherwise.public java.util.Vector getPostalInfo()
public void setPostalInfo(java.util.Vector newPostalContacts)
newPostalContacts
- java.util.Vectorpublic 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 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 void setEmail(java.lang.String newEmail)
newEmail
- Stringpublic void setFax(java.lang.String newFax)
newFax
- Fax numberpublic void setFaxExt(java.lang.String newFaxExt)
newFaxExt
- Fax number extensionpublic void setId(java.lang.String newId)
newId
- Stringpublic void setVoice(java.lang.String newVoice)
newVoice
- voice numberpublic void setVoiceExt(java.lang.String newVoiceExt)
newVoiceExt
- voice extension
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |