org.opennms.netmgt.linkd
Class NodeToNodeLink

java.lang.Object
  extended by org.opennms.netmgt.linkd.NodeToNodeLink
All Implemented Interfaces:
Serializable

public class NodeToNodeLink
extends Object
implements Serializable

NodeToNodeLink class.

Version:
$Id: $
Author:
Antonio Russo
See Also:
Serialized Form

Constructor Summary
NodeToNodeLink(int nodeId, int ifindex)
          Constructor for NodeToNodeLink.
 
Method Summary
 boolean equals(Object o)
          
 int getIfindex()
          getIfindex
 int getNodeId()
          getNodeId
 int getNodeparentid()
          getNodeparentid
 int getParentifindex()
          getParentifindex
 int hashCode()
          
 void setNodeparentid(int nodeParentId)
          setNodeparentid
 void setParentifindex(int parentIfIndex)
          setParentifindex
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeToNodeLink

public NodeToNodeLink(int nodeId,
                      int ifindex)

Constructor for NodeToNodeLink.

Parameters:
nodeId - a int.
ifindex - a int.
Method Detail

toString

public String toString()

Overrides:
toString in class Object

getNodeparentid

public int getNodeparentid()

getNodeparentid

Returns:
Returns the nodeparentid.

setNodeparentid

public void setNodeparentid(int nodeParentId)

setNodeparentid

Parameters:
nodeParentId - The nodeparentid to set.

getParentifindex

public int getParentifindex()

getParentifindex

Returns:
Returns the parentifindex.

setParentifindex

public void setParentifindex(int parentIfIndex)

setParentifindex

Parameters:
parentIfIndex - The parentifindex to set.

getIfindex

public int getIfindex()

getIfindex

Returns:
Returns the ifindex.

getNodeId

public int getNodeId()

getNodeId

Returns:
a int.

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object o)

Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.