|
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.LampItem
public class LampItem
Specifies information about a specified lamp.
Constructor Summary | |
---|---|
LampItem()
|
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'. |
java.lang.Short |
getLampColor()
Returns the value of field 'lampColor'. |
java.lang.String |
getLampLabel()
Returns the value of field 'lampLabel'. |
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 |
setLampColor(java.lang.Short lampColor)
Sets the value of field 'lampColor'. |
void |
setLampLabel(java.lang.String lampLabel)
Sets the value of field 'lampLabel'. |
static LampItem |
unmarshalLampItem(java.io.Reader reader)
Method unmarshalLampItem |
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 LampItem()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class ch.ecma.csta.CastorObject
obj
-
public java.lang.String getButton()
public java.lang.String getLamp()
lampID
of
this lamp. Mandatory.
public java.lang.Short getLampColor()
public java.lang.String getLampLabel()
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 setLamp(java.lang.String lamp)
lampID
of
this lamp. Mandatory.
lamp
- the value of field 'lamp'.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 static LampItem unmarshalLampItem(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 |