Class ObjectContextBase

java.lang.Object
org.netxms.client.objecttools.ObjectContextBase

public class ObjectContextBase extends Object
Class to hold information about selected node
  • Field Details

  • Constructor Details

  • Method Details

    • isNode

      public boolean isNode()
      Check if related object is a node.
      Returns:
      true if related object is a node
    • getAlarmId

      public long getAlarmId()
      Returns alarm id or 0 if alarm is not set
      Returns:
      Context alarm id or 0 if alarm is not set
    • getObjectId

      public long getObjectId()
      Returns object id
      Returns:
      Context object id
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      See Also:
    • fillMessage

      public void fillMessage(NXCPMessage msg, long varId, String textToExpand)