org.opennms.web.map.view
Class VLink

java.lang.Object
  extended by org.opennms.web.map.view.VLink

public final class VLink
extends Object

Author:
antonio TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
VLink(VElement elem1, VElement elem2)
           
 
Method Summary
 boolean equals(Object otherLink)
          Asserts if the links are linking the same elements without considering their statuses
 boolean equalsEndPoints(Object otherLink)
           
 VElement getFirst()
           
 String getId()
           
 int getLinkOperStatus()
           
 String getLinkOperStatusString()
           
 int getLinkTypeId()
           
 VElement getSecond()
           
 int hashCode()
           
 void setLinkOperStatus(int operStatus)
           
 void setLinkTypeId(int typeId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VLink

public VLink(VElement elem1,
             VElement elem2)
Method Detail

getLinkOperStatusString

public String getLinkOperStatusString()

equals

public boolean equals(Object otherLink)
Asserts if the links are linking the same elements without considering their statuses

Overrides:
equals in class Object

equalsEndPoints

public boolean equalsEndPoints(Object otherLink)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getFirst

public VElement getFirst()

getSecond

public VElement getSecond()

getLinkTypeId

public int getLinkTypeId()

setLinkTypeId

public void setLinkTypeId(int typeId)

getLinkOperStatus

public int getLinkOperStatus()

setLinkOperStatus

public void setLinkOperStatus(int operStatus)

toString

public String toString()
Overrides:
toString in class Object

getId

public String getId()


Copyright © 2009. All Rights Reserved.