wt.query
Interface ColumnExpression

All Superinterfaces:
Expression, OrderByExpression, RelationalExpression
All Known Implementing Classes:
ClassAttribute, ConstantExpression, KeywordExpression, SQLFunction, TableColumn

public interface ColumnExpression
extends OrderByExpression, RelationalExpression

This interface defines an arbitrary expression that can be used to specify a "column" in a SQL SELECT, ORDER BY, GROUP BY or WHERE clause.

Supported API: true

Extendable: false


Field Summary
static String ADVANCED_QUERY
          Label for the attribute; Indicates if the expression uses advanced query capabilities.
static String ADVANCED_QUERY_ENABLED
          Label for the attribute; Indicates if advanced query capabilities are enabled.
static String COLUMN_ALIAS
          Label for the attribute; Alias for the column expression.
static String JAVA_TYPE
          Label for the attribute; The java type of this expression.
 
Fields inherited from interface wt.query.Expression
FROM_COUNT
 
Fields inherited from interface wt.query.RelationalExpression
BIND_PARAMETER
 
Method Summary
 String getColumnAlias()
          Gets the value of the attribute: COLUMN_ALIAS.
 Class getJavaType()
          Gets the value of the attribute: JAVA_TYPE.
 boolean isAdvancedQuery()
          Gets the value of the attribute: ADVANCED_QUERY.
 boolean isAdvancedQueryEnabled()
          Gets the value of the attribute: ADVANCED_QUERY_ENABLED.
 void setAdvancedQueryEnabled(boolean a_AdvancedQueryEnabled)
          Sets the value of the attribute: ADVANCED_QUERY_ENABLED.
 void setColumnAlias(String a_ColumnAlias)
          Sets the value of the attribute: COLUMN_ALIAS.
 
Methods inherited from interface wt.query.Expression
getFromCount, setFromAlias, validate
 
Methods inherited from interface wt.query.RelationalExpression
getBindParameter, getClassAttributes, getExpression
 

Field Detail

COLUMN_ALIAS

public static final String COLUMN_ALIAS
Label for the attribute; Alias for the column expression.

Supported API: true

See Also:
Constant Field Values

JAVA_TYPE

public static final String JAVA_TYPE
Label for the attribute; The java type of this expression.

Supported API: false

See Also:
Constant Field Values

ADVANCED_QUERY

public static final String ADVANCED_QUERY
Label for the attribute; Indicates if the expression uses advanced query capabilities.

Supported API: false

See Also:
Constant Field Values

ADVANCED_QUERY_ENABLED

public static final String ADVANCED_QUERY_ENABLED
Label for the attribute; Indicates if advanced query capabilities are enabled.

Supported API: false

See Also:
Constant Field Values
Method Detail

getColumnAlias

public String getColumnAlias()
Gets the value of the attribute: COLUMN_ALIAS. Alias for the column expression.

Supported API: true

Specified by:
getColumnAlias in interface OrderByExpression
Returns:
String

setColumnAlias

public void setColumnAlias(String a_ColumnAlias)
                    throws WTPropertyVetoException
Sets the value of the attribute: COLUMN_ALIAS. Alias for the column expression.

Supported API: true

Parameters:
a_ColumnAlias -
Throws:
WTPropertyVetoException

getJavaType

public Class getJavaType()
                  throws WTException
Gets the value of the attribute: JAVA_TYPE. The java type of this expression.

Supported API: false

Returns:
Class
Throws:
WTException

isAdvancedQuery

public boolean isAdvancedQuery()
                        throws WTException
Gets the value of the attribute: ADVANCED_QUERY. Indicates if the expression uses advanced query capabilities.

Supported API: false

Returns:
boolean
Throws:
WTException

isAdvancedQueryEnabled

public boolean isAdvancedQueryEnabled()
Gets the value of the attribute: ADVANCED_QUERY_ENABLED. Indicates if advanced query capabilities are enabled.

Supported API: false

Returns:
boolean

setAdvancedQueryEnabled

public void setAdvancedQueryEnabled(boolean a_AdvancedQueryEnabled)
Sets the value of the attribute: ADVANCED_QUERY_ENABLED. Indicates if advanced query capabilities are enabled.

Supported API: false

Parameters:
a_AdvancedQueryEnabled -