1 package com.daffodilwoods.daffodildb.client; 2 public class QueryPlan implements _QueryPlan{ 3 4 private String nameOfIterator; 5 private _QueryPlan[] childPlans; 6 private String condition; 7 private String order; 8 9 public QueryPlan(String nameOfIterator0,_QueryPlan[] childPlans0,String condition0,String order0) { 10 nameOfIterator = nameOfIterator0; 11 childPlans = childPlans0; 12 condition = condition0; 13 order = order0; 14 } 15 16 public _QueryPlan[] getChildPlan() { 17 return childPlans; 18 } 19 20 public String getCondition() { 21 return condition == null ? null : ("Condition : "+condition); 22 } 23 24 public String getOrder() { 25 return order == null ? null : ("Order : "+order); 26 } 27 28 public String toString(){ 29 return nameOfIterator; 30 } 31 } 32 | Popular Tags |