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
(tools.mdsd.jamopp.model.java.types.Type source, tools.mdsd.jamopp.model.java.types.Type target) ClassAccessGraphEdge
(tools.mdsd.jamopp.model.java.types.Type source, tools.mdsd.jamopp.model.java.types.Type target, int count) -
Method Summary
-
Constructor Details
-
ClassAccessGraphEdge
public ClassAccessGraphEdge(tools.mdsd.jamopp.model.java.types.Type source, tools.mdsd.jamopp.model.java.types.Type target, int count) -
ClassAccessGraphEdge
public ClassAccessGraphEdge(tools.mdsd.jamopp.model.java.types.Type source, tools.mdsd.jamopp.model.java.types.Type target)
-
-
Method Details
-
getSourceClazz
public tools.mdsd.jamopp.model.java.types.Type getSourceClazz()- Returns:
- the clazz
-
getTargetClazz
public tools.mdsd.jamopp.model.java.types.Type getTargetClazz() -
getCount
public int getCount()- Returns:
- the count
-
incrementCount
public void incrementCount() -
toString
-