|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.contact.EPPContactInfoResp
public class EPPContactInfoResp
Represents a <contact:infData> response to an
EPPContactInfoCmd. When an <info> command has been
processed successfully, the EPP <resData> element MUST contain a
child <contact:infData> element that identifies the contact namespace
and the location of the contact schema. The <contact:infData> element
SHALL contain the following child elements:
getId and setId to get
and set the elements.
getStatuses and setStatuses
to get and set the elements.
getPostalInfo, addPostalInfo and
setPostalInfo to get, add 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.
getClientId and setClientId to get and set the
element.
getCreatedBy and
setCreatedByto get and set the element.
getCreatedDate and setCreatedDate
to get and set the element.
getLastUpdatedBy and
setLastUpdatedBy to get and set the element.
getLastUpdatedDate and
setLastUpdatedDate to get and set the element.
getLastTransferDate
and setLastTransferDate to get and set the element.
getAuthInfo and setAuthInfo to get and set the
element.
getDisclose and setDisclose to get and set the
element.
EPPContactInfoCmd,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.verisign.epp.codec.gen.EPPResponse |
|---|
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED |
| Constructor Summary | |
|---|---|
EPPContactInfoResp()
EPPContactInfoResp default constructor. |
|
EPPContactInfoResp(EPPTransId aTransId,
java.lang.String aRoid,
java.lang.String aId,
java.util.Vector newStatuses,
EPPContactPostalDefinition aPostalInfo,
java.lang.String aEmail,
java.lang.String aClientId,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate,
EPPAuthInfo aAuthInfo)
EPPContactInfoResp constructor that sets the required
attributes with the parameters. |
|
| Method Summary | |
|---|---|
void |
addPostalInfo(EPPContactPostalDefinition newPostalInfo)
Adds contact postalInfo. |
java.lang.Object |
clone()
Clone EPPContactInfoResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPContactInfoResp 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 EPPContactInfoResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPContactInfoResp with this
instance. |
EPPAuthInfo |
getAuthInfo()
Get authorization information. |
java.lang.String |
getClientId()
Gets the contact owning Client Id. |
java.lang.String |
getCreatedBy()
Gets Client Id that created the contact. |
java.util.Date |
getCreatedDate()
Gets the date and time the contact was created. |
EPPContactDisclose |
getDisclose()
Get disclose information. |
java.lang.String |
getEmail()
Get contact email. |
java.lang.String |
getFax()
Get contact fax number. |
java.lang.String |
getFaxExt()
Get fax number extension. |
java.lang.String |
getId()
Get contact id. |
java.util.Date |
getLastTransferDate()
Gets the last date and time the contact was successfully transferred. |
java.lang.String |
getLastUpdatedBy()
Gets the Client Id that last updated the contact. |
java.util.Date |
getLastUpdatedDate()
Gets the date and time of the last contact update. |
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with EPPContactInfoResp. |
java.util.Vector |
getPostalInfo()
Get contact postalInfo. |
java.lang.String |
getRoid()
Get roid. |
java.util.Vector |
getStatuses()
Get contact statuses. |
java.lang.String |
getType()
Gets the EPP response type associated with EPPContactInfoResp. |
java.lang.String |
getVoice()
Get contact voice number. |
java.lang.String |
getVoiceExt()
Get voice number extension. |
void |
setAuthInfo(EPPAuthInfo newAuthInfo)
Set authorization information. |
void |
setClientId(java.lang.String aClientId)
Sets the contact owning Client Id. |
void |
setCreatedBy(java.lang.String aCreatedBy)
Sets Client Id that created the contact. |
void |
setCreatedDate(java.util.Date aDate)
Sets the date and time the contact was created. |
void |
setDisclose(EPPContactDisclose newDisclose)
Set disclose information. |
void |
setEmail(java.lang.String newEmail)
Set contact email. |
void |
setFax(java.lang.String newFax)
Set contact fax number. |
void |
setFaxExt(java.lang.String newFaxExt)
Set fax number extension. |
void |
setId(java.lang.String newId)
Set contact id. |
void |
setLastTransferDate(java.util.Date aLastTransferDate)
Sets the last date and time the contact was successfully transferred. |
void |
setLastUpdatedBy(java.lang.String aLastUpdatedBy)
Sets the Client Id that last updated the contact. |
void |
setLastUpdatedDate(java.util.Date aLastUpdatedDate)
Sets the last date and time the contact was updated. |
void |
setPostalInfo(java.util.Vector newPostalContacts)
Set contact postalInfo. |
void |
setRoid(java.lang.String newRoid)
Set roid. |
void |
setStatuses(java.util.Vector newStatuses)
Set contact statuses. |
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.EPPResponse |
|---|
addExtension, decode, encode, getExtension, getExtension, getExtensions, getMessageQueue, getMsgQueue, getMsgQueueCount, getMsgQueueDate, getMsgQueueMsg, getQDate, getResult, getResults, getTransId, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransId |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EPPContactInfoResp()
EPPContactInfoResp default constructor. Must call required
setter methods before invoking encode, which
include:setTransId
setContact
setClientId
setPostalInfo
addPostalInfo
setCreatedBy
setCreatedDate
setLastUpdatedBy
setLastUpdatedDate
setLastTransferBy
setLastTransferDate
setAuthId
setDisclose
public EPPContactInfoResp(EPPTransId aTransId,
java.lang.String aRoid,
java.lang.String aId,
java.util.Vector newStatuses,
EPPContactPostalDefinition aPostalInfo,
java.lang.String aEmail,
java.lang.String aClientId,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate,
EPPAuthInfo aAuthInfo)
EPPContactInfoResp constructor that sets the required
attributes with the parameters. The following optional attributes can
be set:
aTransId - command transaction idaRoid - roidaId - contact IDnewStatuses - contact statusesaPostalInfo - postal element of contactaEmail - contact emailaClientId - contact sponsering client identifieraCreatedBy - identifier of the client that created the contact nameaCreatedDate - Date and time of contact creationaAuthInfo - authorization information| Method Detail |
|---|
public java.lang.String getType()
EPPContactInfoResp.
getType in class EPPResponseEPPContactInfoResp.ELM_NAMEpublic java.lang.String getNamespace()
EPPContactInfoResp.
getNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPContactMapFactory.NSpublic java.lang.String getClientId()
null otherwise.public void setClientId(java.lang.String aClientId)
aClientId - Client Idpublic java.lang.String getCreatedBy()
null otherwise.public void setCreatedBy(java.lang.String aCreatedBy)
aCreatedBy - Client Id that created the contact if defined;
null otherwise.public java.util.Date getCreatedDate()
null otherwise.public void setCreatedDate(java.util.Date aDate)
aDate - Date and time the contact was created.public java.lang.String getLastUpdatedBy()
null otherwise.public void setLastUpdatedBy(java.lang.String aLastUpdatedBy)
aLastUpdatedBy - Client Id String that last updated the contact.public java.util.Date getLastUpdatedDate()
null if the contact has not been updated since
creation.
null otherwise.public void setLastUpdatedDate(java.util.Date aLastUpdatedDate)
aLastUpdatedDate - Date and time of the last contact updatepublic java.util.Date getLastTransferDate()
null otherwise.public void setLastTransferDate(java.util.Date aLastTransferDate)
aLastTransferDate - Date and time of the last successful transfer.
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPContactInfoResp instance.
doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element
factory.
EPPEncodeException - Unable to encode EPPContactPingMap
instance.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPContactInfoResp attributes from the aElement
DOM Element tree.
doDecode in class EPPResponseaElement - Root DOM Element to decode
EPPContactInfoResp from.
EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPContactInfoResp with this
instance.
equals in class EPPResponseaObject - Object to compare with.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPContactInfoResp.
clone in interface EPPCodecComponentclone in class EPPResponseEPPContactInfoResp
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 EPPResponseString 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()
null
otherwise;public void setAuthInfo(EPPAuthInfo newAuthInfo)
newAuthInfo - com.verisign.epp.codec.gen.EPPAuthInfopublic EPPContactDisclose getDisclose()
null otherwise;public void setDisclose(EPPContactDisclose newDisclose)
newDisclose - com.verisign.epp.codec.gen.EPPContactDisclosepublic java.lang.String getEmail()
public void setEmail(java.lang.String newEmail)
newEmail - Stringpublic java.lang.String getFax()
public void setFax(java.lang.String newFax)
newFax - Stringpublic java.lang.String getFaxExt()
null otherwise.public void setFaxExt(java.lang.String newFaxExt)
newFaxExt - Fax number extensionpublic java.lang.String getId()
public void setId(java.lang.String newId)
newId - Stringpublic java.util.Vector getStatuses()
public void setStatuses(java.util.Vector newStatuses)
newStatuses - java.util.Vectorpublic java.lang.String getVoice()
public void setVoice(java.lang.String newVoice)
newVoice - Stringpublic java.lang.String getVoiceExt()
null otherwise.public void setVoiceExt(java.lang.String newVoiceExt)
newVoiceExt - voice extensionpublic java.lang.String getRoid()
public void setRoid(java.lang.String newRoid)
newRoid - java.lang.String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||