Esempio n. 1
0
  @Override
  public Log.KPEvents FindKPEvents() {
    // TODO Auto-generated method stub
    Log log = FindAll();

    for (Object o : log.getCostOrPriceOrRoute()) {
      if (o.getClass() == Log.KPEvents.class) {
        return (Log.KPEvents) o;
      }
    }

    return null;
  }
Esempio n. 2
0
  @Override
  public ArrayList<Discontinue> FindDiscontinue() {
    // TODO Auto-generated method stub
    Log log = FindAll();

    ArrayList<Discontinue> discontinue = new ArrayList<Discontinue>();
    for (Object obj : log.getCostOrPriceOrRoute()) {
      if (obj.getClass() == Discontinue.class) {
        discontinue.add((Discontinue) obj);
      }
    }

    return discontinue;
  }
Esempio n. 3
0
  @Override
  public ArrayList<Timelimit> FindTimelimit() {
    // TODO Auto-generated method stub
    Log log = FindAll();

    ArrayList<Timelimit> timeLimit = new ArrayList<Timelimit>();
    for (Object obj : log.getCostOrPriceOrRoute()) {
      if (obj.getClass() == Timelimit.class) {
        timeLimit.add((Timelimit) obj);
      }
    }

    return timeLimit;
  }
Esempio n. 4
0
  @Override
  public ArrayList<Price> FindPrice() {
    // TODO Auto-generated method stub
    Log log = FindAll();

    ArrayList<Price> price = new ArrayList<Price>();
    for (Object obj : log.getCostOrPriceOrRoute()) {
      if (obj.getClass() == Price.class) {
        price.add((Price) obj);
      }
    }

    return price;
  }
Esempio n. 5
0
  @Override
  public ArrayList<Cost> FindCost() {
    // TODO Auto-generated method stub
    Log log = FindAll();

    ArrayList<Cost> cost = new ArrayList<Cost>();
    for (Object obj : log.getCostOrPriceOrRoute()) {
      if (obj.getClass() == Cost.class) {
        cost.add((Cost) obj);
      }
    }

    return cost;
  }
Esempio n. 6
0
  @Override
  public ArrayList<Mail> FindMail() {
    // TODO Auto-generated method stub
    Log log = FindAll();

    ArrayList<Mail> mail = new ArrayList<Mail>();
    for (Object obj : log.getCostOrPriceOrRoute()) {
      if (obj.getClass() == Mail.class) {
        mail.add((Mail) obj);
      }
    }

    return mail;
  }