org.netxms.client
Class PhysicalComponent

java.lang.Object
  extended by org.netxms.client.PhysicalComponent

public class PhysicalComponent
extends java.lang.Object

Represents node's physical component


Field Summary
static int BACKPLANE
           
static int CHASSIS
           
static int CONTAINER
           
static int FAN
           
static int MODULE
           
static int OTHER
           
static int PORT
           
static int PSU
           
static int SENSOR
           
static int STACK
           
static int UNKNOWN
           
 
Constructor Summary
protected PhysicalComponent(NXCPMessage msg, long baseId, PhysicalComponent parent)
          Create object from NXCP message
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getFirmware()
           
 int getIfIndex()
           
 int getIndex()
           
 java.lang.String getModel()
           
 java.lang.String getName()
           
 PhysicalComponent getParent()
           
 int getParentIndex()
           
 int getPhyClass()
           
 java.lang.String getSerialNumber()
           
 java.util.List<PhysicalComponent> getSubcomponents()
           
 java.lang.String getVendor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OTHER

public static final int OTHER
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

CHASSIS

public static final int CHASSIS
See Also:
Constant Field Values

BACKPLANE

public static final int BACKPLANE
See Also:
Constant Field Values

CONTAINER

public static final int CONTAINER
See Also:
Constant Field Values

PSU

public static final int PSU
See Also:
Constant Field Values

FAN

public static final int FAN
See Also:
Constant Field Values

SENSOR

public static final int SENSOR
See Also:
Constant Field Values

MODULE

public static final int MODULE
See Also:
Constant Field Values

PORT

public static final int PORT
See Also:
Constant Field Values

STACK

public static final int STACK
See Also:
Constant Field Values
Constructor Detail

PhysicalComponent

protected PhysicalComponent(NXCPMessage msg,
                            long baseId,
                            PhysicalComponent parent)
Create object from NXCP message

Parameters:
msg -
baseId -
Method Detail

getIndex

public int getIndex()
Returns:
the index

getParentIndex

public int getParentIndex()
Returns:
the parentIndex

getIfIndex

public int getIfIndex()
Returns:
the ifIndex

getPhyClass

public int getPhyClass()
Returns:
the phyClass

getName

public java.lang.String getName()
Returns:
the name

getDescription

public java.lang.String getDescription()
Returns:
the description

getModel

public java.lang.String getModel()
Returns:
the model

getSerialNumber

public java.lang.String getSerialNumber()
Returns:
the serialNumber

getFirmware

public java.lang.String getFirmware()
Returns:
the firmware

getVendor

public java.lang.String getVendor()
Returns:
the vendor

getSubcomponents

public java.util.List<PhysicalComponent> getSubcomponents()
Returns:
the subcomponents

getParent

public PhysicalComponent getParent()
Returns:
the parent


Copyright © 2012. All Rights Reserved.