ch.hortis.sonar.model
Class ProjectMeasure

java.lang.Object
  extended by ch.hortis.sonar.model.ProjectMeasure

public class ProjectMeasure
extends java.lang.Object


Constructor Summary
ProjectMeasure()
           
ProjectMeasure(Snapshot snapshot, MeasureKey key, java.lang.Double value)
           
ProjectMeasure(Snapshot snapshot, Metric metric, java.lang.Double value)
           
ProjectMeasure(Snapshot snapshot, Metric metric, java.lang.String value)
           
 
Method Summary
 Snapshot ephemereSnapshot()
           
 java.lang.Integer getId()
           
 Metric getMetric()
           
 Rule getRule()
           
 java.lang.Integer getRuleId()
           
 java.lang.Integer getRulesCategoryId()
           
 java.lang.Integer getSnapshotId()
           
 java.lang.Integer getTendency()
           
 java.lang.String getTextValue()
           
 java.lang.Double getValue()
           
 void setId(java.lang.Integer id)
           
 void setMetric(Metric metric)
           
 void setRule(Rule rule)
           
 void setRulesCategoryId(java.lang.Integer id)
           
 void setSnapshotId(java.lang.Integer snapshotId)
           
 void setTendency(java.lang.Integer tendency)
           
 void setTextValue(java.lang.String textValue)
           
 void setValue(java.lang.Double value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectMeasure

public ProjectMeasure(Snapshot snapshot,
                      MeasureKey key,
                      java.lang.Double value)

ProjectMeasure

public ProjectMeasure(Snapshot snapshot,
                      Metric metric,
                      java.lang.Double value)
               throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

ProjectMeasure

public ProjectMeasure(Snapshot snapshot,
                      Metric metric,
                      java.lang.String value)

ProjectMeasure

public ProjectMeasure()
Method Detail

getValue

public java.lang.Double getValue()

setValue

public void setValue(java.lang.Double value)
              throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getTextValue

public java.lang.String getTextValue()

setTextValue

public void setTextValue(java.lang.String textValue)

getTendency

public java.lang.Integer getTendency()

setTendency

public void setTendency(java.lang.Integer tendency)

getMetric

public Metric getMetric()

setMetric

public void setMetric(Metric metric)

getSnapshotId

public java.lang.Integer getSnapshotId()

setSnapshotId

public void setSnapshotId(java.lang.Integer snapshotId)

ephemereSnapshot

public Snapshot ephemereSnapshot()

getRule

public Rule getRule()

setRule

public void setRule(Rule rule)

getRulesCategoryId

public java.lang.Integer getRulesCategoryId()

setRulesCategoryId

public void setRulesCategoryId(java.lang.Integer id)

getId

public java.lang.Integer getId()

setId

public void setId(java.lang.Integer id)

toString

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

getRuleId

public java.lang.Integer getRuleId()


Copyright © 2007-2008 hortis. All Rights Reserved.