|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.neu.ccs.demeter.aplib.cd.Subclass
| Field Summary | |
protected edu.neu.ccs.demeter.aplib.cd.ClassSpec |
classspec
|
protected edu.neu.ccs.demeter.aplib.cd.LocalLookahead |
locallookahead
|
| Constructor Summary | |
Subclass()
|
|
Subclass(edu.neu.ccs.demeter.aplib.cd.LocalLookahead locallookahead,
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()
|
edu.neu.ccs.demeter.aplib.cd.LocalLookahead |
get_locallookahead()
|
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 Subclass |
parse(InputStream in)
|
static Subclass |
parse(Reader in)
|
static Subclass |
parse(String s)
|
void |
set_classspec(edu.neu.ccs.demeter.aplib.cd.ClassSpec new_classspec)
|
void |
set_locallookahead(edu.neu.ccs.demeter.aplib.cd.LocalLookahead new_locallookahead)
|
void |
toClassName(ClassNameAccessor v)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected edu.neu.ccs.demeter.aplib.cd.LocalLookahead locallookahead
protected edu.neu.ccs.demeter.aplib.cd.ClassSpec classspec
| Constructor Detail |
public Subclass()
public Subclass(edu.neu.ccs.demeter.aplib.cd.LocalLookahead locallookahead,
edu.neu.ccs.demeter.aplib.cd.ClassSpec classspec)
| Method Detail |
public edu.neu.ccs.demeter.aplib.cd.LocalLookahead get_locallookahead()
public void set_locallookahead(edu.neu.ccs.demeter.aplib.cd.LocalLookahead new_locallookahead)
public edu.neu.ccs.demeter.aplib.cd.ClassSpec get_classspec()
public void set_classspec(edu.neu.ccs.demeter.aplib.cd.ClassSpec new_classspec)
public static Subclass parse(Reader in)
throws ParseException
ParseException
public static Subclass parse(InputStream in)
throws ParseException
ParseExceptionpublic static Subclass parse(String s)
public Object getSource()
EdgeI
getSource in interface EdgeIpublic Object getTarget()
EdgeI
getTarget in interface EdgeIpublic String getLabel()
EdgeI
getLabel in interface EdgeIpublic boolean isConstructionEdge()
EdgeI
isConstructionEdge in interface EdgeIpublic boolean isAlternationEdge()
EdgeI
isAlternationEdge in interface EdgeIpublic boolean isInheritanceEdge()
EdgeI
isInheritanceEdge in interface EdgeIpublic edu.neu.ccs.demeter.aplib.cd.ClassName get_classname()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void toClassName(ClassNameAccessor v)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||