01: package example.nz.org.take.compiler.userv.generated;
02:
03: import nz.org.take.rt.*;
04:
05: /**
06: * Class generated by the take compiler.
07: * @version Mon Feb 11 13:49:17 NZDT 2008
08: */
09: @SuppressWarnings("unchecked")
10: class KBFragement_not_hasRollBar_1 {
11: /**
12: * Method generated for query hasRollBar[in]
13: * @param slot1 input parameter generated from slot 0
14: * @return an iterator for instances of not_hasRollBar
15: */
16: public static ResultSet<not_hasRollBar> not_hasRollBar_1(
17: final example.nz.org.take.compiler.userv.domainmodel.Car slot1) {
18: DerivationController _derivation = new DefaultDerivationController();
19: ResultSet<not_hasRollBar> _result = new ResultSet(
20: KBFragement_not_hasRollBar_1.not_hasRollBar_1(slot1,
21: _derivation), _derivation);
22:
23: return _result;
24: }
25:
26: /**
27: * Method generated for query hasRollBar[in]
28: * @param source
29: * @param target
30: * @return an iterator
31: * code generated using velocity template JPredicate_11_neg.vm
32: */
33: static ResourceIterator<not_hasRollBar> not_hasRollBar_1(
34: final example.nz.org.take.compiler.userv.domainmodel.Car slot1,
35: final DerivationController _derivation) {
36: _derivation
37: .log(
38: "public boolean example.nz.org.take.compiler.userv.domainmodel.Car.hasRollBar()",
39: DerivationController.JAVA_METHOD);
40:
41: if (!slot1.hasRollBar()) {
42: not_hasRollBar result = new not_hasRollBar();
43: result.slot1 = slot1;
44:
45: return new SingletonIterator<not_hasRollBar>(result);
46: }
47:
48: return EmptyIterator.DEFAULT;
49: }
50: }
|