Class PhysicalComponent


  • public class PhysicalComponent
    extends Object
    Represents node's physical component
    • Constructor Detail

      • PhysicalComponent

        protected PhysicalComponent​(org.netxms.base.NXCPMessage msg,
                                    long baseId,
                                    PhysicalComponent parent)
        Create object from NXCP message
        Parameters:
        msg - The NXCPMessage
        baseId - The base ID
        parent - The PhysycalComponent parent
    • Method Detail

      • getDisplayName

        public String 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

        public String getName()
        Returns:
        the name
      • getDescription

        public String getDescription()
        Returns:
        the description
      • getModel

        public String getModel()
        Returns:
        the model
      • getSerialNumber

        public String getSerialNumber()
        Returns:
        the serialNumber
      • getFirmware

        public String getFirmware()
        Returns:
        the firmware
      • getVendor

        public String getVendor()
        Returns:
        the vendor