4.1.0.610 20071213

ch.ecma.csta.binding
Class RecordMessageResponse

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

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

The positive acknowledgement of a Record Message request.

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

Constructor Summary
RecordMessageResponse()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 CSTACommonArguments getExtensions()
          Returns the value of field 'extensions'.
 java.lang.String getResultingMessage()
          Returns the value of field 'resultingMessage'.
 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 setResultingMessage(java.lang.String resultingMessage)
          Sets the value of field 'resultingMessage'.
static RecordMessageResponse unmarshalRecordMessageResponse(java.io.Reader reader)
          Method unmarshalRecordMessageResponse
 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

RecordMessageResponse

public RecordMessageResponse()
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

getResultingMessage

public java.lang.String getResultingMessage()
Returns the value of field 'resultingMessage'. The field 'resultingMessage' has the following description: Specifies the resulting Message Identifier. Mandatory. If the application chose to default the filename to timestamp extension.wav, then this field specifies the resulting Wave file name (with timestamp and extension) without the ".wav" suffix. The file is placed on the connector server. A ".wav" needs to be appended to a numeric filename to get the complete filename as stored on the disk. If the application instead specified its own filename in the request's RecordMessagePrivateData, then this field is "0" and the file name is returned in the response's extension in RecordMessageResponsePrivateData.

Returns:
String

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'.

setResultingMessage

public void setResultingMessage(java.lang.String resultingMessage)
Sets the value of field 'resultingMessage'. The field 'resultingMessage' has the following description: Specifies the resulting Message Identifier. Mandatory. If the application chose to default the filename to timestamp extension.wav, then this field specifies the resulting Wave file name (with timestamp and extension) without the ".wav" suffix. The file is placed on the connector server. A ".wav" needs to be appended to a numeric filename to get the complete filename as stored on the disk. If the application instead specified its own filename in the request's RecordMessagePrivateData, then this field is "0" and the file name is returned in the response's extension in RecordMessageResponsePrivateData.

Parameters:
resultingMessage - the value of field 'resultingMessage'

unmarshalRecordMessageResponse

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

Parameters:
reader -
Returns:
RecordMessageResponse
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.