|
4.1.0.610 20071213 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.ecma.csta.CastorObject
ch.ecma.csta.binding.ButtonPress
public class ButtonPress
Simulates the activation of a specified button at a specified device. The button model is described in Button.
The monitoring event sequence is aButtonPressEvent
for
both
device-type and call-type monitoring.
A Button Press could initiate any potential call sequences, but
these
sequences would appear as manually initiated activities
equivalent to a
user pressing the given button on the set. Invoking a
speed-dial button is
an example of a common use for the Button Press service.
The ButtonPress request has these parameters:
ButtonPress Request Parameters | ||
---|---|---|
device | Mandatory | Specifies the device's phsical element. |
button | Mandatory | Specifies the address of the button to be pressed on the device. Use the Button Id constant enumerations. |
extensions | Not Used |
Constructor Summary | |
---|---|
ButtonPress()
|
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 |
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 |
setDevice(DeviceID device)
Sets the value of field 'device'. |
void |
setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'. |
static ButtonPress |
unmarshalButtonPress(java.io.Reader reader)
Method unmarshalButtonPress |
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 |
---|
public ButtonPress()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class ch.ecma.csta.CastorObject
obj
-
public java.lang.String getButton()
public DeviceID getDevice()
public CSTACommonArguments getExtensions()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void setButton(java.lang.String button)
button
- the value of field 'button'.public void setDevice(DeviceID device)
device
- the value of field 'device'.public void setExtensions(CSTACommonArguments extensions)
extensions
- the value of field 'extensions'.public static ButtonPress unmarshalButtonPress(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
4.1.0.610 20071213 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |