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 Details

    • mean

      public double mean
    • serie

      public String serie
    • timeUnitAndTime

      public String timeUnitAndTime
    • measurementUnit

      public String measurementUnit
    • replicate

      public int replicate
    • timeValueForComparision

      public int timeValueForComparision
    • ttestIsReference

      public boolean ttestIsReference
    • ttestIsSignificantDifferent

      public boolean ttestIsSignificantDifferent
    • timeValue

      public Integer timeValue
    • timeUnit

      public String timeUnit
    • isMeanValue

      public boolean isMeanValue
    • xmlReference

      public Measurement 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

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo​(Object obj)
      Specified by:
      compareTo in interface Comparable<Object>
    • getSOMcolumnDesc

      public String getSOMcolumnDesc​(boolean useSampleAverageValues)
    • 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

      public Integer getSeriesID()
    • isOutlier

      public boolean isOutlier()
    • setIsOutlier

      public void setIsOutlier​(boolean outlier, boolean removeOutlierFromXMLreference)
    • getTimePointFromTimeAndUnit

      public static int getTimePointFromTimeAndUnit​(String timeAndUnit)
    • getTimeUnitFromTimeAndUnit

      public static String getTimeUnitFromTimeAndUnit​(String timeAndUnit)
    • getMeasurement

      public Measurement getMeasurement()