Package org.opennms.netmgt.model.minion
Class OnmsMinion
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsMonitoringSystem
-
- org.opennms.netmgt.model.minion.OnmsMinion
-
- All Implemented Interfaces:
Serializable
@Entity public class OnmsMinion extends OnmsMonitoringSystem
The OnmsMinion represents a Minion node which has reported to OpenNMS.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.model.OnmsMonitoringSystem
TYPE_MINION, TYPE_OPENNMS
-
-
Constructor Summary
Constructors Constructor Description OnmsMinion()
OnmsMinion(String id, String location, String status, Date lastUpdated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getStatus()
void
setStatus(String status)
String
toString()
toString-
Methods inherited from class org.opennms.netmgt.model.OnmsMonitoringSystem
getId, getLabel, getLastUpdated, getLocation, getProperties, getType, setId, setLabel, setLastUpdated, setLocation, setProperties, setProperty, setType
-
-
-
-
Method Detail
-
getStatus
public String getStatus()
-
setStatus
public void setStatus(String status)
-
toString
public String toString()
Description copied from class:OnmsMonitoringSystem
toString
- Overrides:
toString
in classOnmsMonitoringSystem
- Returns:
- a
String
object.
-
-