Package org.netxms.client
Class PhysicalComponent
java.lang.Object
org.netxms.client.PhysicalComponent
Represents node's physical component
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
PhysicalComponent
(NXCPMessage msg, long baseId, PhysicalComponent parent) Create object from NXCP message -
Method Summary
-
Field Details
-
OTHER
public static final int OTHER- See Also:
-
UNKNOWN
public static final int UNKNOWN- See Also:
-
CHASSIS
public static final int CHASSIS- See Also:
-
BACKPLANE
public static final int BACKPLANE- See Also:
-
CONTAINER
public static final int CONTAINER- See Also:
-
PSU
public static final int PSU- See Also:
-
FAN
public static final int FAN- See Also:
-
SENSOR
public static final int SENSOR- See Also:
-
MODULE
public static final int MODULE- See Also:
-
PORT
public static final int PORT- See Also:
-
STACK
public static final int STACK- See Also:
-
-
Constructor Details
-
PhysicalComponent
Create object from NXCP message- Parameters:
msg
- The NXCPMessagebaseId
- The base IDparent
- The PhysycalComponent parent
-
-
Method Details
-
getDisplayName
Get display name for component. Returns description if name is empty.- Returns:
- display name for component
-
getIndex
public int getIndex()Get unique index of this component.- Returns:
- unique index of this component
-
getParentIndex
public int getParentIndex()Get index of parent component.- Returns:
- index of parent component or 0 for root component
-
getPosition
public int getPosition()Get relative position within parent.- Returns:
- relative position within parent
-
getIfIndex
public int getIfIndex()- Returns:
- the ifIndex
-
getPhyClass
public int getPhyClass()- Returns:
- the phyClass
-
getName
- Returns:
- the name
-
getDescription
- Returns:
- the description
-
getModel
- Returns:
- the model
-
getSerialNumber
- Returns:
- the serialNumber
-
getFirmware
- Returns:
- the firmware
-
getVendor
- Returns:
- the vendor
-
getSubcomponents
- Returns:
- the subcomponents
-
getParent
- Returns:
- the parent
-