Package org.netxms.client
Class PhysicalComponent
java.lang.Object
org.netxms.client.PhysicalComponent
Represents node's physical component
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedPhysicalComponent(NXCPMessage msg, long baseId, PhysicalComponent parent) Create object from NXCP message
- 
Method Summary
- 
Field Details- 
OTHERpublic static final int OTHER- See Also:
 
- 
UNKNOWNpublic static final int UNKNOWN- See Also:
 
- 
CHASSISpublic static final int CHASSIS- See Also:
 
- 
BACKPLANEpublic static final int BACKPLANE- See Also:
 
- 
CONTAINERpublic static final int CONTAINER- See Also:
 
- 
PSUpublic static final int PSU- See Also:
 
- 
FANpublic static final int FAN- See Also:
 
- 
SENSORpublic static final int SENSOR- See Also:
 
- 
MODULEpublic static final int MODULE- See Also:
 
- 
PORTpublic static final int PORT- See Also:
 
- 
STACKpublic static final int STACK- See Also:
 
 
- 
- 
Constructor Details- 
PhysicalComponentCreate object from NXCP message- Parameters:
- msg- The NXCPMessage
- baseId- The base ID
- parent- The PhysycalComponent parent
 
 
- 
- 
Method Details- 
getDisplayNameGet display name for component. Returns description if name is empty.- Returns:
- display name for component
 
- 
getIndexpublic int getIndex()Get unique index of this component.- Returns:
- unique index of this component
 
- 
getParentIndexpublic int getParentIndex()Get index of parent component.- Returns:
- index of parent component or 0 for root component
 
- 
getPositionpublic int getPosition()Get relative position within parent.- Returns:
- relative position within parent
 
- 
getIfIndexpublic int getIfIndex()- Returns:
- the ifIndex
 
- 
getPhyClasspublic 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
 
 
-