cisco.uc.cuae.mgmt
Class Management.Device

java.lang.Object
  extended by cisco.uc.cuae.mgmt.Management.Device
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Management.CtiDevice, Management.MonitoredCtiDevice, Management.SccpDevice, Management.SipDevice, Management.SipTrunk
Enclosing interface:
Management

public static class Management.Device
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 java.lang.String deviceStatus
          the current status.
 java.lang.String directoryNumber
          The directory number of this DevicePoolDevice
 java.lang.String id
          The database ID of this DevicePoolDevice
 java.lang.String name
          The value (name or MAC) of this DevicePoolDevice
 java.lang.String parentId
          The database ID of the parent device pool this device is in
 
Constructor Summary
Management.Device()
          Constructs the Device.
Management.Device(java.lang.String id, java.lang.String parentId, java.lang.String name, java.lang.String directoryNumber, java.lang.String deviceStatus)
          Constructs the Device.
 
Method Summary
 java.lang.String getDeviceStatus()
          Gets the value.
 java.lang.String getDirectoryNumber()
          Gets the value.
 java.lang.String getId()
          Gets the value.
 java.lang.String getName()
          Gets the value.
 java.lang.String getParentId()
          Gets the value.
 void setDeviceStatus(java.lang.String value)
          Sets the value.
 void setDirectoryNumber(java.lang.String value)
          Sets the value.
 void setId(java.lang.String value)
          Sets the value.
 void setName(java.lang.String value)
          Sets the value.
 void setParentId(java.lang.String value)
          Sets the value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public java.lang.String id
The database ID of this DevicePoolDevice


parentId

public java.lang.String parentId
The database ID of the parent device pool this device is in


name

public java.lang.String name
The value (name or MAC) of this DevicePoolDevice


directoryNumber

public java.lang.String directoryNumber
The directory number of this DevicePoolDevice


deviceStatus

public java.lang.String deviceStatus
the current status. Valid values are: UNSPECIFIED: the current state is unknown DISABLED_STOPPED: the device is disabled and has been stopped DISABLED_ERROR: the device is disabled because of an error while starting DISABLED_RUNNING: not currently used (marked disabled but not yet stopped) ENABLED_STOPPED: enabled but not yet running ENABLED_RUNNING: enabled and running

Constructor Detail

Management.Device

public Management.Device()
Constructs the Device. Don't init any fields.


Management.Device

public Management.Device(java.lang.String id,
                         java.lang.String parentId,
                         java.lang.String name,
                         java.lang.String directoryNumber,
                         java.lang.String deviceStatus)
Constructs the Device.

Parameters:
id - The database ID of this DevicePoolDevice
parentId - The database ID of the parent device pool this device is in
name - The value (name or MAC) of this DevicePoolDevice
directoryNumber - The directory number of this DevicePoolDevice
deviceStatus - the current status. Valid values are: deviceStatus UNSPECIFIED: the current state is unknown deviceStatus DISABLED_STOPPED: the device is disabled and has been stopped deviceStatus DISABLED_ERROR: the device is disabled because of an error while starting deviceStatus DISABLED_RUNNING: not currently used (marked disabled but not yet stopped) deviceStatus ENABLED_STOPPED: enabled but not yet running deviceStatus ENABLED_RUNNING: enabled and running
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getId

public java.lang.String getId()
Gets the value. The database ID of this DevicePoolDevice

Returns:
the value.

setId

public void setId(java.lang.String value)
Sets the value. The database ID of this DevicePoolDevice

Parameters:
value - the value.

getParentId

public java.lang.String getParentId()
Gets the value. The database ID of the parent device pool this device is in

Returns:
the value.

setParentId

public void setParentId(java.lang.String value)
Sets the value. The database ID of the parent device pool this device is in

Parameters:
value - the value.

getName

public java.lang.String getName()
Gets the value. The value (name or MAC) of this DevicePoolDevice

Returns:
the value.

setName

public void setName(java.lang.String value)
Sets the value. The value (name or MAC) of this DevicePoolDevice

Parameters:
value - the value.

getDirectoryNumber

public java.lang.String getDirectoryNumber()
Gets the value. The directory number of this DevicePoolDevice

Returns:
the value.

setDirectoryNumber

public void setDirectoryNumber(java.lang.String value)
Sets the value. The directory number of this DevicePoolDevice

Parameters:
value - the value.

getDeviceStatus

public java.lang.String getDeviceStatus()
Gets the value. the current status. Valid values are: UNSPECIFIED: the current state is unknown DISABLED_STOPPED: the device is disabled and has been stopped DISABLED_ERROR: the device is disabled because of an error while starting DISABLED_RUNNING: not currently used (marked disabled but not yet stopped) ENABLED_STOPPED: enabled but not yet running ENABLED_RUNNING: enabled and running

Returns:
the value.

setDeviceStatus

public void setDeviceStatus(java.lang.String value)
Sets the value. the current status. Valid values are: UNSPECIFIED: the current state is unknown DISABLED_STOPPED: the device is disabled and has been stopped DISABLED_ERROR: the device is disabled because of an error while starting DISABLED_RUNNING: not currently used (marked disabled but not yet stopped) ENABLED_STOPPED: enabled but not yet running ENABLED_RUNNING: enabled and running

Parameters:
value - the value.


Copyright © 2010. All Rights Reserved.