edu.neu.ccs.demeter.aplib
Interface EdgeI

All Known Implementing Classes:
Interface, Part, Subclass, Superclass

public interface EdgeI

An edge in a class graph.


Method Summary
 String getLabel()
          The label of the edge, or null if it is not a construction edge.
 Object getSource()
          The source node of the edge.
 Object getTarget()
          The target node of the edge.
 boolean isAlternationEdge()
          Is the edge an alternation (subclass) edge?
 boolean isConstructionEdge()
          Is the edge a construction (part) edge?
 boolean isInheritanceEdge()
          Is the edge an inheritance (superclass) edge?
 

Method Detail

getSource

public Object getSource()
The source node of the edge.


getTarget

public Object getTarget()
The target node of the edge.


getLabel

public String getLabel()
The label of the edge, or null if it is not a construction edge.


isConstructionEdge

public boolean isConstructionEdge()
Is the edge a construction (part) edge?


isAlternationEdge

public boolean isAlternationEdge()
Is the edge an alternation (subclass) edge?


isInheritanceEdge

public boolean isInheritanceEdge()
Is the edge an inheritance (superclass) edge?