|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcreek.util.graph.Edge
jcreek.gui.conceptmap.VisualRelation
Represents a specialization of Edge (as in a graph edge) that encapsulates a Creek Relation.
Field Summary |
Fields inherited from class jcreek.util.graph.Edge |
graph |
Constructor Summary | |
VisualRelation(VisualEntity from,
VisualEntity to,
Relation relation)
Creates a new VisualRelation. |
Method Summary | |
void |
connectAfterLoad(KnowledgeModel model)
|
boolean |
equals(java.lang.Object ob)
Two VisualRelations are considered equal if they encapsulate the same relation. |
Relation |
getRelation()
Returns the relation encapsulated by this VisualRelation. |
int |
hashCode()
Overridden to fulfill the hashCode() contract since equals() has been overridden. |
boolean |
represents(Relation r)
Returns true if the supplied relation is the same as the relation encapsulated by this VisualRelation. |
java.lang.String |
toString()
|
Methods inherited from class jcreek.util.graph.Edge |
clone, getFrom, getTo, remove |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public VisualRelation(VisualEntity from, VisualEntity to, Relation relation)
relation
- The Creek relation this VisualRelation encapsulates.Method Detail |
public boolean represents(Relation r)
public Relation getRelation()
public int hashCode()
public boolean equals(java.lang.Object ob)
public java.lang.String toString()
public void connectAfterLoad(KnowledgeModel model)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |