4.1.0.610 20071213

ch.ecma.csta.binding
Class LampModeItem

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

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

Class LampModeItem.

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

Constructor Summary
LampModeItem()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.String getButton()
          Returns the value of field 'button'.
 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.Short getLampMode()
          Returns the value of field 'lampMode'.
 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 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 setLampMode(java.lang.Short lampMode)
          Sets the value of field 'lampMode'.
static LampModeItem unmarshalLampModeItem(java.io.Reader reader)
          Method unmarshalLampModeItem
 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

LampModeItem

public LampModeItem()
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'.

Returns:
String

getLamp

public java.lang.String getLamp()
Returns the value of field 'lamp'.

Returns:
String

getLampBrightness

public LampBrightness getLampBrightness()
Returns the value of field 'lampBrightness'.

Returns:
LampBrightness

getLampColor

public java.lang.Short getLampColor()
Returns the value of field 'lampColor'.

Returns:
Short

getLampMode

public java.lang.Short getLampMode()
Returns the value of field 'lampMode'.

Returns:
Short

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

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

setLamp

public void setLamp(java.lang.String lamp)
Sets the value of field 'lamp'.

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

setLampBrightness

public void setLampBrightness(LampBrightness lampBrightness)
Sets the value of field 'lampBrightness'.

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

setLampColor

public void setLampColor(java.lang.Short lampColor)
Sets the value of field 'lampColor'.

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

setLampMode

public void setLampMode(java.lang.Short lampMode)
Sets the value of field 'lampMode'.

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

unmarshalLampModeItem

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

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