Package org.apache.cayenne.map
Class EJBQLQueryDescriptor
java.lang.Object
org.apache.cayenne.map.QueryDescriptor
org.apache.cayenne.map.EJBQLQueryDescriptor
- All Implemented Interfaces:
- Serializable,- ConfigurationNode,- XMLSerializable
public class EJBQLQueryDescriptor extends QueryDescriptor
- Since:
- 4.0
- See Also:
- Serialized Form
- 
Field SummaryFields inherited from class org.apache.cayenne.map.QueryDescriptorDATA_MAP_ROOT, dataMap, DB_ENTITY_ROOT, EJBQL_QUERY, JAVA_CLASS_ROOT, name, OBJ_ENTITY_ROOT, PROCEDURE_QUERY, PROCEDURE_ROOT, properties, root, SELECT_QUERY, SQL_TEMPLATE, type
- 
Constructor SummaryConstructors Constructor Description EJBQLQueryDescriptor()
- 
Method SummaryModifier and Type Method Description EJBQLQuerybuildQuery()Assembles Cayenne query instance of appropriate type from this descriptor.voidencodeAsXML(XMLEncoder encoder, ConfigurationNodeVisitor delegate)Prints itself as XML to the provided XMLEncoder.StringgetEjbql()Returns EJBQL query string for this query.voidsetEjbql(String ejbql)Sets EJBQL query string for this query.Methods inherited from class org.apache.cayenne.map.QueryDescriptoracceptVisitor, descriptor, ejbqlQueryDescriptor, getDataMap, getName, getProperties, getProperty, getRoot, getType, procedureQueryDescriptor, selectQueryDescriptor, setDataMap, setName, setProperties, setProperty, setRoot, setType, sqlTemplateDescriptor
- 
Field Details- 
ejbql
 
- 
- 
Constructor Details- 
EJBQLQueryDescriptorpublic EJBQLQueryDescriptor()
 
- 
- 
Method Details- 
getEjbqlReturns EJBQL query string for this query.
- 
setEjbqlSets EJBQL query string for this query.
- 
buildQueryDescription copied from class:QueryDescriptorAssembles Cayenne query instance of appropriate type from this descriptor.- Overrides:
- buildQueryin class- QueryDescriptor
 
- 
encodeAsXMLDescription copied from interface:XMLSerializablePrints itself as XML to the provided XMLEncoder.- Specified by:
- encodeAsXMLin interface- XMLSerializable
- Overrides:
- encodeAsXMLin class- QueryDescriptor
 
 
-