8 public static final int POSITION=1;
9 public static final int CREATE=2;
10 public static final int SEARCH=3;
12 public Binding(VarDescriptor vd,int pos) {
18 public Binding(VarDescriptor vd, SetDescriptor sd,boolean search) {
27 public int getType() {
32 assert type==POSITION;
36 SetDescriptor getSet() {
37 assert type==CREATE||type==SEARCH;
41 VarDescriptor getVar() {
45 public String toString() {
48 return var.toString()+"="+String.valueOf(position);
50 return var.toString()+"=CREATE("+sd.toString()+")";
52 return var.toString()+"=SEARCH("+sd.toString()+")";
54 return "UNRECOGNIZED Binding type";