4.1.0.610 20071213

ch.ecma.csta.binding
Class DeviceListItems

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

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

Class DeviceListItems.

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

Constructor Summary
DeviceListItems()
           
 
Method Summary
 void addDevice(DeviceID vDevice)
          Method addDevice
 void addDevice(int index, DeviceID vDevice)
          Method addDevice
 java.util.Enumeration enumerateDevice()
          Method enumerateDevice
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 DeviceID[] getDevice()
          Method getDevice
 DeviceID 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
 DeviceID removeDevice(int index)
          Method removeDevice
 void setDevice(DeviceID[] deviceArray)
          Method setDevice
 void setDevice(int index, DeviceID vDevice)
          Method setDevice
static DeviceListItems unmarshalDeviceListItems(java.io.Reader reader)
          Method unmarshalDeviceListItems
 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

DeviceListItems

public DeviceListItems()
Method Detail

addDevice

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

Parameters:
vDevice -
Throws:
java.lang.IndexOutOfBoundsException

addDevice

public void addDevice(int index,
                      DeviceID 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 DeviceID getDevice(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getDevice

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

getDevice

public DeviceID[] getDevice()
Method getDevice

Returns:
DeviceID

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 DeviceID removeDevice(int index)
Method removeDevice

Parameters:
index -
Returns:
DeviceID

setDevice

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

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

setDevice

public void setDevice(DeviceID[] deviceArray)
Method setDevice

Parameters:
deviceArray -

unmarshalDeviceListItems

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

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