Package org.opennms.netmgt.model
Class OnmsApplication
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsApplication
-
- All Implemented Interfaces:
java.lang.Comparable<OnmsApplication>
@Entity public class OnmsApplication extends java.lang.Object implements java.lang.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(java.lang.Object obj)
java.lang.Integer
getId()
java.util.Set<OnmsMonitoredService>
getMonitoredServices()
java.lang.String
getName()
java.util.Set<OnmsMonitoringLocation>
getPerspectiveLocations()
int
hashCode()
void
removeMonitoredService(OnmsMonitoredService service)
void
setId(java.lang.Integer id)
void
setMonitoredServices(java.util.Set<OnmsMonitoredService> services)
void
setName(java.lang.String name)
void
setPerspectiveLocations(java.util.Set<OnmsMonitoringLocation> perspectiveLocations)
java.lang.String
toString()
-
-
-
Method Detail
-
getId
public java.lang.Integer getId()
-
setId
public void setId(java.lang.Integer id)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getMonitoredServices
public java.util.Set<OnmsMonitoredService> getMonitoredServices()
-
setMonitoredServices
public void setMonitoredServices(java.util.Set<OnmsMonitoredService> services)
-
addMonitoredService
public void addMonitoredService(OnmsMonitoredService service)
-
removeMonitoredService
public void removeMonitoredService(OnmsMonitoredService service)
-
getPerspectiveLocations
public java.util.Set<OnmsMonitoringLocation> getPerspectiveLocations()
-
setPerspectiveLocations
public void setPerspectiveLocations(java.util.Set<OnmsMonitoringLocation> perspectiveLocations)
-
addPerspectiveLocation
public void addPerspectiveLocation(OnmsMonitoringLocation perspectiveLocation)
-
compareTo
public int compareTo(OnmsApplication o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<OnmsApplication>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-