|
|||||||||||||||||||
| 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 | |||||||||||||||
| Field.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 Field { |
|
| 14 |
|
|
| 15 |
/**
|
|
| 16 |
*
|
|
| 17 |
*/
|
|
| 18 | 15 |
public Field() {
|
| 19 | 15 |
super();
|
| 20 |
} |
|
| 21 |
|
|
| 22 | 15 |
public void accept(Visitor visitor) { |
| 23 | 15 |
visitor.visit(this);
|
| 24 |
} |
|
| 25 |
|
|
| 26 |
private String tableAlias;
|
|
| 27 |
|
|
| 28 |
private String fieldName;
|
|
| 29 |
|
|
| 30 |
private String aliasName;
|
|
| 31 |
|
|
| 32 |
private String functionName;
|
|
| 33 |
|
|
| 34 |
/**
|
|
| 35 |
* @return
|
|
| 36 |
*/
|
|
| 37 | 15 |
public String getAliasName() {
|
| 38 | 15 |
return aliasName;
|
| 39 |
} |
|
| 40 |
|
|
| 41 |
/**
|
|
| 42 |
* @return
|
|
| 43 |
*/
|
|
| 44 | 15 |
public String getFieldName() {
|
| 45 | 15 |
return fieldName;
|
| 46 |
} |
|
| 47 |
|
|
| 48 |
/**
|
|
| 49 |
* @return
|
|
| 50 |
*/
|
|
| 51 | 30 |
public String getFunctionName() {
|
| 52 | 30 |
return functionName;
|
| 53 |
} |
|
| 54 |
|
|
| 55 |
/**
|
|
| 56 |
* @return
|
|
| 57 |
*/
|
|
| 58 | 15 |
public String getTableAlias() {
|
| 59 | 15 |
return tableAlias;
|
| 60 |
} |
|
| 61 |
|
|
| 62 |
/**
|
|
| 63 |
* @param string
|
|
| 64 |
*/
|
|
| 65 | 15 |
public void setAliasName(String string) { |
| 66 | 15 |
aliasName = string; |
| 67 |
} |
|
| 68 |
|
|
| 69 |
/**
|
|
| 70 |
* @param string
|
|
| 71 |
*/
|
|
| 72 | 15 |
public void setFieldName(String string) { |
| 73 | 15 |
fieldName = string; |
| 74 |
} |
|
| 75 |
|
|
| 76 |
/**
|
|
| 77 |
* @param string
|
|
| 78 |
*/
|
|
| 79 | 15 |
public void setFunctionName(String string) { |
| 80 | 15 |
functionName = string; |
| 81 |
} |
|
| 82 |
|
|
| 83 |
/**
|
|
| 84 |
* @param string
|
|
| 85 |
*/
|
|
| 86 | 15 |
public void setTableAlias(String string) { |
| 87 | 15 |
tableAlias = string; |
| 88 |
} |
|
| 89 |
|
|
| 90 |
} |
|
||||||||||