3232 */
3333public class SetOperationList implements SelectBody {
3434
35- private List <PlainSelect > plainSelects ;
35+ private List <SelectBody > selects ;
3636 private List <SetOperation > operations ;
3737 private List <OrderByElement > orderByElements ;
3838 private Limit limit ;
@@ -48,8 +48,8 @@ public List<OrderByElement> getOrderByElements() {
4848 return orderByElements ;
4949 }
5050
51- public List <PlainSelect > getPlainSelects () {
52- return plainSelects ;
51+ public List <SelectBody > getSelects () {
52+ return selects ;
5353 }
5454
5555 public List <SetOperation > getOperations () {
@@ -60,8 +60,8 @@ public void setOrderByElements(List<OrderByElement> orderByElements) {
6060 this .orderByElements = orderByElements ;
6161 }
6262
63- public void setOpsAndSelects (List <PlainSelect > select , List <SetOperation > ops ) {
64- plainSelects = select ;
63+ public void setOpsAndSelects (List <SelectBody > select , List <SetOperation > ops ) {
64+ selects = select ;
6565 operations = ops ;
6666
6767 if (select .size () - 1 != ops .size ()) {
@@ -97,11 +97,11 @@ public void setFetch(Fetch fetch) {
9797 public String toString () {
9898 StringBuilder buffer = new StringBuilder ();
9999
100- for (int i = 0 ; i < plainSelects .size (); i ++) {
100+ for (int i = 0 ; i < selects .size (); i ++) {
101101 if (i != 0 ) {
102102 buffer .append (" " ).append (operations .get (i - 1 ).toString ()).append (" " );
103103 }
104- buffer .append ("(" ).append (plainSelects .get (i ).toString ()).append (")" );
104+ buffer .append ("(" ).append (selects .get (i ).toString ()).append (")" );
105105 }
106106
107107 if (orderByElements != null ) {
0 commit comments