Package org.opennms.netmgt.model
Class OnmsApplication
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsApplication
-
- All Implemented Interfaces:
Comparable<OnmsApplication>
@Entity public class OnmsApplication extends Object implements Comparable<OnmsApplication>
-
-
Constructor Summary
Constructors Constructor Description OnmsApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMonitoredService(OnmsMonitoredService service)voidaddPerspectiveLocation(OnmsMonitoringLocation perspectiveLocation)intcompareTo(OnmsApplication o)booleanequals(Object obj)IntegergetId()Set<OnmsMonitoredService>getMonitoredServices()StringgetName()Set<OnmsMonitoringLocation>getPerspectiveLocations()inthashCode()voidremoveMonitoredService(OnmsMonitoredService service)voidsetId(Integer id)voidsetMonitoredServices(Set<OnmsMonitoredService> services)voidsetName(String name)voidsetPerspectiveLocations(Set<OnmsMonitoringLocation> perspectiveLocations)StringtoString()
-
-
-
Method Detail
-
getId
public Integer getId()
-
setId
public void setId(Integer id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getMonitoredServices
public Set<OnmsMonitoredService> getMonitoredServices()
-
setMonitoredServices
public void setMonitoredServices(Set<OnmsMonitoredService> services)
-
addMonitoredService
public void addMonitoredService(OnmsMonitoredService service)
-
removeMonitoredService
public void removeMonitoredService(OnmsMonitoredService service)
-
getPerspectiveLocations
public Set<OnmsMonitoringLocation> getPerspectiveLocations()
-
setPerspectiveLocations
public void setPerspectiveLocations(Set<OnmsMonitoringLocation> perspectiveLocations)
-
addPerspectiveLocation
public void addPerspectiveLocation(OnmsMonitoringLocation perspectiveLocation)
-
compareTo
public int compareTo(OnmsApplication o)
- Specified by:
compareToin interfaceComparable<OnmsApplication>
-
-