Package com.clowtown.mealplanner.policy

Examples of com.clowtown.mealplanner.policy.Category


      item.setName((String)arg0);
      break;
    case CATEGORY_COLUMN:
      if(arg0 instanceof String){
        String name = (String) arg0;
        Category newcat = new Category(name);
        comboBox.addItem(newcat);
        item.setCategory(newcat);
//        data.setElementAt(newcat, arg2);
      }
      else{
View Full Code Here


  }

  public void build(String guts) {
    String del = MySerialize.delim;
    StringTokenizer t = new StringTokenizer(guts,del);
    Category c = new Category();
    c.build(t.nextToken());
    this.category = c;
   
    name = t.nextToken();
    MenuPolicy p = new MenuPolicy();
    p.build(t.nextToken());
View Full Code Here

public class PolicyTest extends TestCase {

  Item dish;
  protected void setUp() throws Exception {
    super.setUp();
    dish = new MainDish(new Category("Pasta"),
        "spaghetti",
        new PolicyEnum[]{Frequency.BIMONTHLY,Season.WINTER},true,new Date());
  }
View Full Code Here

TOP

Related Classes of com.clowtown.mealplanner.policy.Category

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.