|
DODS 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is for storing one query and its necessary data, for query array.
Method Summary | |
void |
add(GenericDO obj)
Adds data object obj to array DOs. |
void |
addCond(Condition cond)
Add condition to query. |
boolean |
checkConditions(GenericDO obj)
Checks whether data object obj satisfies conditions of this query. |
void |
delete(GenericDO obj)
Removes data object obj from array DOs, if present. |
java.util.ArrayList |
getConds()
Returns array of conditions conds. |
java.util.HashSet |
getOIds()
Returns OIds (array of data objects which are the results of the query). |
java.lang.String |
getOriginDatabase()
Returns query database. |
java.lang.String |
getQueryId()
Returns query id. |
int |
getTime()
Returns time needed for query execution. |
void |
setConds(java.util.ArrayList conds)
Sets array of conditions. |
void |
setOIds(java.util.LinkedHashSet OIds)
Sets OIds (array of data objects which are the results of the query). |
void |
setQueryId(java.lang.String queryId)
Sets unique representation of query object. |
void |
setTime(int time)
Sets time needed for query execution. |
void |
update(GenericDO obj)
Inserts data object obj (or updates it if already exists) in array DOs, if it satisfies this query. |
Method Detail |
public java.lang.String getQueryId()
public void setQueryId(java.lang.String queryId)
queryId
- String
that unique represent query.public java.util.HashSet getOIds()
public void setOIds(java.util.LinkedHashSet OIds)
public int getTime()
public void setTime(int time)
time
- time needed for query executionpublic java.util.ArrayList getConds()
public void setConds(java.util.ArrayList conds)
conds
- array of conditionspublic void addCond(Condition cond)
cond
- Condition
that will be added to query.public java.lang.String getOriginDatabase()
public boolean checkConditions(GenericDO obj)
obj
- dataobject for which are checked conditions of this query
public void update(GenericDO obj)
obj
- data object which may be inserted (or updated) in array DOspublic void delete(GenericDO obj)
obj
- data object which will be removed from array DOspublic void add(GenericDO obj)
obj
- data object which will be added to array DOs
|
DODS 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |