4.1.0.610 20071213

ch.ecma.csta.binding
Class EmptiedEvent

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

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

Not supported.

Indicates the data of a Listener, DTMF or a subqueue in the Prompt Queue has been emptied. This event indicates the voice resource has entered the Null resource state.

For an illustration of this service, see ECMA 269, section 26.2.4.

The Completed Event could be caused by the followings:

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

Constructor Summary
EmptiedEvent()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 EventCause getCause()
          Returns the value of field 'cause'.
 CSTACommonArguments getExtensions()
          Returns the value of field 'extensions'.
 java.lang.String getMonitorCrossRefID()
          Returns the value of field 'monitorCrossRefID'.
 ConnectionID getOverConnection()
          Returns the value of field 'overConnection'.
 java.lang.String getResource()
          Returns the value of field 'resource'.
 ServicesPermitted getServicesPermitted()
          Returns the value of field 'servicesPermitted'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setCause(EventCause cause)
          Sets the value of field 'cause'.
 void setExtensions(CSTACommonArguments extensions)
          Sets the value of field 'extensions'.
 void setMonitorCrossRefID(java.lang.String monitorCrossRefID)
          Sets the value of field 'monitorCrossRefID'.
 void setOverConnection(ConnectionID overConnection)
          Sets the value of field 'overConnection'.
 void setResource(java.lang.String resource)
          Sets the value of field 'resource'.
 void setServicesPermitted(ServicesPermitted servicesPermitted)
          Sets the value of field 'servicesPermitted'.
static EmptiedEvent unmarshalEmptiedEvent(java.io.Reader reader)
          Method unmarshalEmptiedEvent
 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

EmptiedEvent

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

getCause

public EventCause getCause()
Returns the value of field 'cause'.

Returns:
EventCause

getExtensions

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

Returns:
CSTACommonArguments

getMonitorCrossRefID

public java.lang.String getMonitorCrossRefID()
Returns the value of field 'monitorCrossRefID'.

Returns:
String

getOverConnection

public ConnectionID getOverConnection()
Returns the value of field 'overConnection'. The field 'overConnection' has the following description:

Indicates the connection from which the event is generated.

Returns:
ConnectionID

getResource

public java.lang.String getResource()
Returns the value of field 'resource'. The field 'resource' has the following description:

Indicates the interactive voice resource for this service. This parameter is required if there are multiple interactive voice resource per connection.

Returns:
String

getServicesPermitted

public ServicesPermitted getServicesPermitted()
Returns the value of field 'servicesPermitted'.

Returns:
ServicesPermitted

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

setCause

public void setCause(EventCause cause)
Sets the value of field 'cause'.

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

setExtensions

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

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

setMonitorCrossRefID

public void setMonitorCrossRefID(java.lang.String monitorCrossRefID)
Sets the value of field 'monitorCrossRefID'.

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

setOverConnection

public void setOverConnection(ConnectionID overConnection)
Sets the value of field 'overConnection'. The field 'overConnection' has the following description:

Indicates the connection from which the event is generated.

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

setResource

public void setResource(java.lang.String resource)
Sets the value of field 'resource'. The field 'resource' has the following description:

Indicates the interactive voice resource for this service. This parameter is required if there are multiple interactive voice resource per connection.

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

setServicesPermitted

public void setServicesPermitted(ServicesPermitted servicesPermitted)
Sets the value of field 'servicesPermitted'.

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

unmarshalEmptiedEvent

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

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