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

Element cay:entity-listener

Namespace | http://cayenne.apache.org/schema/3.0/modelMap
Diagram |
Properties |
content: | complex
Used by |
Elements | cay:data-map, cay:obj-entity
Model | 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:post-add, cay:post-load, cay:post-persist, cay:post-remove, cay:post-update, cay:pre-persist, cay:pre-remove, cay:pre-update
Instance |
    <cay:entity-listener class="">
      <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:entity-listener>
Attributes |
QName | Type | Fixed | Default | Use | Annotation
--- | --- | --- | --- | --- | ---
class | xs:string |  |  | required |
Source |
    <xs:element name="entity-listener">
      <xs:complexType>
        <xs:sequence>
          <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="class" use="required" 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:entity-listener / @class

Namespace | No namespace
Type | xs:string
Properties |
use: | required
Used by |
Element | cay:entity-listener
Source |
    <xs:attribute name="class" 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