4.1.0.610 20071213

ch.ecma.csta.binding
Class LampList

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

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

Specifies information about the specified lamp or about all lamps associated with the device if no lamp was provided in the request.

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

Constructor Summary
LampList()
           
 
Method Summary
 void addLampItem(int index, LampItem vLampItem)
          Method addLampItem
 void addLampItem(LampItem vLampItem)
          Method addLampItem
 java.util.Enumeration enumerateLampItem()
          Method enumerateLampItem
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 LampItem[] getLampItem()
          Method getLampItem
 LampItem getLampItem(int index)
          Method getLampItem
 int getLampItemCount()
          Method getLampItemCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllLampItem()
          Method removeAllLampItem
 LampItem removeLampItem(int index)
          Method removeLampItem
 void setLampItem(int index, LampItem vLampItem)
          Method setLampItem
 void setLampItem(LampItem[] lampItemArray)
          Method setLampItem
static LampList unmarshalLampList(java.io.Reader reader)
          Method unmarshalLampList
 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

LampList

public LampList()
Method Detail

addLampItem

public void addLampItem(LampItem vLampItem)
                 throws java.lang.IndexOutOfBoundsException
Method addLampItem

Parameters:
vLampItem -
Throws:
java.lang.IndexOutOfBoundsException

addLampItem

public void addLampItem(int index,
                        LampItem vLampItem)
                 throws java.lang.IndexOutOfBoundsException
Method addLampItem

Parameters:
index -
vLampItem -
Throws:
java.lang.IndexOutOfBoundsException

enumerateLampItem

public java.util.Enumeration enumerateLampItem()
Method enumerateLampItem

Returns:
Enumeration

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

getLampItem

public LampItem getLampItem(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getLampItem

Parameters:
index -
Returns:
LampItem
Throws:
java.lang.IndexOutOfBoundsException

getLampItem

public LampItem[] getLampItem()
Method getLampItem

Returns:
LampItem

getLampItemCount

public int getLampItemCount()
Method getLampItemCount

Returns:
int

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

removeAllLampItem

public void removeAllLampItem()
Method removeAllLampItem


removeLampItem

public LampItem removeLampItem(int index)
Method removeLampItem

Parameters:
index -
Returns:
LampItem

setLampItem

public void setLampItem(int index,
                        LampItem vLampItem)
                 throws java.lang.IndexOutOfBoundsException
Method setLampItem

Parameters:
index -
vLampItem -
Throws:
java.lang.IndexOutOfBoundsException

setLampItem

public void setLampItem(LampItem[] lampItemArray)
Method setLampItem

Parameters:
lampItemArray -

unmarshalLampList

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

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