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

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

public class Part
extends edu.neu.ccs.demeter.aplib.cd.PartOrSyntax
implements EdgeI


Field Summary
protected  edu.neu.ccs.demeter.aplib.cd.ClassSpec classspec
           
protected  edu.neu.ccs.demeter.aplib.cd.PartKeyword_List keywords
           
protected  edu.neu.ccs.demeter.aplib.cd.PartInit partinit
           
protected  edu.neu.ccs.demeter.aplib.cd.PartName partname
           
 
Constructor Summary
Part()
           
Part(edu.neu.ccs.demeter.aplib.cd.PartName partname, edu.neu.ccs.demeter.aplib.cd.PartKeyword_List keywords, edu.neu.ccs.demeter.aplib.cd.ClassSpec classspec, edu.neu.ccs.demeter.aplib.cd.PartInit partinit)
           
 
Method Summary
 void __trav_getPartType(edu.neu.ccs.demeter.aplib.cd.__V_Part_getPartType __v0)
           
 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.PartKeyword_List get_keywords()
           
 edu.neu.ccs.demeter.aplib.cd.PartInit get_partinit()
           
 edu.neu.ccs.demeter.aplib.cd.PartName get_partname()
           
 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 hasGetter()
           
 int hashCode()
           
 boolean hasSetter()
           
 boolean isAlternationEdge()
          Is the edge an alternation (subclass) edge?
 boolean isConstructionEdge()
          Is the edge a construction (part) edge?
 boolean isDerived()
           
 boolean isFinal()
           
 boolean isInheritanceEdge()
          Is the edge an inheritance (superclass) edge?
 boolean isStatic()
           
 void markDerived()
           
static Part parse(InputStream in)
           
static Part parse(Reader in)
           
static Part parse(String s)
           
 void set_classspec(edu.neu.ccs.demeter.aplib.cd.ClassSpec new_classspec)
           
 void set_keywords(edu.neu.ccs.demeter.aplib.cd.PartKeyword_List new_keywords)
           
 void set_partinit(edu.neu.ccs.demeter.aplib.cd.PartInit new_partinit)
           
 void set_partname(edu.neu.ccs.demeter.aplib.cd.PartName new_partname)
           
 void toClassName(ClassNameAccessor v)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

partname

protected edu.neu.ccs.demeter.aplib.cd.PartName partname

keywords

protected edu.neu.ccs.demeter.aplib.cd.PartKeyword_List keywords

classspec

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

partinit

protected edu.neu.ccs.demeter.aplib.cd.PartInit partinit
Constructor Detail

Part

public Part()

Part

public Part(edu.neu.ccs.demeter.aplib.cd.PartName partname,
            edu.neu.ccs.demeter.aplib.cd.PartKeyword_List keywords,
            edu.neu.ccs.demeter.aplib.cd.ClassSpec classspec,
            edu.neu.ccs.demeter.aplib.cd.PartInit partinit)
Method Detail

get_partname

public edu.neu.ccs.demeter.aplib.cd.PartName get_partname()

set_partname

public void set_partname(edu.neu.ccs.demeter.aplib.cd.PartName new_partname)

get_keywords

public edu.neu.ccs.demeter.aplib.cd.PartKeyword_List get_keywords()

set_keywords

public void set_keywords(edu.neu.ccs.demeter.aplib.cd.PartKeyword_List new_keywords)

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)

get_partinit

public edu.neu.ccs.demeter.aplib.cd.PartInit get_partinit()

set_partinit

public void set_partinit(edu.neu.ccs.demeter.aplib.cd.PartInit new_partinit)

parse

public static Part parse(Reader in)
                  throws ParseException
ParseException

parse

public static Part parse(InputStream in)
                  throws ParseException
ParseException

parse

public static Part 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()

isFinal

public boolean isFinal()

isStatic

public boolean isStatic()

isDerived

public boolean isDerived()

hasGetter

public boolean hasGetter()

hasSetter

public boolean hasSetter()

markDerived

public void markDerived()

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)

__trav_getPartType

public void __trav_getPartType(edu.neu.ccs.demeter.aplib.cd.__V_Part_getPartType __v0)