|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bmc.arsys.api.QueryBase
public abstract class QueryBase
The QueryBase
class is used to
define the properties of a dynamic query.
RegularQuery
,
RecursiveQuery
,
IQuerySource
Constructor Summary | |
---|---|
QueryBase()
|
Method Summary | |
---|---|
boolean |
addFromField(int fieldId,
int funcId,
IQuerySource sourceForm)
Adds a new item to the list of the QueryFormField fields that the dynamic query selects. |
boolean |
addFromField(int fieldId,
IQuerySource sourceForm)
Adds a new item to the list of the QueryFormField fields that the dynamic query selects. |
boolean |
addFromField(QueryFormField field)
Adds a new item to the list of the QueryFormField fields that the dynamic query selects. |
boolean |
addFromSource(IQuerySource source)
Adds a new item to the list of the IQuerySource sources that the dynamic query selects from. |
boolean |
addGroupBy(QueryFormField groupBy)
Adds new having object to the list |
boolean |
addHaving(QualifierInfo having)
Adds new having object to the list |
Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
List<QueryFormField> |
getFromFields()
Returns a list of the QueryFormField fields that the dynamic query selects. |
List<IQuerySource> |
getFromSources()
Returns a list of the IQuerySource sources that the dynamic query selects from. |
List<QueryFormField> |
getGroupBy()
Returns a list of QueryFormField objects |
QualifierInfo |
getHaving()
Returns a list of having objects |
List<QualifierInfo> |
getHavingList()
Returns a list of having objects |
QualifierInfo |
getQualifier()
Returns a qualifier for the dynamic query |
void |
setFromFields(List<QueryFormField> fromFields)
Sets the list of the QueryFormField fields that the dynamic query selects. |
void |
setFromSources(List<IQuerySource> sources)
Sets the list of the IQuerySource sources that the dynamic query selects from. |
void |
setGroupBy(List<QueryFormField> groupBy)
Sets a list of QueryFormField objects |
void |
setHaving(List<QualifierInfo> having)
Sets a list of QualifierInfo objects |
void |
setQualifier(QualifierInfo qualifier)
Sets the qualifier for the dynamic query |
String |
toString()
Returns a string description of the object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryBase()
Method Detail |
---|
public List<IQuerySource> getFromSources()
IQuerySource
sources that the dynamic query selects from.
public void setFromSources(List<IQuerySource> sources)
IQuerySource
sources that the dynamic query selects from.
public List<QueryFormField> getFromFields()
QueryFormField
fields that the dynamic query selects.
public void setFromFields(List<QueryFormField> fromFields)
QueryFormField
fields that the dynamic query selects.
public QualifierInfo getQualifier()
public void setQualifier(QualifierInfo qualifier)
public boolean addFromSource(IQuerySource source)
IQuerySource
sources that the dynamic query selects from.
QuerySourceForm.setJoin(com.bmc.arsys.api.IQuerySource, int, com.bmc.arsys.api.QualifierInfo)
public boolean addFromField(QueryFormField field)
QueryFormField
fields that the dynamic query selects.
public boolean addFromField(int fieldId, int funcId, IQuerySource sourceForm)
QueryFormField
fields that the dynamic query selects.
public boolean addFromField(int fieldId, IQuerySource sourceForm)
QueryFormField
fields that the dynamic query selects.
public void setHaving(List<QualifierInfo> having)
QualifierInfo
objects
public void setGroupBy(List<QueryFormField> groupBy)
QueryFormField
objects
public List<QualifierInfo> getHavingList()
having
objects
public QualifierInfo getHaving()
having
objects
public List<QueryFormField> getGroupBy()
QueryFormField
objects
public boolean addHaving(QualifierInfo having)
having
object to the list
public boolean addGroupBy(QueryFormField groupBy)
having
object to the list
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String toString()
toString
in class Object
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |