4.1.0.610 20071213

ch.ecma.csta.binding
Class SetButtonInformation

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

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

This request is not supported.

Sets the button information of a specified button on a device.

The monitoring event sequence is a ButtonInformationEvent for both device-type and call-type monitoring.

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

Constructor Summary
SetButtonInformation()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.String getButton()
          Returns the value of field 'button'.
 DeviceID getButtonAssociatedNumber()
          Returns the value of field 'buttonAssociatedNumber'.
 java.lang.String getButtonLabel()
          Returns the value of field 'buttonLabel'.
 DeviceID getDevice()
          Returns the value of field 'device'.
 CSTACommonArguments getExtensions()
          Returns the value of field 'extensions'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setButton(java.lang.String button)
          Sets the value of field 'button'.
 void setButtonAssociatedNumber(DeviceID buttonAssociatedNumber)
          Sets the value of field 'buttonAssociatedNumber'.
 void setButtonLabel(java.lang.String buttonLabel)
          Sets the value of field 'buttonLabel'.
 void setDevice(DeviceID device)
          Sets the value of field 'device'.
 void setExtensions(CSTACommonArguments extensions)
          Sets the value of field 'extensions'.
static SetButtonInformation unmarshalSetButtonInformation(java.io.Reader reader)
          Method unmarshalSetButtonInformation
 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

SetButtonInformation

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

getButton

public java.lang.String getButton()
Returns the value of field 'button'. The field 'button' has the following description: Specifies the button to be set. Mandatory.

Returns:
String

getButtonAssociatedNumber

public DeviceID getButtonAssociatedNumber()
Returns the value of field 'buttonAssociatedNumber'. The field 'buttonAssociatedNumber' has the following description: Specifies a diallable string (in diallable digit format, such as a speed-dial number) to be associated with the button.

Returns:
DeviceID

getButtonLabel

public java.lang.String getButtonLabel()
Returns the value of field 'buttonLabel'. The field 'buttonLabel' has the following description: Specifies the label by which a button may be referenced. The maximum length supported by the switching function is provided via the capabilities exchange services.

Returns:
String

getDevice

public DeviceID getDevice()
Returns the value of field 'device'. The field 'device' has the following description: Specifies the device's physical element. Mandatory.

Returns:
DeviceID

getExtensions

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

Returns:
CSTACommonArguments

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

setButton

public void setButton(java.lang.String button)
Sets the value of field 'button'. The field 'button' has the following description: Specifies the button to be set. Mandatory.

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

setButtonAssociatedNumber

public void setButtonAssociatedNumber(DeviceID buttonAssociatedNumber)
Sets the value of field 'buttonAssociatedNumber'. The field 'buttonAssociatedNumber' has the following description: Specifies a diallable string (in diallable digit format, such as a speed-dial number) to be associated with the button.

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

setButtonLabel

public void setButtonLabel(java.lang.String buttonLabel)
Sets the value of field 'buttonLabel'. The field 'buttonLabel' has the following description: Specifies the label by which a button may be referenced. The maximum length supported by the switching function is provided via the capabilities exchange services.

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

setDevice

public void setDevice(DeviceID device)
Sets the value of field 'device'. The field 'device' has the following description: Specifies the device's physical element. Mandatory.

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

setExtensions

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

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

unmarshalSetButtonInformation

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

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