01: package test.nz.org.take.compiler.annotations.generated;
02:
03: import nz.org.take.rt.*;
04:
05: /**
06: * Interface generated by the take compiler.
07: * @version Tue Jan 29 15:34:01 NZDT 2008
08: */
09: @SuppressWarnings("unchecked")
10: public interface KB {
11: /**
12: * Method generated for query /is_father_of[in,in]
13: * @param slot1 input parameter generated from slot 0
14: * @param slot2 input parameter generated from slot 1
15: * @return an iterator for instances of is_father_of
16: */
17: public ResultSet<is_father_of> is_father_of_11(
18: final test.nz.org.take.compiler.misc1.Person slot1,
19: final test.nz.org.take.compiler.misc1.Person slot2);
20:
21: /**
22: * Method that can be used to query annotations at runtime.
23: * @param id the id of the rule (or other knowledge element)
24: * @return a map of annotations (string-string mappings)
25: * code generated using velocity template LocalAnnotationMethod.vm
26: */
27: public java.util.Map<String, String> getAnnotations(String id);
28:
29: /**
30: * Method that can be used to query global annotations at runtime.
31: * Global annotations are attached to the knowledge base, not to
32: * a particular element (rule,..).
33: * @return a map of annotations (string-string mappings)
34: * code generated using velocity template GlobalAnnotationMethod.vm
35: */
36: public java.util.Map<String, String> getAnnotations();
37: }
|