6 AbstractRepair abstractrepair;
9 static public final int ADD=0;
10 static public final int REMOVE=1;
11 static public final int MODIFY=2;
13 public MultUpdateNode(AbstractRepair ar, int op) {
19 public String toString() {
21 for(int i=0;i<updates.size();i++)
22 st+=updates.get(i).toString()+"OR\n";
26 public MultUpdateNode(ScopeNode sn) {
29 op=MultUpdateNode.REMOVE;
32 public Descriptor getDescriptor() {
33 if (abstractrepair!=null)
34 return abstractrepair.getDescriptor();
36 return scopenode.getDescriptor();
38 void addUpdate(UpdateNode un) {
42 return updates.size();
44 AbstractRepair getRepair() {
45 return abstractrepair;
47 UpdateNode getUpdate(int i) {
48 return (UpdateNode)updates.get(i);