PlotComparisonItem.java 1000 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package de.tudarmstadt.informatik.hostage.ui2.model;
  2. import java.util.ArrayList;
  3. /**
  4. * Created by Julien on 16.02.14.
  5. */
  6. public class PlotComparisonItem{
  7. private Double value1;
  8. private Double value2;
  9. private String title;
  10. private int color;
  11. private ArrayList<PlotComparisonItem> otherData;
  12. public PlotComparisonItem(String title, int color , Double value1, Double value2){
  13. super();
  14. this.color = color;
  15. this.title = title;
  16. this.value1 = value1;
  17. this.value2 = value2;
  18. }
  19. public ArrayList<PlotComparisonItem> getOtherData(){
  20. return this.otherData;
  21. }
  22. public void setOtherData(ArrayList<PlotComparisonItem> other){
  23. this.otherData = other;
  24. }
  25. public String getTitle(){
  26. return this.title;
  27. }
  28. public Double getValue1(){
  29. return this.value1;
  30. }
  31. public Double getValue2(){
  32. return this.value2;
  33. }
  34. public int getColor(){
  35. return this.color;
  36. }
  37. }