public class EJBQLQueryDescriptor extends QueryDescriptor
Modifier and Type | Field and Description |
---|---|
protected String |
ejbql |
dataMap, EJBQL_QUERY, name, PROCEDURE_QUERY, properties, root, SELECT_QUERY, SQL_TEMPLATE, type
Constructor and Description |
---|
EJBQLQueryDescriptor() |
Modifier and Type | Method and Description |
---|---|
EJBQLQuery |
buildQuery()
Assembles Cayenne query instance of appropriate type from this descriptor.
|
void |
encodeAsXML(XMLEncoder encoder)
Prints itself as XML to the provided XMLEncoder.
|
String |
getEjbql()
Returns EJBQL query string for this query.
|
void |
setEjbql(String ejbql)
Sets EJBQL query string for this query.
|
acceptVisitor, descriptor, ejbqlQueryDescriptor, getDataMap, getName, getProperties, getProperty, getRoot, getType, procedureQueryDescriptor, selectQueryDescriptor, setDataMap, setName, setProperties, setProperty, setRoot, setType, sqlTemplateDescriptor
protected String ejbql
public String getEjbql()
public void setEjbql(String ejbql)
public EJBQLQuery buildQuery()
QueryDescriptor
buildQuery
in class QueryDescriptor
public void encodeAsXML(XMLEncoder encoder)
XMLSerializable
encodeAsXML
in interface XMLSerializable
encodeAsXML
in class QueryDescriptor
Copyright © 2001–2018 Apache Cayenne. All rights reserved.