示例#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;
  }
示例#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;
  }
示例#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;
  }
示例#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;
  }
示例#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;
  }
示例#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;
  }