01: package org.osbl.demo.urlaub.process;
02:
03: import org.concern.controller.AbstractCondition;
04: import org.concern.controller.ConditionEvaluationException;
05: import org.osbl.demo.urlaub.model.UrlaubsAntrag;
06:
07: public class Storniert extends AbstractCondition<UrlaubsAntrag> {
08: public boolean eval(UrlaubsAntrag subject)
09: throws ConditionEvaluationException {
10: /*PROTECTED REGION ID(org.osbl.demo.urlaub.process.Storniert.eval) ENABLED START*/
11: return subject.getStorniert() != null;
12: /*PROTECTED REGION END*/
13: }
14: }
|