Interface MOTableRow

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      MOTableRow getBaseRow​()
      Gets the associated base row for this row (if this row is a dependent row).
      org.snmp4j.smi.OID getIndex​()
      Gets the row's index OID, for example the row index of the first row of an ifTable would return OID("1").
      org.snmp4j.smi.Variable getValue​(int column)
      Gets the value at the specified column index.
      void setBaseRow​(MOTableRow baseRow)
      Sets the associated base row.
      int size​()
      Returns the number of columns in this row.
    • Method Detail

      • getIndex

        org.snmp4j.smi.OID getIndex​()
        Gets the row's index OID, for example the row index of the first row of an ifTable would return OID("1").
        Returns:
        the row index of this row.
      • getValue

        org.snmp4j.smi.Variable getValue​(int column)
        Gets the value at the specified column index.
        Parameters:
        column - the zero-based column index.
        Returns:
        the value at the specified index.
      • getBaseRow

        MOTableRow getBaseRow​()
        Gets the associated base row for this row (if this row is a dependent row).
        Returns:
        the base row or null if this row is a base row itself.
      • setBaseRow

        void setBaseRow​(MOTableRow baseRow)
        Sets the associated base row.
        Parameters:
        baseRow - the base row.
      • size

        int size​()
        Returns the number of columns in this row.
        Returns:
        the column count.