package model.condition;

public class Conditions {

	public Conditions() {
		// TODO Auto-generated constructor stub
	}

}

@@ -19,16 +19,37 @@
 ition;%0A%0A
+import java.util.*;%0A%0A
 public c
@@ -70,76 +70,391 @@
 s %7B%0A
-%0A%09public Conditions() %7B%0A%09%09// TODO Auto-generated constructor stub
+%09private Collection%3CCondition%3E myConditions = new ArrayList%3CCondition%3E();%0A%0A%09public Conditions() %7B%0A%09%7D%0A%09%0A%09public boolean check()%7B%0A%09%09for (Condition c : myConditions)%7B%0A%09%09%09if(!c.check())%0A%09%09%09%09return false;%0A%09%09%7D%0A%09%09return true;%0A%09%7D%0A%0A%09public boolean addCondition(Condition c)%7B%0A%09%09return myConditions.add(c);%0A%09%7D%0A%09%0A%09public boolean removeCondition(Condition c)%7B%0A%09%09return myConditions.remove(c);
 %0A%09%7D%0A
+%09
 %0A%7D%0A

set conditions as a glorified Collection