Apache CXF API

org.apache.cxf.ws.rm.persistence
Class RMMessage

java.lang.Object
  extended by org.apache.cxf.ws.rm.persistence.RMMessage

public class RMMessage
extends Object


Constructor Summary
RMMessage()
           
 
Method Summary
 byte[] getContent()
          Returns the content of the message as an input stream.
 BigInteger getMessageNumber()
          Returns the message number of the message within its sequence.
 String getTo()
          Returns the to address of this message.
 void setContent(byte[] c)
          Sets the message content as an input stream.
 void setMessageNumber(BigInteger mn)
          Sets the message number of the message within its sequence.
 void setTo(String t)
          Sets the to address of this message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMMessage

public RMMessage()
Method Detail

getMessageNumber

public BigInteger getMessageNumber()
Returns the message number of the message within its sequence.

Returns:
the message number

setMessageNumber

public void setMessageNumber(BigInteger mn)
Sets the message number of the message within its sequence.

Parameters:
messageNumber - the message number

getContent

public byte[] getContent()
Returns the content of the message as an input stream.

Returns:
the content

setContent

public void setContent(byte[] c)
Sets the message content as an input stream.

Parameters:
content - the message content

getTo

public String getTo()
Returns the to address of this message.

Returns:
the to address

setTo

public void setTo(String t)
Sets the to address of this message.

Parameters:
t - the to address

Apache CXF API

Apache CXF