cgl.narada.wsinfra.wsr.storage.impl
Class WsrStorageWidgetImpl

java.lang.Object
  extended by cgl.narada.wsinfra.wsr.storage.impl.WsrStorageWidgetImpl
All Implemented Interfaces:
WsrStorageWidget

public class WsrStorageWidgetImpl
extends Object
implements WsrStorageWidget


Constructor Summary
WsrStorageWidgetImpl()
           
WsrStorageWidgetImpl(String groupId, long sequenceNumber)
           
WsrStorageWidgetImpl(String groupId, long sequenceNumber, Calendar messageExpiryTime, String replyPattern, String replyTo, byte messageStatus, QName messageFault, long retransmissionTime, byte numberOfRetries, byte[] marshalledBytesOfEnvelopeDocument)
           
WsrStorageWidgetImpl(String groupId, long sequenceNumber, Calendar messageExpiryTime, String replyPattern, String replyTo, byte messageStatus, QName messageFault, long retransmissionTime, byte numberOfRetries, EnvelopeDocument envelopeDocument)
           
 
Method Summary
 byte[] getBytesOfEnvelopeDocument()
          Gets a serialized representation of the EnvelopeDocument
 EnvelopeDocument getEnvelope()
          Retrieves the EnvelopeDocument associated with message
 String getGroupId()
          Get the Group Id associated with the messsage
 Calendar getMessageExpiryTime()
          Get the Expiry Time associated with the messsage
 QName getMessageFault()
          Retrieves the message Fault
 byte getMessageStatus()
          Get the Status associated with the messsage
 byte getNumberOfRetries()
          gets the Number Of Retries associated with Retransmission of message
 String getReplyPattern()
          Get the ReplyPattern associated with the messsage
 String getReplyTo()
          Get the ReplyTo associated with the messsage
 long getRetransmissionTime()
          gets the retransmissionTime associated with message
 long getSequenceNumber()
          Get the Sequence Number associated with the messsage
 void setEnvelope(EnvelopeDocument envelopeDocument)
          sets EnvelopeDocument associated with message
 void setGroupId(String groupId)
          sets the Group Id associated with the messsage
 void setMessageExpiryTime(Calendar messageExpiryTime)
          sets the Expiry Time associated with the messsage
 void setMessageFault(QName messageFault)
          sets message Fault
 void setMessageStatus(byte messageStatus)
          sets the Status associated with the messsage
 void setNumberOfRetries(byte numberOfRetries)
          Sets the Number Of Retries associated with Retransimission of Message
 void setReplyPattern(String replyPattern)
          sets the ReplyPattern associated with the messsage
 void setReplyTo(String replyTo)
          sets the ReplyTo associated with the messsage
 void setRetransmissionTime(long retransmissionTime)
          Sets the RetransmissionTime of the message
 void setSequenceNumber(long sequenceNumber)
          Sets the Sequence Number associated with the messsage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsrStorageWidgetImpl

public WsrStorageWidgetImpl()

WsrStorageWidgetImpl

public WsrStorageWidgetImpl(String groupId,
                            long sequenceNumber)

WsrStorageWidgetImpl

public WsrStorageWidgetImpl(String groupId,
                            long sequenceNumber,
                            Calendar messageExpiryTime,
                            String replyPattern,
                            String replyTo,
                            byte messageStatus,
                            QName messageFault,
                            long retransmissionTime,
                            byte numberOfRetries,
                            EnvelopeDocument envelopeDocument)

WsrStorageWidgetImpl

public WsrStorageWidgetImpl(String groupId,
                            long sequenceNumber,
                            Calendar messageExpiryTime,
                            String replyPattern,
                            String replyTo,
                            byte messageStatus,
                            QName messageFault,
                            long retransmissionTime,
                            byte numberOfRetries,
                            byte[] marshalledBytesOfEnvelopeDocument)
Method Detail

getGroupId

public String getGroupId()
Get the Group Id associated with the messsage

Specified by:
getGroupId in interface WsrStorageWidget

setGroupId

public void setGroupId(String groupId)
sets the Group Id associated with the messsage


getSequenceNumber

public long getSequenceNumber()
Get the Sequence Number associated with the messsage

Specified by:
getSequenceNumber in interface WsrStorageWidget

setSequenceNumber

public void setSequenceNumber(long sequenceNumber)
Sets the Sequence Number associated with the messsage


getMessageExpiryTime

public Calendar getMessageExpiryTime()
Get the Expiry Time associated with the messsage

Specified by:
getMessageExpiryTime in interface WsrStorageWidget

setMessageExpiryTime

public void setMessageExpiryTime(Calendar messageExpiryTime)
sets the Expiry Time associated with the messsage


getReplyPattern

public String getReplyPattern()
Get the ReplyPattern associated with the messsage

Specified by:
getReplyPattern in interface WsrStorageWidget

setReplyPattern

public void setReplyPattern(String replyPattern)
sets the ReplyPattern associated with the messsage


getReplyTo

public String getReplyTo()
Get the ReplyTo associated with the messsage

Specified by:
getReplyTo in interface WsrStorageWidget

setReplyTo

public void setReplyTo(String replyTo)
sets the ReplyTo associated with the messsage


getMessageStatus

public byte getMessageStatus()
Get the Status associated with the messsage

Specified by:
getMessageStatus in interface WsrStorageWidget

setMessageStatus

public void setMessageStatus(byte messageStatus)
sets the Status associated with the messsage


getMessageFault

public QName getMessageFault()
Retrieves the message Fault

Specified by:
getMessageFault in interface WsrStorageWidget

setMessageFault

public void setMessageFault(QName messageFault)
sets message Fault


setRetransmissionTime

public void setRetransmissionTime(long retransmissionTime)
Sets the RetransmissionTime of the message


getRetransmissionTime

public long getRetransmissionTime()
gets the retransmissionTime associated with message

Specified by:
getRetransmissionTime in interface WsrStorageWidget

setNumberOfRetries

public void setNumberOfRetries(byte numberOfRetries)
Sets the Number Of Retries associated with Retransimission of Message


getNumberOfRetries

public byte getNumberOfRetries()
gets the Number Of Retries associated with Retransmission of message

Specified by:
getNumberOfRetries in interface WsrStorageWidget

getEnvelope

public EnvelopeDocument getEnvelope()
Retrieves the EnvelopeDocument associated with message

Specified by:
getEnvelope in interface WsrStorageWidget

setEnvelope

public void setEnvelope(EnvelopeDocument envelopeDocument)
sets EnvelopeDocument associated with message


getBytesOfEnvelopeDocument

public byte[] getBytesOfEnvelopeDocument()
Gets a serialized representation of the EnvelopeDocument

Specified by:
getBytesOfEnvelopeDocument in interface WsrStorageWidget


For comments and suggestions please send e-mail to The NaradaBrokering Project