4.1.0.610 20071213

ch.ecma.csta.binding
Class DoNotDisturbEvent

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

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

Indicates that the Do Not Disturb feature has been changed for a device.

The supported parameters for the DoNotDisturbEvent are:

DoNotDisturbEvent Supported Parameters
monitorCrossRefID Mandatory Associates the event to an established monitor.
device Mandatory Indicates the device where the do not disturb feature was changed.
doNotDisturbOn Mandatory Indicates the status of the forwarding type. The complete set of possible values is:
  • FALSE - Do not disturb feature is not enabled
  • TRUE - Do not disturb feature is enabled

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

Constructor Summary
DoNotDisturbEvent()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 CallOrigination getCallOrigination()
          Returns the value of field 'callOrigination'.
 SubjectDeviceID getDevice()
          Returns the value of field 'device'.
 DoNotDisturbEventCallingDeviceList getDoNotDisturbEventCallingDeviceList()
          Returns the value of field 'doNotDisturbEventCallingDeviceList'.
 java.lang.Boolean getDoNotDisturbOn()
          Returns the value of field 'doNotDisturbOn'.
 CSTACommonArguments getExtensions()
          Returns the value of field 'extensions'.
 java.lang.String getMonitorCrossRefID()
          Returns the value of field 'monitorCrossRefID'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setCallOrigination(CallOrigination callOrigination)
          Sets the value of field 'callOrigination'.
 void setDevice(SubjectDeviceID device)
          Sets the value of field 'device'.
 void setDoNotDisturbEventCallingDeviceList(DoNotDisturbEventCallingDeviceList doNotDisturbEventCallingDeviceList)
          Sets the value of field 'doNotDisturbEventCallingDeviceList'.
 void setDoNotDisturbOn(java.lang.Boolean doNotDisturbOn)
          Sets the value of field 'doNotDisturbOn'.
 void setExtensions(CSTACommonArguments extensions)
          Sets the value of field 'extensions'.
 void setMonitorCrossRefID(java.lang.String monitorCrossRefID)
          Sets the value of field 'monitorCrossRefID'.
static DoNotDisturbEvent unmarshalDoNotDisturbEvent(java.io.Reader reader)
          Method unmarshalDoNotDisturbEvent
 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

DoNotDisturbEvent

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

getCallOrigination

public CallOrigination getCallOrigination()
Returns the value of field 'callOrigination'.

Returns:
CallOrigination

getDevice

public SubjectDeviceID getDevice()
Returns the value of field 'device'.

Returns:
SubjectDeviceID

getDoNotDisturbEventCallingDeviceList

public DoNotDisturbEventCallingDeviceList getDoNotDisturbEventCallingDeviceList()
Returns the value of field 'doNotDisturbEventCallingDeviceList'.

Returns:
DoNotDisturbEventCallingDeviceList

getDoNotDisturbOn

public java.lang.Boolean getDoNotDisturbOn()
Returns the value of field 'doNotDisturbOn'.

Returns:
Boolean

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

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

setCallOrigination

public void setCallOrigination(CallOrigination callOrigination)
Sets the value of field 'callOrigination'.

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

setDevice

public void setDevice(SubjectDeviceID device)
Sets the value of field 'device'.

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

setDoNotDisturbEventCallingDeviceList

public void setDoNotDisturbEventCallingDeviceList(DoNotDisturbEventCallingDeviceList doNotDisturbEventCallingDeviceList)
Sets the value of field 'doNotDisturbEventCallingDeviceList'.

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

setDoNotDisturbOn

public void setDoNotDisturbOn(java.lang.Boolean doNotDisturbOn)
Sets the value of field 'doNotDisturbOn'.

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

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

unmarshalDoNotDisturbEvent

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

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