Package org.somox.metrics.helper
Class ClassAccessGraphEdge
java.lang.Object
org.somox.metrics.helper.ClassAccessGraphEdge
This class is a struct containing a
Type
and a counter. It is used to model an a link
from a node in a graph of classes to the contained class in this structure. The count is the
weight of the link. It is used to model the number of links going from the source node to the
class in this struct.-
Constructor Summary
ConstructorDescriptionClassAccessGraphEdge
(org.emftext.language.java.types.Type source, org.emftext.language.java.types.Type target) ClassAccessGraphEdge
(org.emftext.language.java.types.Type source, org.emftext.language.java.types.Type target, int count) -
Method Summary
-
Constructor Details
-
ClassAccessGraphEdge
public ClassAccessGraphEdge(org.emftext.language.java.types.Type source, org.emftext.language.java.types.Type target, int count) -
ClassAccessGraphEdge
public ClassAccessGraphEdge(org.emftext.language.java.types.Type source, org.emftext.language.java.types.Type target)
-
-
Method Details
-
getSourceClazz
public org.emftext.language.java.types.Type getSourceClazz()- Returns:
- the clazz
-
getTargetClazz
public org.emftext.language.java.types.Type getTargetClazz() -
getCount
public int getCount()- Returns:
- the count
-
incrementCount
public void incrementCount() -
toString
-