Package org.netxms.client.objecttools
Class ObjectContextBase
java.lang.Object
org.netxms.client.objecttools.ObjectContextBase
Class to hold information about selected node
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
isNodepublic boolean isNode()Check if related object is a node.- Returns:
- true if related object is a node
 
- 
getAlarmIdpublic long getAlarmId()Returns alarm id or 0 if alarm is not set- Returns:
- Context alarm id or 0 if alarm is not set
 
- 
getObjectIdpublic long getObjectId()Returns object id- Returns:
- Context object id
 
- 
hashCodepublic int hashCode()
- 
equals
- 
fillMessage
 
-