ch.hortis.sonar.service
Class MeasureKey

java.lang.Object
  extended by ch.hortis.sonar.service.MeasureKey
All Implemented Interfaces:
java.lang.Cloneable

public class MeasureKey
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
protected  Metric metric
           
protected  Rule rule
           
protected  java.lang.Integer rulesCategoryId
           
 
Constructor Summary
MeasureKey(Metric metric)
           
MeasureKey(Metric metric, java.lang.Integer rulesCategoryId, Rule rule)
           
MeasureKey(ProjectMeasure measure)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object obj)
           
 Metric getMetric()
           
 Rule getRule()
           
 java.lang.Integer getRulesCategoryId()
           
 int hashCode()
           
 MeasureKey setMetric(Metric metric)
           
 MeasureKey setRule(Rule rule)
           
 MeasureKey setRulesCategoryId(java.lang.Integer id)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metric

protected Metric metric

rulesCategoryId

protected java.lang.Integer rulesCategoryId

rule

protected Rule rule
Constructor Detail

MeasureKey

public MeasureKey(Metric metric,
                  java.lang.Integer rulesCategoryId,
                  Rule rule)

MeasureKey

public MeasureKey(Metric metric)

MeasureKey

public MeasureKey(ProjectMeasure measure)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getMetric

public Metric getMetric()

setMetric

public MeasureKey setMetric(Metric metric)

getRulesCategoryId

public java.lang.Integer getRulesCategoryId()

setRulesCategoryId

public MeasureKey setRulesCategoryId(java.lang.Integer id)

getRule

public Rule getRule()

setRule

public MeasureKey setRule(Rule rule)


Copyright © 2007-2008 hortis. All Rights Reserved.