AR System Java API

com.bmc.arsys.api
Class QueryFormField

java.lang.Object
  extended by com.bmc.arsys.api.QueryFormField
All Implemented Interfaces:
Cloneable

public class QueryFormField
extends Object
implements Cloneable

The QueryFormField class contains the field information consumed by dynamic queries.

See Also:
IQuerySource, QuerySourceForm, RecursiveQuery

Field Summary
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 Summary
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.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AR_MULTI_SCHEMA_FUNC_NONE

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.

See Also:
Constant Field Values

AR_MULTI_SCHEMA_FUNC_COUNT

public static final int AR_MULTI_SCHEMA_FUNC_COUNT
Constants#AR_MULTI_SCHEMA_FUNC_COUNT SQL COUNT() function on table or result set column.

See Also:
Constant Field Values

AR_MULTI_SCHEMA_FUNC_SUM

public static final int AR_MULTI_SCHEMA_FUNC_SUM
Constants#AR_MULTI_SCHEMA_FUNC_SUM SQL SUM() function on table or result set column.

See Also:
Constant Field Values

AR_MULTI_SCHEMA_FUNC_AVG

public static final int AR_MULTI_SCHEMA_FUNC_AVG
Constants#AR_MULTI_SCHEMA_FUNC_AVG SQL AVG() function on table or result set column.

See Also:
Constant Field Values

AR_MULTI_SCHEMA_FUNC_MIN

public static final int AR_MULTI_SCHEMA_FUNC_MIN
Constants#AR_MULTI_SCHEMA_FUNC_MIN SQL MIN() function on table or result set column.

See Also:
Constant Field Values

AR_MULTI_SCHEMA_FUNC_MAX

public static final int AR_MULTI_SCHEMA_FUNC_MAX
Constants#AR_MULTI_SCHEMA_FUNC_MAX SQL MAX() function on table or result set column.

See Also:
Constant Field Values

AR_MULTI_SCHEMA_FUNC_LAST

public static final int AR_MULTI_SCHEMA_FUNC_LAST
Constants#AR_MULTI_SCHEMA_FUNC_LAST Last function defined.

See Also:
Constant Field Values
Constructor Detail

QueryFormField

public QueryFormField()
Default constructor.


QueryFormField

public QueryFormField(int fieldId,
                      IQuerySource source)
Constructs the QueryFormFieldId using fieldId and IQuerySource field's source.


QueryFormField

public QueryFormField(int fieldId,
                      int funcId,
                      IQuerySource source)
Constructs the QueryFormFieldId using fieldId, funcId and IQuerySource field's source.

Method Detail

getFieldId

public int getFieldId()
Returns the fieldId.


setFieldId

public void setFieldId(int fieldId)
Sets the fieldId.


getSource

public IQuerySource getSource()
Returns the IQuerySource field's source.


setSource

public void setSource(IQuerySource source)
Sets the IQuerySource field's source.


getFuncId

public int getFuncId()
Returns the funcId.


setFuncId

public void setFuncId(int funcId)
Sets the funcId.


clone

public Object clone()
             throws CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self.

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

toString

public String toString()
Returns a string description of the object.

Overrides:
toString in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.