public final class VLink extends Object
VLink class.
Constructor and Description |
---|
VLink(int elem1Id,
String elem1Type,
int elem2Id,
String elem2Type,
int linkTypeId)
Constructor for VLink.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object otherLink)
Asserts if the links are linking the same elements without considering their statuses
|
String |
getFirst()
getFirst
|
String |
getId()
Getter for the field
id . |
String |
getIdWithoutLinkType()
getIdWithoutLinkType
|
String |
getLinkStatusString()
Getter for the field
linkStatusString . |
int |
getLinkTypeId()
Getter for the field
linkTypeId . |
Set<Integer> |
getNodeids()
Getter for the field
nodeids . |
int |
getNumberOfLinks()
Getter for the field
numberOfLinks . |
String |
getSecond()
getSecond
|
Map<String,Integer> |
getVlinkStatusMap()
Getter for the field
vlinkStatusMap . |
int |
increaseLinks()
increaseLinks
|
int |
increaseStatusMapLinks(String statusString)
increaseStatusMapLinks
|
void |
setLinkStatusString(String linkStatusString)
Setter for the field
linkStatusString . |
void |
setLinkTypeId(int typeId)
Setter for the field
linkTypeId . |
void |
setNodeids(Set<Integer> nodeids)
Setter for the field
nodeids . |
void |
setNumberOfLinks(int numberOfLinks)
Setter for the field
numberOfLinks . |
void |
setVlinkStatusMap(Map<String,Integer> vlinkStatusMap)
Setter for the field
vlinkStatusMap . |
String |
toString()
toString
|
public Map<String,Integer> getVlinkStatusMap()
Getter for the field vlinkStatusMap
.
public void setVlinkStatusMap(Map<String,Integer> vlinkStatusMap)
Setter for the field vlinkStatusMap
.
vlinkStatusMap
- a java$util$Map object.public int getNumberOfLinks()
Getter for the field numberOfLinks
.
public void setNumberOfLinks(int numberOfLinks)
Setter for the field numberOfLinks
.
numberOfLinks
- a int.public String getLinkStatusString()
Getter for the field linkStatusString
.
String
object.public void setLinkStatusString(String linkStatusString)
Setter for the field linkStatusString
.
linkStatusString
- a String
object.public boolean equals(Object otherLink)
public int getLinkTypeId()
Getter for the field linkTypeId
.
public void setLinkTypeId(int typeId)
Setter for the field linkTypeId
.
typeId
- a int.public String toString()
toString
public String getIdWithoutLinkType()
getIdWithoutLinkType
String
object.public int increaseLinks()
increaseLinks
public int increaseStatusMapLinks(String statusString)
increaseStatusMapLinks
statusString
- a String
object.Copyright © 2015. All rights reserved.