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

Element cay:obj-entity

Namespace | http://cayenne.apache.org/schema/3.0/modelMap
Annotations |
    A persistent Java class managed by Cayenne.
Diagram |
Properties |
content: | complex
Used by |
Element | cay:data-map
Model | cay:qualifier{0,1} , cay:embedded-attribute* , cay:obj-attribute* , cay:attribute-override* , cay:entity-listener* , cay:post-add* , cay:pre-persist* , cay:post-persist* , cay:pre-update* , cay:post-update* , cay:pre-remove* , cay:post-remove* , cay:post-load*
Children | cay:attribute-override, cay:embedded-attribute, cay:entity-listener, cay:obj-attribute, cay:post-add, cay:post-load, cay:post-persist, cay:post-remove, cay:post-update, cay:pre-persist, cay:pre-remove, cay:pre-update, cay:qualifier
Instance |
    <cay:obj-entity abstract="" className="" clientClassName="" clientSuperClassName="" dbEntityName="" exclude-default-listeners="" exclude-superclass-listeners="" lock-type="" name="" readOnly="" serverOnly="" superClassName="" superEntityName="">
      <cay:qualifier>{0,1}</cay:qualifier>
      <cay:embedded-attribute name="" type="">{0,unbounded}</cay:embedded-attribute>
      <cay:obj-attribute db-attribute-path="" lock="" name="" type="">{0,unbounded}</cay:obj-attribute>
      <cay:attribute-override db-attribute-path="" lock="" name="" type="">{0,unbounded}</cay:attribute-override>
      <cay:entity-listener class="">{0,unbounded}</cay:entity-listener>
      <cay:post-add method-name="">{0,unbounded}</cay:post-add>
      <cay:pre-persist method-name="">{0,unbounded}</cay:pre-persist>
      <cay:post-persist method-name="">{0,unbounded}</cay:post-persist>
      <cay:pre-update method-name="">{0,unbounded}</cay:pre-update>
      <cay:post-update method-name="">{0,unbounded}</cay:post-update>
      <cay:pre-remove method-name="">{0,unbounded}</cay:pre-remove>
      <cay:post-remove method-name="">{0,unbounded}</cay:post-remove>
      <cay:post-load method-name="">{0,unbounded}</cay:post-load>
    </cay:obj-entity>
Attributes |
QName | Type | Fixed | Default | Use | Annotation
--- | --- | --- | --- | --- | ---
abstract | xs:string |  |  | optional |
className | xs:string |  |  | optional |
clientClassName | xs:string |  |  | optional |
clientSuperClassName | xs:string |  |  | optional |
dbEntityName | xs:string |  |  | optional |
exclude-default-listeners | xs:boolean |  |  | optional |
exclude-superclass-listeners | xs:boolean |  |  | optional |
lock-type | xs:string |  |  | optional |
name | xs:string |  |  | required |
readOnly | xs:boolean |  |  | optional |
serverOnly | xs:boolean |  |  | optional |
superClassName | xs:string |  |  | optional |
superEntityName | xs:string |  |  | optional |
Source |
    <xs:element name="obj-entity">
      <xs:annotation>
        <xs:documentation>A persistent Java class managed by Cayenne.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element minOccurs="0" ref="cay:qualifier"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:embedded-attribute"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:obj-attribute"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:attribute-override"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:entity-listener"/>
          <!--  Callbacks -->
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:post-add"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:pre-persist"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:post-persist"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:pre-update"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:post-update"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:pre-remove"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:post-remove"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="cay:post-load"/>
        </xs:sequence>
        <xs:attribute name="className" use="optional" type="xs:string"/>
        <xs:attribute name="abstract" use="optional" type="xs:string"/>
        <xs:attribute name="readOnly" use="optional" type="xs:boolean"/>
        <xs:attribute name="clientClassName" use="optional" type="xs:string"/>
        <xs:attribute name="clientSuperClassName" use="optional" type="xs:string"/>
        <xs:attribute name="dbEntityName" use="optional" type="xs:string"/>
        <xs:attribute name="lock-type" type="xs:string"/>
        <xs:attribute name="name" use="required" type="xs:string"/>
        <xs:attribute name="superClassName" use="optional" type="xs:string"/>
        <xs:attribute name="superEntityName" use="optional" type="xs:string"/>
        <xs:attribute name="exclude-superclass-listeners" use="optional" type="xs:boolean"/>
        <xs:attribute name="exclude-default-listeners" use="optional" type="xs:boolean"/>
        <xs:attribute name="serverOnly" use="optional" type="xs:boolean"/>
      </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:obj-entity / @className

Namespace | No namespace
Type | xs:string
Properties |
use: | optional
Used by |
Element | cay:obj-entity
Source |
    <xs:attribute name="className" use="optional" 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:obj-entity / @abstract

Namespace | No namespace
Type | xs:string
Properties |
use: | optional
Used by |
Element | cay:obj-entity
Source |
    <xs:attribute name="abstract" use="optional" 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:obj-entity / @readOnly

Namespace | No namespace
Type | xs:boolean
Properties |
use: | optional
Used by |
Element | cay:obj-entity
Source |
    <xs:attribute name="readOnly" use="optional" type="xs:boolean"/>
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:obj-entity / @clientClassName

Namespace | No namespace
Type | xs:string
Properties |
use: | optional
Used by |
Element | cay:obj-entity
Source |
    <xs:attribute name="clientClassName" use="optional" 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:obj-entity / @clientSuperClassName

Namespace | No namespace
Type | xs:string
Properties |
use: | optional
Used by |
Element | cay:obj-entity
Source |
    <xs:attribute name="clientSuperClassName" use="optional" 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:obj-entity / @dbEntityName

Namespace | No namespace
Type | xs:string
Properties |
use: | optional
Used by |
Element | cay:obj-entity
Source |
    <xs:attribute name="dbEntityName" use="optional" 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:obj-entity / @lock-type

Namespace | No namespace
Type | xs:string
Properties |
content: | simple
Used by |
Element | cay:obj-entity
Source |
    <xs:attribute name="lock-type" 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:obj-entity / @name

Namespace | No namespace
Type | xs:string
Properties |
use: | required
Used by |
Element | cay:obj-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:obj-entity / @superClassName

Namespace | No namespace
Type | xs:string
Properties |
use: | optional
Used by |
Element | cay:obj-entity
Source |
    <xs:attribute name="superClassName" use="optional" 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:obj-entity / @superEntityName

Namespace | No namespace
Type | xs:string
Properties |
use: | optional
Used by |
Element | cay:obj-entity
Source |
    <xs:attribute name="superEntityName" use="optional" 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:obj-entity / @exclude-superclass-listeners

Namespace | No namespace
Type | xs:boolean
Properties |
use: | optional
Used by |
Element | cay:obj-entity
Source |
    <xs:attribute name="exclude-superclass-listeners" use="optional" type="xs:boolean"/>
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:obj-entity / @exclude-default-listeners

Namespace | No namespace
Type | xs:boolean
Properties |
use: | optional
Used by |
Element | cay:obj-entity
Source |
    <xs:attribute name="exclude-default-listeners" use="optional" type="xs:boolean"/>
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:obj-entity / @serverOnly

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