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

Element cay:db-entity

Namespace | http://cayenne.apache.org/schema/3.0/modelMap
Diagram |
Properties |
content: | complex
Used by |
Element | cay:data-map
Model | cay:db-attribute+ , cay:db-key-generator{0,1} , cay:qualifier{0,1}
Children | cay:db-attribute, cay:db-key-generator, cay:qualifier
Instance |
    <cay:db-entity catalog="" name="" schema="">
      <cay:db-attribute isGenerated="" isMandatory="" isPrimaryKey="" length="" name="" scale="" type="">{1,unbounded}</cay:db-attribute>
      <cay:db-key-generator>{0,1}</cay:db-key-generator>
      <cay:qualifier>{0,1}</cay:qualifier>
    </cay:db-entity>
Attributes |
QName | Type | Fixed | Default | Use | Annotation
--- | --- | --- | --- | --- | ---
catalog | xs:string |  |  | optional |
name | xs:string |  |  | required |
schema | xs:string |  |  | optional |
Source |
    <xs:element name="db-entity">
      <xs:complexType>
        <xs:sequence>
          <xs:element maxOccurs="unbounded" ref="cay:db-attribute"/>
          <xs:element minOccurs="0" ref="cay:db-key-generator"/>
          <!-- Qualifier for DB Entity -->
          <xs:element minOccurs="0" ref="cay:qualifier"/>
        </xs:sequence>
        <xs:attribute name="name" use="required" type="xs:string"/>
        <xs:attribute name="schema" type="xs:string"/>
        <xs:attribute name="catalog" type="xs:string"/>
      </xs:complexType>
    </xs:element>
Schema location | file:/Users/ari/svn/cayenne30/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd

Attribute cay:db-entity / @name

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

Attribute cay:db-entity / @schema

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

Attribute cay:db-entity / @catalog

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