Package lumis.util.query
Class QueryTable
- java.lang.Object
-
- lumis.util.query.QueryTable
-
@StableMinor(version="17.0", sinceVersion="4.0") public class QueryTable extends java.lang.Object
Represents a table object within a query.- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected int
joinType
static int
QUERYTABLE_JOIN_TYPE_CROSS
static int
QUERYTABLE_JOIN_TYPE_LEFT_INNER
static int
QUERYTABLE_JOIN_TYPE_LEFT_OUTER
static int
QUERYTABLE_JOIN_TYPE_RIGHT_OUTER
protected java.lang.String
relationId
protected java.lang.String
tableAlias
protected java.lang.String
tableName
-
Constructor Summary
Constructors Constructor Description QueryTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryField
getField(java.lang.String fieldName)
java.lang.String
getIdentification()
int
getJoinType()
java.lang.String
getRelationId()
java.lang.String
getTableAlias()
java.lang.String
getTableName()
void
setJoinType(int joinType)
void
setRelationId(java.lang.String relationId)
void
setTableAlias(java.lang.String tableAlias)
void
setTableName(java.lang.String tableName)
-
-
-
Field Detail
-
QUERYTABLE_JOIN_TYPE_LEFT_INNER
public static final int QUERYTABLE_JOIN_TYPE_LEFT_INNER
- See Also:
- Constant Field Values
-
QUERYTABLE_JOIN_TYPE_LEFT_OUTER
public static final int QUERYTABLE_JOIN_TYPE_LEFT_OUTER
- See Also:
- Constant Field Values
-
QUERYTABLE_JOIN_TYPE_RIGHT_OUTER
public static final int QUERYTABLE_JOIN_TYPE_RIGHT_OUTER
- See Also:
- Constant Field Values
-
QUERYTABLE_JOIN_TYPE_CROSS
public static final int QUERYTABLE_JOIN_TYPE_CROSS
- See Also:
- Constant Field Values
-
tableName
protected java.lang.String tableName
-
tableAlias
protected java.lang.String tableAlias
-
joinType
protected int joinType
-
relationId
protected java.lang.String relationId
-
-
Method Detail
-
getTableAlias
public java.lang.String getTableAlias()
- Returns:
- Returns the tableAlias.
-
setTableAlias
public void setTableAlias(java.lang.String tableAlias)
- Parameters:
tableAlias
- The tableAlias to set.
-
getTableName
public java.lang.String getTableName()
- Returns:
- Returns the tableName.
-
setTableName
public void setTableName(java.lang.String tableName)
- Parameters:
tableName
- The tableName to set.
-
getField
public QueryField getField(java.lang.String fieldName)
- Parameters:
fieldId
-- Returns:
-
getIdentification
public java.lang.String getIdentification()
-
getJoinType
public int getJoinType()
- Returns:
- Returns the joinType.
-
setJoinType
public void setJoinType(int joinType)
- Parameters:
joinType
- The joinType to set.
-
getRelationId
public java.lang.String getRelationId()
- Returns:
- Returns the relationId.
-
setRelationId
public void setRelationId(java.lang.String relationId)
- Parameters:
relationId
- The relationId to set.
-
-