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 void
addMonitoredService(OnmsMonitoredService service)
void
addPerspectiveLocation(OnmsMonitoringLocation perspectiveLocation)
int
compareTo(OnmsApplication o)
boolean
equals(Object obj)
Integer
getId()
Set<OnmsMonitoredService>
getMonitoredServices()
String
getName()
Set<OnmsMonitoringLocation>
getPerspectiveLocations()
int
hashCode()
void
removeMonitoredService(OnmsMonitoredService service)
void
setId(Integer id)
void
setMonitoredServices(Set<OnmsMonitoredService> services)
void
setName(String name)
void
setPerspectiveLocations(Set<OnmsMonitoringLocation> perspectiveLocations)
String
toString()
-
-
-
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:
compareTo
in interfaceComparable<OnmsApplication>
-
-