|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
Table.java | - | 100% | 100% | 100% |
|
1 |
/*
|
|
2 |
* Joey and its relative products are published under the terms
|
|
3 |
* of the Apache Software License.
|
|
4 |
*/
|
|
5 |
/*
|
|
6 |
* Created on 2004/03/01
|
|
7 |
*/
|
|
8 |
package org.asyrinx.brownie.core.sql2;
|
|
9 |
|
|
10 |
/**
|
|
11 |
* @author akima
|
|
12 |
*/
|
|
13 |
public class Table { |
|
14 |
|
|
15 |
/**
|
|
16 |
*
|
|
17 |
*/
|
|
18 | 6 |
public Table() {
|
19 | 6 |
super();
|
20 |
} |
|
21 |
|
|
22 | 6 |
public void accept(Visitor visitor) { |
23 | 6 |
visitor.visit(this);
|
24 |
} |
|
25 |
|
|
26 |
private String tablePrefix;
|
|
27 |
|
|
28 |
private String tableName;
|
|
29 |
|
|
30 |
private String tableAlias;
|
|
31 |
|
|
32 |
private String indexName;
|
|
33 |
|
|
34 |
/**
|
|
35 |
* @return
|
|
36 |
*/
|
|
37 | 6 |
public String getIndexName() {
|
38 | 6 |
return indexName;
|
39 |
} |
|
40 |
|
|
41 |
/**
|
|
42 |
* @return
|
|
43 |
*/
|
|
44 | 6 |
public String getTableAlias() {
|
45 | 6 |
return tableAlias;
|
46 |
} |
|
47 |
|
|
48 |
/**
|
|
49 |
* @return
|
|
50 |
*/
|
|
51 | 6 |
public String getTableName() {
|
52 | 6 |
return tableName;
|
53 |
} |
|
54 |
|
|
55 |
/**
|
|
56 |
* @return
|
|
57 |
*/
|
|
58 | 6 |
public String getTablePrefix() {
|
59 | 6 |
return tablePrefix;
|
60 |
} |
|
61 |
|
|
62 |
/**
|
|
63 |
* @param string
|
|
64 |
*/
|
|
65 | 6 |
public void setIndexName(String string) { |
66 | 6 |
indexName = string; |
67 |
} |
|
68 |
|
|
69 |
/**
|
|
70 |
* @param string
|
|
71 |
*/
|
|
72 | 6 |
public void setTableAlias(String string) { |
73 | 6 |
tableAlias = string; |
74 |
} |
|
75 |
|
|
76 |
/**
|
|
77 |
* @param string
|
|
78 |
*/
|
|
79 | 6 |
public void setTableName(String string) { |
80 | 6 |
tableName = string; |
81 |
} |
|
82 |
|
|
83 |
/**
|
|
84 |
* @param string
|
|
85 |
*/
|
|
86 | 6 |
public void setTablePrefix(String string) { |
87 | 6 |
tablePrefix = string; |
88 |
} |
|
89 |
|
|
90 |
} |
|