| ### Showing:
Attributes
Diagrams
Instances
Properties
Source
Used by

Element cay:query

Namespace | http://cayenne.apache.org/schema/3.0/modelMap
Diagram |
Properties |
content: | complex
Used by |
Element | cay:data-map
Model | cay:property* , cay:sql* , cay:ejbql* , cay:qualifier* , cay:ordering* , cay:prefetch*
Children | cay:ejbql, cay:ordering, cay:prefetch, cay:property, cay:qualifier, cay:sql
Instance |
    <cay:query factory="" name="" result-entity="" root="" root-name="">
      <cay:property name="" value="">{0,unbounded}</cay:property>
      <cay:sql adapter-class="">{0,unbounded}</cay:sql>
      <cay:ejbql>{0,unbounded}</cay:ejbql>
      <cay:qualifier>{0,unbounded}</cay:qualifier>
      <cay:ordering descending="" ignore-case="">{0,unbounded}</cay:ordering>
      <cay:prefetch>{0,unbounded}</cay:prefetch>
    </cay:query>
Attributes |
QName | Type | Fixed | Default | Use | Annotation
--- | --- | --- | --- | --- | ---
factory |  |  |  | required |
name | xs:string |  |  | required |
result-entity | xs:string |  |  | optional |
root | xs:string |  |  | optional |
root-name | xs:string |  |  | optional |
Source |
    <xs:element name="query">
      <xs:complexType>
        <xs:sequence>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:property"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:sql"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:ejbql"/>
          <xs:element name="qualifier" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:ordering"/>
          <xs:element name="prefetch" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
        </xs:sequence>
        <xs:attribute name="factory" use="required"/>
        <xs:attribute name="name" use="required" type="xs:string"/>
        <xs:attribute name="root" use="optional" type="xs:string"/>
        <xs:attribute name="root-name" use="optional" type="xs:string"/>
        <xs:attribute name="result-entity" use="optional" type="xs:string"/>
      </xs:complexType>
    </xs:element>
Schema location | file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd

Element cay:query/cay:qualifier

Namespace | http://cayenne.apache.org/schema/3.0/modelMap
Diagram |
Type | xs:string
Properties |
content: | simple
minOccurs: | 0
maxOccurs: | unbounded
Source |
    <xs:element name="qualifier" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
Schema location | file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd

Element cay:query/cay:prefetch

Namespace | http://cayenne.apache.org/schema/3.0/modelMap
Diagram |
Type | xs:string
Properties |
content: | simple
minOccurs: | 0
maxOccurs: | unbounded
Source |
    <xs:element name="prefetch" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
Schema location | file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd

Attribute cay:query/@factory

Namespace | No namespace
Properties |
use: | required
Used by |
Element | cay:query
Source |
    <xs:attribute name="factory" use="required"/>
Schema location | file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd

Attribute cay:query/@name

Namespace | No namespace
Type | xs:string
Properties |
use: | required
Used by |
Element | cay:query
Source |
    <xs:attribute name="name" use="required" type="xs:string"/>
Schema location | file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd

Attribute cay:query/@root

Namespace | No namespace
Type | xs:string
Properties |
use: | optional
Used by |
Element | cay:query
Source |
    <xs:attribute name="root" use="optional" type="xs:string"/>
Schema location | file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd

Attribute cay:query/@root-name

Namespace | No namespace
Type | xs:string
Properties |
use: | optional
Used by |
Element | cay:query
Source |
    <xs:attribute name="root-name" use="optional" type="xs:string"/>
Schema location | file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd

Attribute cay:query/@result-entity

Namespace | No namespace
Type | xs:string
Properties |
use: | optional
Used by |
Element | cay:query
Source |
    <xs:attribute name="result-entity" use="optional" type="xs:string"/>
Schema location | file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd