luna
Class LunaEdge

java.lang.Object
luna.LunaEdge
- All Implemented Interfaces:
- giny.model.Edge
- public class LunaEdge
- extends java.lang.Object
- implements giny.model.Edge
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rootGraphIndex
protected int rootGraphIndex
- The Index of this Node in its RootGraph
rootGraph
protected giny.model.RootGraph rootGraph
- The RootGraph the we belong to
identifier
protected java.lang.String identifier
- The Identifier for this Edge
LunaEdge
public LunaEdge(int root_graph_index,
giny.model.RootGraph root_graph)
getRootGraph
public giny.model.RootGraph getRootGraph()
- Specified by:
getRootGraph in interface giny.model.Edge
getRootGraphIndex
public int getRootGraphIndex()
- Specified by:
getRootGraphIndex in interface giny.model.Edge
isDirected
public boolean isDirected()
- Specified by:
isDirected in interface giny.model.Edge
getSource
public giny.model.Node getSource()
- Specified by:
getSource in interface giny.model.Edge
getTarget
public giny.model.Node getTarget()
- Specified by:
getTarget in interface giny.model.Edge
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier in interface giny.model.Edge
setIdentifier
public boolean setIdentifier(java.lang.String new_id)
- Description copied from interface:
giny.model.Edge
- There is no check to make sure that this is a unique id
- Specified by:
setIdentifier in interface giny.model.Edge