1   /*
2    * PRELYTIS.
3    * Copyright 2007, PRELYTIS S.A., and individual contributors
4    * as indicated by the @author tags. See the copyright.txt file in the
5    * distribution for a full listing of individual contributors.
6    *
7    * This is free software; you can redistribute it and/or modify it
8    * under the terms of the GNU Lesser General Public License as
9    * published by the Free Software Foundation; either version 2.1 of
10   * the License, or (at your option) any later version.
11   *
12   * This software is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15   * Lesser General Public License for more details.
16   *
17   * You should have received a copy of the GNU Lesser General Public
18   * License along with this software; if not, write to the Free
19   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21   */
22  
23  package org.jdbc4olap.xmla;
24  
25  public class QueryColumn {
26  
27      private int rank;
28      private String fieldAlias;
29      private String field;
30      private String tableAlias;
31      private String table;
32      private String schema;
33      private String catalog;
34      private int type;
35  
36      public QueryColumn() {
37          this.rank = -1;
38          this.field = null;
39          this.fieldAlias = null;
40          this.tableAlias = null;
41          this.table = null;
42          this.schema = null;
43          this.catalog = null;
44          this.type = -1;
45      }
46  
47      public String getField() {
48          return field;
49      }
50  
51      public void setField(final String field) {
52          this.field = field;
53      }
54  
55      public String getFieldAlias() {
56          return fieldAlias;
57      }
58  
59      public void setFieldAlias(final String fieldAlias) {
60          this.fieldAlias = fieldAlias;
61      }
62  
63      public String getTableAlias() {
64          return tableAlias;
65      }
66  
67      public void setTableAlias(final String tableAlias) {
68          this.tableAlias = tableAlias;
69      }
70  
71      public int getRank() {
72          return rank;
73      }
74  
75      public void setRank(final int rank) {
76          this.rank = rank;
77      }
78  
79      public String getTable() {
80          return table;
81      }
82  
83      public void setTable(final String table) {
84          this.table = table;
85      }
86  
87      public int getType() {
88          return type;
89      }
90  
91      public void setType(final int type) {
92          this.type = type;
93      }
94  
95      public String getSchema() {
96          return schema;
97      }
98  
99      public void setSchema(final String schema) {
100         this.schema = schema;
101     }
102 
103     public String getCatalog() {
104         return catalog;
105     }
106 
107     public void setCatalog(final String catalog) {
108         this.catalog = catalog;
109     }
110 
111 
112 }
113