Package org.opennms.netmgt.dao.api
Class ServiceRef
- java.lang.Object
-
- org.opennms.netmgt.dao.api.ServiceRef
-
public class ServiceRef extends Object
A immutable reference to an IP-service
-
-
Constructor Summary
Constructors Constructor Description ServiceRef(int nodeId, InetAddress ipAddress, String serviceName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static ServiceRef
fromEvent(IEvent event)
static ServiceRef
fromIpInterface(OnmsIpInterface ipInterface, String serviceName)
InetAddress
getIpAddress()
int
getNodeId()
String
getServiceName()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ServiceRef
public ServiceRef(int nodeId, InetAddress ipAddress, String serviceName)
-
-
Method Detail
-
fromEvent
public static ServiceRef fromEvent(IEvent event)
-
fromIpInterface
public static ServiceRef fromIpInterface(OnmsIpInterface ipInterface, String serviceName)
-
getNodeId
public int getNodeId()
-
getIpAddress
public InetAddress getIpAddress()
-
getServiceName
public String getServiceName()
-
-