|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.memphis.ccrg.lida.framework.shared.ExtendedId
public class ExtendedId
Generalized Id for Both Node
s and Link
s.
Link's source must be a Node
. Link's sink can be a Node or a Link.
Constructor Summary | |
---|---|
ExtendedId(int nodeId)
Constructs an ExtendedId for a Node |
|
ExtendedId(int sourceNodeId,
ExtendedId sinkId,
int categoryId)
Constructs an ExtendedId for a Link . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getSourceNodeId()
Returns source Node id |
int |
hashCode()
|
boolean |
isComplexLink()
Returns whether this ExtendedId is for a Link between a node and a Link. |
boolean |
isNodeId()
Returns whether id is for a node. |
boolean |
isSimpleLink()
Returns whether this ExtendedId is for a Link between 2 nodes. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExtendedId(int sourceNodeId, ExtendedId sinkId, int categoryId)
Link
.
sourceNodeId
- Node's idsinkId
- Sink's idcategoryId
- Link's categorypublic ExtendedId(int nodeId)
Node
nodeId
- Node's idMethod Detail |
---|
public int getSourceNodeId()
public boolean isNodeId()
public boolean isSimpleLink()
Link
between 2 nodes.
public boolean isComplexLink()
Link
between a node and a Link.
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |