Sun Adapter for e-Mail API

com.stc.connector.emailadapter.webservice
Class EmailWebReceiveMessageResponse

java.lang.Object
  extended by com.stc.connector.emailadapter.webservice.EmailWebReceiveMessageResponse
All Implemented Interfaces:
com.stc.connector.persistence.bpel.PersistableData

public class EmailWebReceiveMessageResponse
extends java.lang.Object
implements com.stc.connector.persistence.bpel.PersistableData

Email web service receive message response wrapper.

Version:
$Version$
Author:
$Author: chuang $

Constructor Summary
EmailWebReceiveMessageResponse()
          Default constructor for EmailWebReceiveMessageResponse.
 
Method Summary
 EmailMessage getEmailMessage()
          Gets the EmailMessage instance.
 boolean getHasMore()
          Gets the hasMore property.
 void persist(com.stc.connector.persistence.bpel.DataOutput dout)
          Persists (serialize) this message.
 void restore(com.stc.connector.persistence.bpel.DataInput din)
          Restore (deserialize) this message.
 void setEmailMessage(EmailMessage emailMsg)
          Sets the EmailMessage instance.
 void setHasMore(boolean hasMore)
          Sets the hasMore property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailWebReceiveMessageResponse

public EmailWebReceiveMessageResponse()
Default constructor for EmailWebReceiveMessageResponse.

Method Detail

setEmailMessage

public void setEmailMessage(EmailMessage emailMsg)
Sets the EmailMessage instance.

Parameters:
emailMsg - The EmailMessage instance.

getEmailMessage

public EmailMessage getEmailMessage()
Gets the EmailMessage instance.

Returns:
The EmailMessage instance.

setHasMore

public void setHasMore(boolean hasMore)
Sets the hasMore property.

Parameters:
hasMore - The value of hasMore property.

getHasMore

public boolean getHasMore()
Gets the hasMore property.

Returns:
The value of hasMore property.

persist

public void persist(com.stc.connector.persistence.bpel.DataOutput dout)
             throws java.lang.Exception
Persists (serialize) this message.

Specified by:
persist in interface com.stc.connector.persistence.bpel.PersistableData
Parameters:
dout - The DataOutput to which the Java Bean message is persisted.
Throws:
java.lang.Exception - upon error.

restore

public void restore(com.stc.connector.persistence.bpel.DataInput din)
             throws java.lang.Exception
Restore (deserialize) this message.

Specified by:
restore in interface com.stc.connector.persistence.bpel.PersistableData
Parameters:
din - The DataInput from which the Java Bean message is restored.
Throws:
java.lang.Exception - upon error.

Sun Adapter for e-Mail API