|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.query.ConstantExpression
public class ConstantExpression
This class represents a constant in a SQL statement.
Supported API: true
Extendable: false
| Field Summary |
|---|
| Fields inherited from interface wt.query.ColumnExpression |
|---|
COLUMN_ALIAS |
| Constructor Summary | |
|---|---|
ConstantExpression(String a_value)
Deprecated. as of R7.0, use newExpression(Object). |
|
| Method Summary | |
|---|---|
String |
getColumnAlias()
Gets the value of the attribute: columnAlias; Alias for the column expression. |
Object |
getValue()
Gets the value of the attribute: value; Constant value. |
boolean |
isUseBind()
Gets the value of the attribute: useBind; Indicates if bind parameters should be used for ConstantExpression when used in SearchConditions. |
boolean |
isUseEscape()
Gets the value of the attribute: useEscape; This attribute indicates if the constant expression should use an ESCAPE clause that specifies the '\' character. |
static ColumnExpression |
newExpression(Object a_value)
Create a new Expression. |
static ColumnExpression |
newExpression(Object a_value,
String a_javaType)
Create a new Expression. |
void |
setColumnAlias(String a_ColumnAlias)
Sets the value of the attribute: columnAlias; Alias for the column expression. |
void |
setUseBind(boolean a_UseBind)
Sets the value of the attribute: useBind; Indicates if bind parameters should be used for ConstantExpression when used in SearchConditions. |
void |
setUseEscape(boolean a_UseEscape)
Sets the value of the attribute: useEscape; This attribute indicates if the constant expression should use an ESCAPE clause that specifies the '\' character. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantExpression(String a_value)
a_value - Specifies a String constant value.| Method Detail |
|---|
public Object getValue()
public boolean isUseEscape()
public void setUseEscape(boolean a_UseEscape)
a_UseEscape - public boolean isUseBind()
public void setUseBind(boolean a_UseBind)
a_UseBind -
public static ColumnExpression newExpression(Object a_value,
String a_javaType)
a_value - Specifies the constant value.a_javaType - Specifies the Java type that this constant should be treated as.
public static ColumnExpression newExpression(Object a_value)
a_value - Specifies the constant value.
public String getColumnAlias()
getColumnAlias in interface ColumnExpression
public void setColumnAlias(String a_ColumnAlias)
throws WTPropertyVetoException
setColumnAlias in interface ColumnExpressiona_ColumnAlias -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||