Package org.apache.cayenne.map
Class ProcedureQueryDescriptor
java.lang.Object
org.apache.cayenne.map.QueryDescriptor
org.apache.cayenne.map.ProcedureQueryDescriptor
- All Implemented Interfaces:
- Serializable,- ConfigurationNode,- XMLSerializable
public class ProcedureQueryDescriptor extends QueryDescriptor
- Since:
- 4.0
- See Also:
- Serialized Form
- 
Field SummaryFields Modifier and Type Field Description protected StringresultEntityNameFields 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 ProcedureQueryDescriptor()
- 
Method SummaryModifier and Type Method Description ProcedureQuerybuildQuery()Assembles Cayenne query instance of appropriate type from this descriptor.voidencodeAsXML(XMLEncoder encoder, ConfigurationNodeVisitor delegate)Prints itself as XML to the provided XMLEncoder.StringgetResultEntityName()Returns result entity name.voidsetResultEntityName(String resultEntityName)Sets result entity name.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- 
resultEntityName
 
- 
- 
Constructor Details- 
ProcedureQueryDescriptorpublic ProcedureQueryDescriptor()
 
- 
- 
Method Details- 
getResultEntityNameReturns result entity name.
- 
setResultEntityNameSets result entity name.
- 
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
 
 
-