public class ColumnReferenceImpl<R,C> extends ParserLocator2Impl implements ColumnReference<R,C>
| Modifier and Type | Field and Description |
|---|---|
protected String |
column |
protected List<String> |
raw |
protected Table<R,C> |
table |
protected String |
tablePart |
| Constructor and Description |
|---|
ColumnReferenceImpl(List<String> raw) |
ColumnReferenceImpl(List<String> raw,
String title) |
| Modifier and Type | Method and Description |
|---|---|
void |
associateCondition(Condition<R,C> condition,
boolean andPath) |
boolean |
equals(Object obj) |
String |
getColumn()
Returns columns real name
|
String |
getCorrelation() |
int |
getEnd() |
Table<R,C> |
getTable() |
String |
getTitle()
Returns columns display name.
|
C |
getValue(SQLConverter<R,C> selector,
ArrayMap<Table<R,C>,R> rowCandidate) |
C |
getValue(SQLConverter<R,C> selector,
R row) |
int |
hashCode() |
boolean |
resolvTable(Collection<Table<R,C>> tables) |
void |
setTable(Table<R,C> table) |
void |
setTitle(String title)
Sets the columns display name
|
String |
toString()
Returns column reference as in select list.
|
getSource, getStart, setLocation, throwExceptionclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSource, getStart, throwExceptionpublic boolean resolvTable(Collection<Table<R,C>> tables)
resolvTable in interface ColumnReference<R,C>public String getColumn()
ColumnReferencegetColumn in interface ColumnReference<R,C>public String getCorrelation()
getCorrelation in interface ColumnReference<R,C>public void associateCondition(Condition<R,C> condition, boolean andPath)
associateCondition in interface ColumnReference<R,C>public C getValue(SQLConverter<R,C> selector, R row)
getValue in interface ColumnReference<R,C>public C getValue(SQLConverter<R,C> selector, ArrayMap<Table<R,C>,R> rowCandidate)
getValue in interface ColumnReference<R,C>public String toString()
public void setTable(Table<R,C> table)
setTable in interface ColumnReference<R,C>public int getEnd()
getEnd in interface ParserLocator2getEnd in class ParserLocator2Implpublic String getTitle()
ColumnReferencegetTitle in interface ColumnReference<R,C>public void setTitle(String title)
ColumnReferencesetTitle in interface ColumnReference<R,C>Copyright © 2014. All rights reserved.