4.1.0.610 20071213

ch.ecma.csta.binding
Class Device

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

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

Class Device.

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

Constructor Summary
Device()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 DeviceAttributes getDeviceAttributes()
          Returns the value of field 'deviceAttributes'.
 DeviceCategory getDeviceCategory()
          Returns the value of field 'deviceCategory'.
 DeviceID getDeviceID()
          Returns the value of field 'deviceID'.
 java.lang.String getDeviceModelName()
          Returns the value of field 'deviceModelName'.
 NamedDeviceTypes getNamedDeviceTypes()
          Returns the value of field 'namedDeviceTypes'.
 DeviceID getNidGroup()
          Returns the value of field 'nidGroup'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setDeviceAttributes(DeviceAttributes deviceAttributes)
          Sets the value of field 'deviceAttributes'.
 void setDeviceCategory(DeviceCategory deviceCategory)
          Sets the value of field 'deviceCategory'.
 void setDeviceID(DeviceID deviceID)
          Sets the value of field 'deviceID'.
 void setDeviceModelName(java.lang.String deviceModelName)
          Sets the value of field 'deviceModelName'.
 void setNamedDeviceTypes(NamedDeviceTypes namedDeviceTypes)
          Sets the value of field 'namedDeviceTypes'.
 void setNidGroup(DeviceID nidGroup)
          Sets the value of field 'nidGroup'.
static Device unmarshalDevice(java.io.Reader reader)
          Method unmarshalDevice
 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

Device

public Device()
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

getDeviceAttributes

public DeviceAttributes getDeviceAttributes()
Returns the value of field 'deviceAttributes'.

Returns:
DeviceAttributes

getDeviceCategory

public DeviceCategory getDeviceCategory()
Returns the value of field 'deviceCategory'.

Returns:
DeviceCategory

getDeviceID

public DeviceID getDeviceID()
Returns the value of field 'deviceID'.

Returns:
DeviceID

getDeviceModelName

public java.lang.String getDeviceModelName()
Returns the value of field 'deviceModelName'.

Returns:
String

getNamedDeviceTypes

public NamedDeviceTypes getNamedDeviceTypes()
Returns the value of field 'namedDeviceTypes'.

Returns:
NamedDeviceTypes

getNidGroup

public DeviceID getNidGroup()
Returns the value of field 'nidGroup'.

Returns:
DeviceID

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

setDeviceAttributes

public void setDeviceAttributes(DeviceAttributes deviceAttributes)
Sets the value of field 'deviceAttributes'.

Parameters:
deviceAttributes - the value of field 'deviceAttributes'

setDeviceCategory

public void setDeviceCategory(DeviceCategory deviceCategory)
Sets the value of field 'deviceCategory'.

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

setDeviceID

public void setDeviceID(DeviceID deviceID)
Sets the value of field 'deviceID'.

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

setDeviceModelName

public void setDeviceModelName(java.lang.String deviceModelName)
Sets the value of field 'deviceModelName'.

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

setNamedDeviceTypes

public void setNamedDeviceTypes(NamedDeviceTypes namedDeviceTypes)
Sets the value of field 'namedDeviceTypes'.

Parameters:
namedDeviceTypes - the value of field 'namedDeviceTypes'

setNidGroup

public void setNidGroup(DeviceID nidGroup)
Sets the value of field 'nidGroup'.

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

unmarshalDevice

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

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