4.1.0.610 20071213

ch.ecma.csta.binding
Class DeviceList

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

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

Class DeviceList.

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

Constructor Summary
DeviceList()
           
 
Method Summary
 void addDevice(Device vDevice)
          Method addDevice
 void addDevice(int index, Device vDevice)
          Method addDevice
 java.util.Enumeration enumerateDevice()
          Method enumerateDevice
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 Device[] getDevice()
          Method getDevice
 Device getDevice(int index)
          Method getDevice
 int getDeviceCount()
          Method getDeviceCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllDevice()
          Method removeAllDevice
 Device removeDevice(int index)
          Method removeDevice
 void setDevice(Device[] deviceArray)
          Method setDevice
 void setDevice(int index, Device vDevice)
          Method setDevice
static DeviceList unmarshalDeviceList(java.io.Reader reader)
          Method unmarshalDeviceList
 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

DeviceList

public DeviceList()
Method Detail

addDevice

public void addDevice(Device vDevice)
               throws java.lang.IndexOutOfBoundsException
Method addDevice

Parameters:
vDevice -
Throws:
java.lang.IndexOutOfBoundsException

addDevice

public void addDevice(int index,
                      Device vDevice)
               throws java.lang.IndexOutOfBoundsException
Method addDevice

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

enumerateDevice

public java.util.Enumeration enumerateDevice()
Method enumerateDevice

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

getDevice

public Device getDevice(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getDevice

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

getDevice

public Device[] getDevice()
Method getDevice

Returns:
Device

getDeviceCount

public int getDeviceCount()
Method getDeviceCount

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

removeAllDevice

public void removeAllDevice()
Method removeAllDevice


removeDevice

public Device removeDevice(int index)
Method removeDevice

Parameters:
index -
Returns:
Device

setDevice

public void setDevice(int index,
                      Device vDevice)
               throws java.lang.IndexOutOfBoundsException
Method setDevice

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

setDevice

public void setDevice(Device[] deviceArray)
Method setDevice

Parameters:
deviceArray -

unmarshalDeviceList

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

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