Week.java :  » App » mensaupb » mensa » upb » Android Open Source

Android Open Source » App » mensaupb 
mensaupb » mensa » upb » Week.java
package mensa.upb;

import java.util.ArrayList;

public class Week {

  private ArrayList<Day> dayList;
  private String kw;
  private String von;
  private String bis;
  private String stand;

  // Konstruktor
  public Week() {
    this.dayList = new ArrayList<Day>();
  }

  public void addToList(Day day) {
    this.dayList.add(day);
  }

  public ArrayList<Day> getDayList() {
    return dayList;
  }

  public void clearList() {
    this.dayList.clear();
  }

  public String getKW() {
    return kw;
  }

  public String getVon() {
    return von;
  }

  public String getBis() {
    return bis;
  }

  public String getStand() {
    return stand;
  }

  public void setKW(String kw) {
    this.kw = kw;
  }

  public void setVon(String von) {
    this.von = von;
  }

  public void setBis(String bis) {
    this.bis = bis;
  }

  public void setStand(String stand) {
    this.stand = stand;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.