|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.JoinInfo
public class JoinInfo
JoinInfo wraps all Join command related infos
| Field Summary | |
|---|---|
static int |
LEFTOUTER
flag of outer join type |
static int |
RIGHTOUTER
flag of outer join type |
| Constructor Summary | |
|---|---|
JoinInfo()
constructor an empty object |
|
JoinInfo(java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
constructor |
|
JoinInfo(java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo,
boolean isSQL92,
int outerJoin)
constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
compare the object |
java.lang.String |
getColumnFrom()
return the FROM column 's name |
java.lang.String |
getColumnTo()
return the COLUMN 's name |
java.lang.String |
getOperator()
return the COLUMN 's name |
int |
getOuterJoinType()
Gets the outer join type |
java.lang.String |
getTableFrom()
return the FROM table's name |
java.lang.String |
getTableTo()
return the COLUMN 's name |
boolean |
isSQL92()
Gets whether this join sentance apply SQL92 standard |
void |
setColumnFrom(java.lang.String columnFrom)
set the FROM column 's name |
void |
setColumnTo(java.lang.String columnTo)
set the TO column's name |
void |
setIsSQL92(boolean isSQL92)
Sets whether this join sentance apply SQL92 standard |
void |
setOperator(java.lang.String operator)
set the operator 's name |
void |
setOuterJoinType(int outerJoin)
set the outer join type |
void |
setTableFrom(java.lang.String tableFrom)
set the FROM table's name |
void |
setTableTo(java.lang.String tableTo)
set the TOtable's name |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LEFTOUTER
public static final int RIGHTOUTER
| Constructor Detail |
|---|
public JoinInfo()
public JoinInfo(java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
tableFrom - the FROM table of the joincolumnFrom - the FROM column of the joinoperator - the operator of the jointableTo - the TO table of the joincolumnTo - the TO column of the join
public JoinInfo(java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo,
boolean isSQL92,
int outerJoin)
tableFrom - the FROM table of the joincolumnFrom - the FROM column of the joinoperator - the operator of the jointableTo - the TO table of the joincolumnTo - the TO column of the joinisSQL92 - whether this join sentance apply SQL92 standardouterJoin - the type of outer join| Method Detail |
|---|
public java.lang.String getTableFrom()
public java.lang.String getColumnFrom()
public java.lang.String getOperator()
public java.lang.String getTableTo()
public java.lang.String getColumnTo()
public void setTableFrom(java.lang.String tableFrom)
tableFrom - FROM table's namepublic void setColumnFrom(java.lang.String columnFrom)
columnFrom - FROM column's namepublic void setOperator(java.lang.String operator)
operator - operator's valuepublic void setTableTo(java.lang.String tableTo)
tableTo - TO table's namepublic void setColumnTo(java.lang.String columnTo)
columnTo - TO column's namepublic void setIsSQL92(boolean isSQL92)
isSQL92 - whether this join sentance apply SQL92 standardpublic boolean isSQL92()
public void setOuterJoinType(int outerJoin)
outerJoin - type of outer joinpublic int getOuterJoinType()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||