Package org.netxms.client.objecttools
Class ObjectContextBase
java.lang.Object
org.netxms.client.objecttools.ObjectContextBase
Class to hold information about selected node
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidfillMessage(NXCPMessage msg, long varId, String textToExpand) longReturns alarm id or 0 if alarm is not setlongReturns object idinthashCode()booleanisNode()Check if related object is a node.
-
Field Details
-
object
-
alarm
-
-
Constructor Details
-
ObjectContextBase
-
-
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() -
equals
-
fillMessage
-