|
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.GetLampMode
public class GetLampMode
Gets the lamp mode status of a specified button on a device. The GetLampMode request has these parameters:
GetLampMode Request Parameters | ||
---|---|---|
device | Mandatory | Specifies the physical element of the device. |
lamp | Optional | Specifies which lamp to query. If not provided, then information is obtained on all the lamps associated with the device. Lamp IDs are the same as the associated button IDs. |
extensions | Not Used |
GetLampModeResponse Parameters | ||
---|---|---|
lampModeList | Always provided | Specifies information about the specified lamp or about all lamps associated with the device if no lamp was provided in the request. Each item in the list is of type LampModeItem. The contents of a LampModeItem are shown in another table below. |
lamp | Not Used | |
extensions | Not Used |
LampModeItem Parameters | ||
---|---|---|
lamp | Always provided | Indicates the lampID of this lamp. LampID is a string. |
lampMode | Always provided | A value from 0 - 100 specifying how the lamp is lit (flutter, off, steady, etc.). |
lampBrightness | Not supported | |
lampColor | Always provided | A value from 0 - 100 specifying the color of the lamp. Currently, only information for green lamps is returned. |
button | Always provided | Specifies a button that is associated with this lamp. If null, then a button is not associated with this lamp. |
Constructor Summary | |
---|---|
GetLampMode()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
DeviceID |
getDevice()
Returns the value of field 'device'. |
CSTACommonArguments |
getExtensions()
Returns the value of field 'extensions'. |
java.lang.String |
getLamp()
Returns the value of field 'lamp'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
setDevice(DeviceID device)
Sets the value of field 'device'. |
void |
setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'. |
void |
setLamp(java.lang.String lamp)
Sets the value of field 'lamp'. |
static GetLampMode |
unmarshalGetLampMode(java.io.Reader reader)
Method unmarshalGetLampMode |
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 GetLampMode()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class ch.ecma.csta.CastorObject
obj
-
public DeviceID getDevice()
public CSTACommonArguments getExtensions()
public java.lang.String getLamp()
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 setDevice(DeviceID device)
device
- the value of field 'device'.public void setExtensions(CSTACommonArguments extensions)
extensions
- the value of field 'extensions'.public void setLamp(java.lang.String lamp)
lamp
- the value of field 'lamp'.public static GetLampMode unmarshalGetLampMode(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 |