Skip to content
Snippets Groups Projects
Commit f8cba1de authored by Jürgen Walter's avatar Jürgen Walter
Browse files

minor style improvement

parent 5cb2e306
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@
package tools.descartes.pavo.result;
import tools.descartes.dql.models.mapping.domain.Result;
/**
* Abstract class for all results of the pavo result type
*
......@@ -41,35 +42,38 @@ public abstract class AbstractQuantitativeResult {
// aggregates value, davon erben mean, max, min usw
private String scaleX; // for values
private String scaleY;
private Result resultLocation=null;
private Result resultLocation = null;
private int DotsShown = 0;
String additionalDescription;
/**
*
* @param queryableElementN Queryable Element of the old EntityMapping
* @param metricN current Metric
* @param statisticTypeN current StatisticType
* @param scalexNeu String for x axis
* @param scaleyNeu String for y axis
* @param resultLocationNeu location of the original result (needed for online update of the result)
* @param queryableElementN
* Queryable Element of the old EntityMapping
* @param metric
* current Metric
* @param statisticTypeN
* current StatisticType
* @param scaleX
* String for x axis
* @param scaleY
* String for y axis
* @param resultLocation
* location of the original result (needed for online update of the
* result)
*/
public AbstractQuantitativeResult(String queryableElementN, String metricN, String description,
String statisticTypeN, String scalexNeu, String scaleyNeu, Result resultLocationNeu)
{
this.queryableElement=queryableElementN;
this.metric = metricN;
public AbstractQuantitativeResult(String queryableElementN, String metric, String description,
String statisticTypeN, String scaleX, String scaleY, Result resultLocation) {
this.queryableElement = queryableElementN;
this.metric = metric;
this.StatisticType = statisticTypeN;
this.scaleX = scalexNeu;
this.scaleY = scaleyNeu;
this.resultLocation = resultLocationNeu;
this.scaleX = scaleX;
this.scaleY = scaleY;
this.resultLocation = resultLocation;
this.additionalDescription = description;
}
// /**
// * @param queryableElementN Queryable Element of the old EntityMapping
// * @param metricN current Metric
......@@ -87,12 +91,7 @@ public abstract class AbstractQuantitativeResult {
// this.scaleY = scaleyNeu;
// this.resultLocation = null;
// }
/**
* @return the dotsShown
*/
......@@ -101,7 +100,8 @@ public abstract class AbstractQuantitativeResult {
}
/**
* @param dotsShown the dotsShown to set
* @param dotsShown
* the dotsShown to set
*/
public void setDotsShown(int dotsShown) {
DotsShown = dotsShown;
......@@ -114,55 +114,54 @@ public abstract class AbstractQuantitativeResult {
return resultLocation;
}
/**
* @param resultLocation the resultLocation to set
* @param resultLocation
* the resultLocation to set
*/
public void setResultLocation(Result resultLocation) {
this.resultLocation = resultLocation;
}
/**
* @return the queryableElement
*/
public String getQueryableElement() {
return queryableElement;
}
/**
* @param queryableElement the queryableElement to set
* @param queryableElement
* the queryableElement to set
*/
public void setQueryableElement(String queryableElement) {
this.queryableElement = queryableElement;
}
/**
* @return the metric
*/
public String getMetric() {
return metric;
}
/**
* @param metric the metric to set
* @param metric
* the metric to set
*/
public void setMetric(String metric) {
this.metric = metric;
}
/**
* @return the statisticType
*/
public String getStatisticType() {
return StatisticType;
}
/**
* @param statisticType the statisticType to set
* @param statisticType
* the statisticType to set
*/
public void setStatisticType(String statisticType) {
StatisticType = statisticType;
......@@ -176,7 +175,8 @@ public abstract class AbstractQuantitativeResult {
}
/**
* @param scaleX the scaleX to set
* @param scaleX
* the scaleX to set
*/
public void setScaleX(String scaleX) {
this.scaleX = scaleX;
......@@ -190,10 +190,11 @@ public abstract class AbstractQuantitativeResult {
}
/**
* @param scaleY the scaleY to set
* @param scaleY
* the scaleY to set
*/
public void setScaleY(String scaleY) {
this.scaleY = scaleY;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment