Class MyComparableDataPoint
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.ipk_graffitiview.chartDrawComponent.MyComparableDataPoint
- All Implemented Interfaces:
Comparable<Object>
public class MyComparableDataPoint extends Object implements Comparable<Object>
- Author:
- Christian Klukas (c) 2004-2008 IPK-Gatersleben
-
Field Summary
Fields Modifier and Type Field Description boolean
isMeanValue
double
mean
String
measurementUnit
int
replicate
String
serie
String
timeUnit
String
timeUnitAndTime
Integer
timeValue
int
timeValueForComparision
boolean
ttestIsReference
boolean
ttestIsSignificantDifferent
Measurement
xmlReference
-
Constructor Summary
Constructors Constructor Description MyComparableDataPoint(boolean isMeanValue, double mean, double stddev, String serie, String timeUnitAndTime, String measurementUnit, int timeValueForComparision, boolean ttestIsReference, boolean ttestIsSignificantDifferent, String timeUnit, int seriesID, int replicate, Measurement reference)
-
Method Summary
Modifier and Type Method Description int
compareTo(Object obj)
Measurement
getMeasurement()
int
getReplicateCount()
Returns the number of replicates, if this datapoint represents a mean-value datapoint.Integer
getSeriesID()
String
getSOMcolumnDesc(boolean useSampleAverageValues)
double
getStddev()
double
getStddev(boolean useStdErrInsteadOfStdDev)
static int
getTimePointFromTimeAndUnit(String timeAndUnit)
static String
getTimeUnitFromTimeAndUnit(String timeAndUnit)
boolean
isOutlier()
void
setIsOutlier(boolean outlier, boolean removeOutlierFromXMLreference)
void
setStddev(double stddev)
String
toString()
-
Field Details
-
mean
public double mean -
serie
-
timeUnitAndTime
-
measurementUnit
-
replicate
public int replicate -
timeValueForComparision
public int timeValueForComparision -
ttestIsReference
public boolean ttestIsReference -
ttestIsSignificantDifferent
public boolean ttestIsSignificantDifferent -
timeValue
-
timeUnit
-
isMeanValue
public boolean isMeanValue -
xmlReference
-
-
Constructor Details
-
MyComparableDataPoint
public MyComparableDataPoint(boolean isMeanValue, double mean, double stddev, String serie, String timeUnitAndTime, String measurementUnit, int timeValueForComparision, boolean ttestIsReference, boolean ttestIsSignificantDifferent, String timeUnit, int seriesID, int replicate, Measurement reference)- Parameters:
d
-serie
-timeUnitAndTime
-timeValueForComparision
-reference
-
-
-
Method Details
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Object>
-
getSOMcolumnDesc
-
setStddev
public void setStddev(double stddev) -
getStddev
public double getStddev() -
getStddev
public double getStddev(boolean useStdErrInsteadOfStdDev) -
getReplicateCount
public int getReplicateCount()Returns the number of replicates, if this datapoint represents a mean-value datapoint. Otherwise it returns the replicateID.- Returns:
- Number of replicates, if this object represents a sample-mean value, otherwise it returns the replicateId of the replicate value.
-
getSeriesID
-
isOutlier
public boolean isOutlier() -
setIsOutlier
public void setIsOutlier(boolean outlier, boolean removeOutlierFromXMLreference) -
getTimePointFromTimeAndUnit
-
getTimeUnitFromTimeAndUnit
-
getMeasurement
-