Class ClassAccessGraphEdge

java.lang.Object
org.somox.metrics.helper.ClassAccessGraphEdge

public class ClassAccessGraphEdge extends Object
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 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

      public String toString()
      Overrides:
      toString in class Object