4.1.0.610 20071213

ch.ecma.csta.binding
Class ConcatenateMessage

java.lang.Object
  extended by ch.ecma.csta.CastorObject
      extended by ch.ecma.csta.binding.ConcatenateMessage
All Implemented Interfaces:
java.io.Serializable

public class ConcatenateMessage
extends ch.ecma.csta.CastorObject
implements java.io.Serializable

This request is not supported.

Combines multiple messages, in the sequence provided, into a single resulting message. The concatenated message consists of copies of the original messages. The concatenated message has a single set of attributes (for example, coder, message ID). The original messages are neither deleted nor otherwise changed.

This Service provides a unique Message Identifier for the resulting (concatenated) message that will remain valid until the resulting message is deleted.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
ConcatenateMessage()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 CSTACommonArguments getExtensions()
          Returns the value of field 'extensions'.
 MessageIDList getMessagesToConcatenate()
          Returns the value of field 'messagesToConcatenate'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setExtensions(CSTACommonArguments extensions)
          Sets the value of field 'extensions'.
 void setMessagesToConcatenate(MessageIDList messagesToConcatenate)
          Sets the value of field 'messagesToConcatenate'.
static ConcatenateMessage unmarshalConcatenateMessage(java.io.Reader reader)
          Method unmarshalConcatenateMessage
 void validate()
          Method validate
 
Methods inherited from class ch.ecma.csta.CastorObject
getOldSessionID, hashCode, setOldSessionID, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConcatenateMessage

public ConcatenateMessage()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden

Overrides:
equals in class ch.ecma.csta.CastorObject
Parameters:
obj -
Returns:
boolean

getExtensions

public CSTACommonArguments getExtensions()
Returns the value of field 'extensions'.

Returns:
CSTACommonArguments

getMessagesToConcatenate

public MessageIDList getMessagesToConcatenate()
Returns the value of field 'messagesToConcatenate'. The field 'messagesToConcatenate' has the following description: Specifies the list of MessageIDs of the messages to be concatenated. The list will contain at least two MessageIDs. Mandatory.

Returns:
MessageIDList

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setExtensions

public void setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'.

Parameters:
extensions - the value of field 'extensions'.

setMessagesToConcatenate

public void setMessagesToConcatenate(MessageIDList messagesToConcatenate)
Sets the value of field 'messagesToConcatenate'. The field 'messagesToConcatenate' has the following description: Specifies the list of MessageIDs of the messages to be concatenated. The list will contain at least two MessageIDs. Mandatory.

Parameters:
messagesToConcatenate - the value of field 'messagesToConcatenate'.

unmarshalConcatenateMessage

public static ConcatenateMessage unmarshalConcatenateMessage(java.io.Reader reader)
                                                      throws org.exolab.castor.xml.MarshalException,
                                                             org.exolab.castor.xml.ValidationException
Method unmarshalConcatenateMessage

Parameters:
reader -
Returns:
ConcatenateMessage
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException

4.1.0.610 20071213

Copyright 2004 Avaya Inc All Rights Reserved.