Sun Adapter for e-Mail API

com.stc.connector.emailadapter.webservice
Class EmailWebHasMessageResponse

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

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

Email web service has message response wrapper.

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

Constructor Summary
EmailWebHasMessageResponse()
          Default constructor for EmailWebHasMessageResponse.
 
Method Summary
 boolean getHasMessage()
          Gets the hasMessage 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 setHasMessage(boolean hasMessage)
          Sets the hasMessage property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailWebHasMessageResponse

public EmailWebHasMessageResponse()
Default constructor for EmailWebHasMessageResponse.

Method Detail

setHasMessage

public void setHasMessage(boolean hasMessage)
Sets the hasMessage property.

Parameters:
hasMessage - The value of hasMessage property.

getHasMessage

public boolean getHasMessage()
Gets the hasMessage property.

Returns:
The value of hasMessage 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