lumis.util.query
Class QueryBase
java.lang.Object
lumis.util.query.QueryBase
- Direct Known Subclasses:
- QueryCreateTable, QueryDelete, QueryInsert, QuerySelect, QueryUpdate
@StableMinor(version="6.2",
sinceVersion="4.0")
public abstract class QueryBase
- extends Object
Base object for all queries
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fields
protected Vector<QueryField> fields
filters
protected Vector<IQueryFilter> filters
queryAssignments
protected Vector<QueryAssignment> queryAssignments
tables
protected Vector<QueryTable> tables
mainTable
protected QueryTable mainTable
- The main table of this query.
- Since:
- 4.2.0
QueryBase
public QueryBase()
getTable
public QueryTable getTable()
- Returns:
- Returns the table.
setTable
public void setTable(QueryTable table)
- Parameters:
table
- The table to set.
addTable
public void addTable(QueryTable table)
getTables
public Vector<QueryTable> getTables()
getTable
public QueryTable getTable(String tableName)
getTableByRelationId
public QueryTable getTableByRelationId(String relationId)
addFilter
public void addFilter(IQueryFilter filter)
getFilters
public Vector<IQueryFilter> getFilters()
addField
public void addField(QueryField field)
getFields
public Vector<QueryField> getFields()
getFieldById
public QueryField getFieldById(String fieldId)
getQueryAssignments
public Vector<QueryAssignment> getQueryAssignments()
- Returns:
- Returns the queryAssignments.
addQueryAssignment
public void addQueryAssignment(QueryAssignment queryAssignment)
- Parameters:
queryAssignments
- The queryAssignments to set.
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.