Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

luna
Class LunaEdge  view LunaEdge download LunaEdge.java

java.lang.Object
  extended byluna.LunaEdge
All Implemented Interfaces:
giny.model.Edge

public class LunaEdge
extends java.lang.Object
implements giny.model.Edge


Field Summary
protected  java.lang.String identifier
          The Identifier for this Edge
protected  giny.model.RootGraph rootGraph
          The RootGraph the we belong to
protected  int rootGraphIndex
          The Index of this Node in its RootGraph
 
Constructor Summary
LunaEdge(int root_graph_index, giny.model.RootGraph root_graph)
           
 
Method Summary
 java.lang.String getIdentifier()
           
 giny.model.RootGraph getRootGraph()
           
 int getRootGraphIndex()
           
 giny.model.Node getSource()
           
 giny.model.Node getTarget()
           
 boolean isDirected()
           
 boolean setIdentifier(java.lang.String new_id)
          There is no check to make sure that this is a unique id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

LunaEdge

public LunaEdge(int root_graph_index,
                giny.model.RootGraph root_graph)
Method Detail

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