edu.neu.ccs.demeter.aplib.cd
Class Interface

java.lang.Object
  |
  +--edu.neu.ccs.demeter.aplib.cd.Interface
All Implemented Interfaces:
EdgeI

public class Interface
extends Object
implements EdgeI


Field Summary
protected  edu.neu.ccs.demeter.aplib.cd.ClassSpec classspec
           
 
Constructor Summary
Interface()
           
Interface(edu.neu.ccs.demeter.aplib.cd.ClassSpec classspec)
           
 
Method Summary
 boolean equals(Object obj)
           
 edu.neu.ccs.demeter.aplib.cd.ClassName get_classname()
           
 edu.neu.ccs.demeter.aplib.cd.ClassSpec get_classspec()
           
 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.
 int hashCode()
           
 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?
static Interface parse(InputStream in)
           
static Interface parse(Reader in)
           
static Interface parse(String s)
           
 void set_classspec(edu.neu.ccs.demeter.aplib.cd.ClassSpec new_classspec)
           
 void toClassName(ClassNameAccessor v)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

classspec

protected edu.neu.ccs.demeter.aplib.cd.ClassSpec classspec
Constructor Detail

Interface

public Interface()

Interface

public Interface(edu.neu.ccs.demeter.aplib.cd.ClassSpec classspec)
Method Detail

get_classspec

public edu.neu.ccs.demeter.aplib.cd.ClassSpec get_classspec()

set_classspec

public void set_classspec(edu.neu.ccs.demeter.aplib.cd.ClassSpec new_classspec)

parse

public static Interface parse(Reader in)
                       throws ParseException
ParseException

parse

public static Interface parse(InputStream in)
                       throws ParseException
ParseException

parse

public static Interface parse(String s)

getSource

public Object getSource()
Description copied from interface: EdgeI
The source node of the edge.

Specified by:
getSource in interface EdgeI

getTarget

public Object getTarget()
Description copied from interface: EdgeI
The target node of the edge.

Specified by:
getTarget in interface EdgeI

getLabel

public String getLabel()
Description copied from interface: EdgeI
The label of the edge, or null if it is not a construction edge.

Specified by:
getLabel in interface EdgeI

isConstructionEdge

public boolean isConstructionEdge()
Description copied from interface: EdgeI
Is the edge a construction (part) edge?

Specified by:
isConstructionEdge in interface EdgeI

isAlternationEdge

public boolean isAlternationEdge()
Description copied from interface: EdgeI
Is the edge an alternation (subclass) edge?

Specified by:
isAlternationEdge in interface EdgeI

isInheritanceEdge

public boolean isInheritanceEdge()
Description copied from interface: EdgeI
Is the edge an inheritance (superclass) edge?

Specified by:
isInheritanceEdge in interface EdgeI

get_classname

public edu.neu.ccs.demeter.aplib.cd.ClassName get_classname()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toClassName

public void toClassName(ClassNameAccessor v)