public class QueryFormField extends Object implements Cloneable
QueryFormField
class contains the field information consumed by dynamic queries.IQuerySource
,
QuerySourceForm
,
RecursiveQuery
Modifier and Type | Field and Description |
---|---|
static int |
AR_MULTI_SCHEMA_FUNC_AVG
Constants#AR_MULTI_SCHEMA_FUNC_AVG
SQL AVG() function on table or result set column. |
static int |
AR_MULTI_SCHEMA_FUNC_COUNT
Constants#AR_MULTI_SCHEMA_FUNC_COUNT
SQL COUNT() function on table or result set column. |
static int |
AR_MULTI_SCHEMA_FUNC_LAST
Constants.AR_MULTI_SCHEMA_FUNC_LAST
Last function defined. |
static int |
AR_MULTI_SCHEMA_FUNC_MAX
Constants#AR_MULTI_SCHEMA_FUNC_MAX
SQL MAX() function on table or result set column. |
static int |
AR_MULTI_SCHEMA_FUNC_MIN
Constants#AR_MULTI_SCHEMA_FUNC_MIN
SQL MIN() function on table or result set column. |
static int |
AR_MULTI_SCHEMA_FUNC_NONE
Constants#AR_MULTI_SCHEMA_FUNC_NONE
tests whether the left operand is equal to the right operand. |
static int |
AR_MULTI_SCHEMA_FUNC_SUM
Constants#AR_MULTI_SCHEMA_FUNC_SUM
SQL SUM() function on table or result set column. |
Constructor and Description |
---|
QueryFormField()
Default constructor.
|
QueryFormField(int fieldId,
int funcId,
IQuerySource source)
Constructs the QueryFormFieldId using fieldId, funcId and
IQuerySource field's source. |
QueryFormField(int fieldId,
IQuerySource source)
Constructs the QueryFormFieldId using fieldId and
IQuerySource field's source. |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self.
|
int |
getFieldId()
Returns the fieldId.
|
int |
getFuncId()
Returns the funcId.
|
IQuerySource |
getSource()
Returns the
IQuerySource field's source. |
void |
setFieldId(int fieldId)
Sets the fieldId.
|
void |
setFuncId(int funcId)
Sets the funcId.
|
void |
setSource(IQuerySource source)
Sets the
IQuerySource field's source. |
String |
toString()
Returns a string description of the object.
|
public static final int AR_MULTI_SCHEMA_FUNC_NONE
Constants#AR_MULTI_SCHEMA_FUNC_NONE
tests whether the left operand is equal to the right operand.public static final int AR_MULTI_SCHEMA_FUNC_COUNT
Constants#AR_MULTI_SCHEMA_FUNC_COUNT
SQL COUNT() function on table or result set column.public static final int AR_MULTI_SCHEMA_FUNC_SUM
Constants#AR_MULTI_SCHEMA_FUNC_SUM
SQL SUM() function on table or result set column.public static final int AR_MULTI_SCHEMA_FUNC_AVG
Constants#AR_MULTI_SCHEMA_FUNC_AVG
SQL AVG() function on table or result set column.public static final int AR_MULTI_SCHEMA_FUNC_MIN
Constants#AR_MULTI_SCHEMA_FUNC_MIN
SQL MIN() function on table or result set column.public static final int AR_MULTI_SCHEMA_FUNC_MAX
Constants#AR_MULTI_SCHEMA_FUNC_MAX
SQL MAX() function on table or result set column.public static final int AR_MULTI_SCHEMA_FUNC_LAST
Constants.AR_MULTI_SCHEMA_FUNC_LAST
Last function defined.public QueryFormField()
public QueryFormField(int fieldId, IQuerySource source)
IQuerySource
field's source.public QueryFormField(int fieldId, int funcId, IQuerySource source)
IQuerySource
field's source.public int getFieldId()
public void setFieldId(int fieldId)
public IQuerySource getSource()
IQuerySource
field's source.public void setSource(IQuerySource source)
IQuerySource
field's source.public int getFuncId()
public void setFuncId(int funcId)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
? Copyright 2013 BMC Software, Inc.