rule=r;
this.satisfy=satisfy;
}
+ public Descriptor getDescriptor() {
+ Inclusion inc=rule.getInclusion();
+ if (inc instanceof SetInclusion)
+ return ((SetInclusion)inc).getSet();
+ else if (inc instanceof RelationInclusion)
+ return ((RelationInclusion)inc).getRelation();
+ else throw new Error("Unrecognized Inclusion");
+ }
+
+ public Rule getRule() {
+ return rule;
+ }
+ public boolean getSatisfy() {
+ return satisfy;
+ }
}