com.adobe.icc.dbforms.obj
Class Query
java.lang.Object
com.adobe.icc.dbforms.obj.Query
- All Implemented Interfaces:
- Serializable
public class Query
- extends Object
- implements Serializable
POJO to build a Query using a list of Statement
s .
The list of Statement
s in the Query would be AND
ed to each other.
- See Also:
Statement
,
Serialized Form
Constructor Summary |
Query()
|
Query
public Query()
getQueryString
public String getQueryString()
throws ICCException
- Returns:
- the queryString
- Throws:
ICCException
getQueryParams
public Map getQueryParams()
- Build and return a Map of the params for the query. This can then be used
in JPA queries to set the parameters for the PreparedStatement.
- Returns:
- Map of the params for the query.
setQueryString
public void setQueryString(String queryString)
- Parameters:
queryString
- the queryString to set
getStatements
public List getStatements()
- Returns:
- the statements
setStatements
public void setStatements(List statements)
- Parameters:
statements
- the statements to set
getObjectType
public String getObjectType()
- Returns:
- the objectType
setObjectType
public void setObjectType(String objectType)
- Parameters:
objectType
- the objectType to set
addStatement
public void addStatement(Statement statement)
[an error occurred while processing this directive] [an error occurred while processing this directive]