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 int getType() {
23 public String toString() {
25 for(int i=0;i<updates.size();i++)
26 st+=updates.get(i).toString()+"OR\n";
30 public MultUpdateNode(ScopeNode sn) {
33 op=MultUpdateNode.REMOVE;
36 public Descriptor getDescriptor() {
37 if (abstractrepair!=null)
38 return abstractrepair.getDescriptor();
40 return scopenode.getDescriptor();
42 void addUpdate(UpdateNode un) {
46 return updates.size();
48 AbstractRepair getRepair() {
49 return abstractrepair;
51 UpdateNode getUpdate(int i) {
52 return (UpdateNode)updates.get(i);