org.eigenbase.jmi
Class JmiInheritanceEdge
java.lang.Object
org.jgrapht.graph.DefaultEdge
org.eigenbase.jmi.JmiInheritanceEdge
- All Implemented Interfaces:
- Serializable, Cloneable
public class JmiInheritanceEdge
- extends org.jgrapht.graph.DefaultEdge
JmiInheritanceEdge represents an inheritance relationship in a JMI model. The
source vertex is the superclass and the target vertex is the subclass.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/jmi/JmiInheritanceEdge.java#9 $
- Author:
- John V. Sichi
- See Also:
- Serialized Form
superClass
private final JmiClassVertex superClass
subClass
private final JmiClassVertex subClass
JmiInheritanceEdge
JmiInheritanceEdge(JmiClassVertex superClass,
JmiClassVertex subClass)
getSuperClass
public JmiClassVertex getSuperClass()
- Returns:
- the vertex representing the superclass
getSubClass
public JmiClassVertex getSubClass()
- Returns:
- the vertex representing the subclass
toString
public String toString()
- Overrides:
toString
in class org.jgrapht.graph.DefaultEdge
clone
public Object clone()
- Overrides:
clone
in class Object