|
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.LampModeEvent
public class LampModeEvent
Indicates that the lamp mode status of a particular lamp has changed. This event may be generated in any one of the following ways:
SetLampMode
request.LampUpdatedEvent Parameters | ||
---|---|---|
monitorCrossRefID | Not used | Ignore. Currently only used internally. |
device | Always provided | Specifies the lamp identifier of the lamp on the device. Type is SubjectDeviceID. |
lamp | Always provided | Indicates the lampID of this lamp. LampID is a string. If the lamp has an associated button, the lamp ID and the button ID are the same. |
lampLabel | Not supported | |
lampMode | Always provided | A value from 0 - 100 specifying how the lamp is lit (flutter, off, steady, etc.). |
lampBrightness | Not supported | Always set to unspecified. |
lampColor | Always provided | A value from 0 - 100 specifying the color of the lamp. |
extensions | Not supported |
Constructor Summary | |
---|---|
LampModeEvent()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
SubjectDeviceID |
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'. |
LampBrightness |
getLampBrightness()
Returns the value of field 'lampBrightness'. |
java.lang.Short |
getLampColor()
Returns the value of field 'lampColor'. |
java.lang.String |
getLampLabel()
Returns the value of field 'lampLabel'. |
java.lang.Short |
getLampMode()
Returns the value of field 'lampMode'. |
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 |
setDevice(SubjectDeviceID 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'. |
void |
setLampBrightness(LampBrightness lampBrightness)
Sets the value of field 'lampBrightness'. |
void |
setLampColor(java.lang.Short lampColor)
Sets the value of field 'lampColor'. |
void |
setLampLabel(java.lang.String lampLabel)
Sets the value of field 'lampLabel'. |
void |
setLampMode(java.lang.Short lampMode)
Sets the value of field 'lampMode'. |
void |
setMonitorCrossRefID(java.lang.String monitorCrossRefID)
Sets the value of field 'monitorCrossRefID'. |
static LampModeEvent |
unmarshalLampModeEvent(java.io.Reader reader)
Method unmarshalLampModeEvent |
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 LampModeEvent()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class ch.ecma.csta.CastorObject
obj
-
public SubjectDeviceID getDevice()
public CSTACommonArguments getExtensions()
public java.lang.String getLamp()
public LampBrightness getLampBrightness()
lampMode
parameter). Actual visible brightness
levels are
lamp-dependent. Optional.
The complete set of possible values is:
public java.lang.Short getLampColor()
public java.lang.String getLampLabel()
public java.lang.Short getLampMode()
public java.lang.String getMonitorCrossRefID()
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(SubjectDeviceID 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 void setLampBrightness(LampBrightness lampBrightness)
lampMode
parameter). Actual visible brightness
levels are
lamp-dependent. Optional.
The complete set of possible values is:
lampBrightness
- the value of field 'lampBrightness'.public void setLampColor(java.lang.Short lampColor)
lampColor
- the value of field 'lampColor'.public void setLampLabel(java.lang.String lampLabel)
lampLabel
- the value of field 'lampLabel'.public void setLampMode(java.lang.Short lampMode)
lampMode
- the value of field 'lampMode'.public void setMonitorCrossRefID(java.lang.String monitorCrossRefID)
monitorCrossRefID
- the value of field
'monitorCrossRefID'.public static LampModeEvent unmarshalLampModeEvent(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 |