001    package org.hackystat.projectbrowser.page.trajectory.datapanel;
002    
003    import java.io.Serializable;
004    
005    /**
006     * Class that represent an Y axis of some Telemetry Streams.
007     * @author Shaoxuan Zhang, Pavel Senin
008     *
009     */
010    public class TrajectoryStreamYAxis implements Serializable {
011      /** Support serialization. */
012      public static final long serialVersionUID = 1L;
013      /** the unit name of this axis. */
014      private String unitName;
015      /** the maximum of this axis. */
016      private double maximum;
017      /** the minimum of this axis. */
018      private double minimum;
019      /** the color of this axis. */
020      private String color;
021      
022      /**
023       * @param unitName the unit of this axis.
024       */
025      public TrajectoryStreamYAxis(String unitName) {
026        this.unitName = unitName;
027      }
028      /**
029       * @return the unitName
030       */
031      public String getUnitName() {
032        return unitName;
033      }
034      /**
035       * @param maximum the maximum to set
036       */
037      public void setMaximum(double maximum) {
038        this.maximum = maximum;
039      }
040      /**
041       * @return the maximum
042       */
043      public double getMaximum() {
044        return maximum;
045      }
046      /**
047       * @param minimum the minimum to set
048       */
049      public void setMinimum(double minimum) {
050        this.minimum = minimum;
051      }
052      /**
053       * @return the minimum
054       */
055      public double getMinimum() {
056        return minimum;
057      }
058      /**
059       * @param color the color to set
060       */
061      public void setColor(String color) {
062        this.color = color;
063      }
064      /**
065       * @return the color
066       */
067      public String getColor() {
068        return color;
069      }
070    }