|
||||||||||
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.emailFwd.EPPEmailFwdInfoResp
public class EPPEmailFwdInfoResp
Represents an EPP EmailFwd <emailFwd:infData> response to an
EPPEmailFwdInfoCmd
. When an <info> command has been
processed successfully, the EPP <resData> element MUST contain a
child <emailFwd:infData> element that identifies the emailFwd
namespace and the location of the emailFwd schema. The
<emailFwd:infData> element contains the following child elements:
getName
and setName
to get and
set the element.
getForwardTo
and setForwardTo
to
get and set the forwardTo addresses.
getRoid
and setRoid
to get and set the element.
EPPEmailFwdStatus
description for a list of valid status
values. Use getStatus
and setStatus
to get
and set the elements.
getContacts
and setContacts
to get and set the elements. Contacts should only be specified if the
Contact Mapping is supported.
getClientId
and
setClientId
to get and set the element.
getCreatedBy
and
setCreatedBy
to get and set the element.
getCreatedDate
and
setCreatedDate
to get and set the element.
getExpirationDate
and setExpirationDate
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
elements.
EPPEmailFwdInfoCmd
,
Serialized FormField 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 | |
---|---|
EPPEmailFwdInfoResp()
EPPEmailFwdInfoResp default constructor. |
|
EPPEmailFwdInfoResp(EPPTransId aTransId,
java.lang.String aRoid,
java.lang.String aName,
java.lang.String aClientId)
EPPEmailFwdInfoResp constuctor that takes the required attribute
values as paramters. |
|
EPPEmailFwdInfoResp(EPPTransId aTransId,
java.lang.String aRoid,
java.lang.String aName,
java.lang.String aForwardTo,
java.lang.String aClientId,
java.util.Vector someStatuses,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate,
EPPAuthInfo aAuthInfo)
EPPEmailFwdInfoResp constuctor that takes the required and
the most common optional attribute values as paramters. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPEmailFwdInfoResp . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPEmailFwdInfoResp 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 EPPEmailFwdInfoResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPEmailFwdInfoResp with this
instance. |
EPPAuthInfo |
getAuthInfo()
Get authorization information |
java.lang.String |
getClientId()
Gets the emailFwd owning Client Id. |
java.util.Vector |
getContacts()
Gets the Contacts |
java.lang.String |
getCreatedBy()
Gets Client Id that created the emailFwd. |
java.util.Date |
getCreatedDate()
Gets the date and time the emailFwd was created. |
java.util.Date |
getExpirationDate()
Gets the expiration date and time of the emailFwd. |
java.lang.String |
getForwardTo()
Gets the emailFwd To |
java.util.Date |
getLastTransferDate()
Gets the date and time of the last successful emailFwd transfer. |
java.lang.String |
getLastUpdatedBy()
Gets the Client Id that last updated the emailFwd. |
java.util.Date |
getLastUpdatedDate()
Gets the date and time of the last emailFwd update. |
java.lang.String |
getName()
Gets the emailFwd name |
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with EPPEmailFwdInfoResp . |
java.lang.String |
getRegistrant()
Get registrant |
java.lang.String |
getRoid()
Get roid. |
java.util.Vector |
getStatuses()
Get the current associated statuses |
java.lang.String |
getType()
Gets the EPP response type associated with EPPEmailFwdInfoResp . |
void |
setAuthInfo(EPPAuthInfo newAuthInfo)
Set authorization information |
void |
setClientId(java.lang.String aClientId)
Sets the emailFwd owning Client Id. |
void |
setContacts(java.util.Vector someContacts)
Sets the Contacts. |
void |
setCreatedBy(java.lang.String aCreatedBy)
Sets Client Id that created the emailFwd. |
void |
setCreatedDate(java.util.Date aDate)
Sets the date and time the emailFwd was created. |
void |
setExpirationDate(java.util.Date aExpirationDate)
Sets the expiration date and time of the emailFwd. |
void |
setForwardTo(java.lang.String aForwardTo)
Sets the emailFwd name. |
void |
setLastTransferDate(java.util.Date aLastTransferDate)
Sets the last date and time the emailFwd was successfully transferred. |
void |
setLastUpdatedBy(java.lang.String aLastUpdatedBy)
Sets the Client Id that last updated the emailFwd. |
void |
setLastUpdatedDate(java.util.Date aLastUpdatedDate)
Sets the last date and time the emailFwd was updated. |
void |
setName(java.lang.String aName)
Sets the emailFwd name. |
void |
setRegistrant(java.lang.String newRegistrant)
Set registrants. |
void |
setRoid(java.lang.String newRoid)
Set roid. |
void |
setStatuses(java.util.Vector newStatuses)
Set associated statuses. |
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 EPPEmailFwdInfoResp()
EPPEmailFwdInfoResp
default constructor. Must call
required setter methods before invoking encode
, which
include:setName
setRoid
setClientId
public EPPEmailFwdInfoResp(EPPTransId aTransId, java.lang.String aRoid, java.lang.String aName, java.lang.String aClientId)
EPPEmailFwdInfoResp
constuctor that takes the required attribute
values as paramters.
The setter methods of the optional
attributes can be called before invoking encode
.
aTransId
- Transaction Id associated with response.aRoid
- roidaName
- EmailFwd nameaClientId
- Owning Client Idpublic EPPEmailFwdInfoResp(EPPTransId aTransId, java.lang.String aRoid, java.lang.String aName, java.lang.String aForwardTo, java.lang.String aClientId, java.util.Vector someStatuses, java.lang.String aCreatedBy, java.util.Date aCreatedDate, EPPAuthInfo aAuthInfo)
EPPEmailFwdInfoResp
constuctor that takes the required and
the most common optional attribute values as paramters.
The setter methods of the additional optional
attributes can be called before invoking encode
.
aTransId
- Transaction Id associated with response.aRoid
- roidaName
- EmailFwd nameaForwardTo
- EmailFwdTo addressaClientId
- Owning Client IdsomeStatuses
- Current status descriptors associated with the
emailFwd.aCreatedBy
- Client Id of Registrar that created the emailFwdaCreatedDate
- Date the emailFwd was createdaAuthInfo
- Expirate date of the emailFwdMethod Detail |
---|
public java.util.Vector getStatuses()
public void setStatuses(java.util.Vector newStatuses)
newStatuses
- java.util.Vectorpublic java.lang.String getType()
EPPEmailFwdInfoResp
.
getType
in class EPPResponse
EPPEmailFwdInfoResp.ELM_NAME
public java.lang.String getNamespace()
EPPEmailFwdInfoResp
.
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPEmailFwdMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPEmailFwdInfoResp
with this
instance.
equals
in class EPPResponse
aObject
- Object to compare with.
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPEmailFwdInfoResp
.
clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPEmailFwdInfoResp
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 EPPResponse
String
if successful;
ERROR
otherwise.public java.lang.String getName()
null
otherwise.public void setName(java.lang.String aName)
aName
- EmailFwd Namepublic void setForwardTo(java.lang.String aForwardTo)
aForwardTo
- EmailFwd Namepublic java.lang.String getForwardTo()
null
otherwise.public java.lang.String getClientId()
public void setClientId(java.lang.String aClientId)
aClientId
- Client Idpublic java.util.Vector getContacts()
EPPEmailFwdContact
instances if defined;
null
otherwise.public void setContacts(java.util.Vector someContacts)
someContacts
- - Vector of EPPEmailFwdContact
instancespublic java.lang.String getCreatedBy()
null
otherwise.public void setCreatedBy(java.lang.String aCreatedBy)
aCreatedBy
- Client Id that created the emailFwd.public java.util.Date getCreatedDate()
null
otherwise.public void setCreatedDate(java.util.Date aDate)
aDate
- Date and time the emailFwd was created.public java.util.Date getExpirationDate()
null
otherwise.public void setExpirationDate(java.util.Date aExpirationDate)
aExpirationDate
- Expiration date and time of the emailFwd.public java.lang.String getLastUpdatedBy()
null
otherwise.public void setLastUpdatedBy(java.lang.String aLastUpdatedBy)
aLastUpdatedBy
- Client Id String that last updated the emailFwd.public java.util.Date getLastUpdatedDate()
null
if the emailFwd has not been updated since
creation.
null
otherwise.public void setLastUpdatedDate(java.util.Date aLastUpdatedDate)
aLastUpdatedDate
- Date and time of the last emailFwd update.public java.util.Date getLastTransferDate()
null
if the emailFwd has not been successfully
transferred since creation.
null
otherwise.public void setLastTransferDate(java.util.Date aLastTransferDate)
aLastTransferDate
- Date and time of the last succesful transferpublic EPPAuthInfo getAuthInfo()
null
otherwise;public java.lang.String getRegistrant()
public void setRegistrant(java.lang.String newRegistrant)
newRegistrant
- Stringpublic void setAuthInfo(EPPAuthInfo newAuthInfo)
newAuthInfo
- EPPAuthInfopublic java.lang.String getRoid()
public void setRoid(java.lang.String newRoid)
newRoid
- java.lang.Stringprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPEmailFwdInfoResp
instance.
doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element
factory.
EPPEncodeException
- Unable to encode EPPEmailFwdInfoResp
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPEmailFwdInfoResp
attributes from the aElement
DOM Element tree.
doDecode
in class EPPResponse
aElement
- Root DOM Element to decode
EPPEmailFwdInfoResp
from.
EPPDecodeException
- Unable to decode aElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |