Class MeasurmentObject

java.lang.Object
cruise.umple.compiler.MeasurmentObject

public class MeasurmentObject
extends java.lang.Object
Designed to be implemnted ny metric classes. IT is used as an abstract representation for any type of Maasurment vistors (@see LLOCMetricVisitor).
  • Constructor Summary

    Constructors 
    Constructor Description
    MeasurmentObject​(int aCodeCount, int aCommentsCount)  
  • Method Summary

    Modifier and Type Method Description
    void delete()  
    int getCodeCount()  
    int getCommentsCount()  
    boolean setCodeCount​(int aCodeCount)  
    boolean setCommentsCount​(int aCommentsCount)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MeasurmentObject

      public MeasurmentObject​(int aCodeCount, int aCommentsCount)
  • Method Details

    • setCodeCount

      public boolean setCodeCount​(int aCodeCount)
    • setCommentsCount

      public boolean setCommentsCount​(int aCommentsCount)
    • getCodeCount

      public int getCodeCount()
    • getCommentsCount

      public int getCommentsCount()
    • delete

      public void delete()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object