org.opennms.netmgt.model
Class PathElement

java.lang.Object
  extended by org.opennms.netmgt.model.PathElement
All Implemented Interfaces:
Serializable

public class PathElement
extends Object
implements Serializable

PathElement class.

Version:
$Id: $
Author:
DJ Gregor
See Also:
Serialized Form

Constructor Summary
PathElement()
          Constructor for PathElement.
PathElement(String ipAddress, String serviceName)
          Constructor for PathElement.
 
Method Summary
 String getIpAddress()
          getIpAddress
 String getServiceName()
          getServiceName
 void setIpAddress(String ipAddress)
          setIpAddress
 void setServiceName(String serviceName)
          setServiceName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathElement

public PathElement()

Constructor for PathElement.


PathElement

public PathElement(String ipAddress,
                   String serviceName)

Constructor for PathElement.

Parameters:
ipAddress - a String object.
serviceName - a String object.
Method Detail

getIpAddress

public String getIpAddress()

getIpAddress

Returns:
a String object.

setIpAddress

public void setIpAddress(String ipAddress)

setIpAddress

Parameters:
ipAddress - a String object.

getServiceName

public String getServiceName()

getServiceName

Returns:
a String object.

setServiceName

public void setServiceName(String serviceName)

setServiceName

Parameters:
serviceName - a String object.


Copyright © 2011. All Rights Reserved.