complexType entity-listener

complexType {http://java.sun.com/xml/ns/persistence/orm}entity-listener

Abstractfalse (This can be used in an instance)
Target Namespacehttp://java.sun.com/xml/ns/persistence/orm
Declared Namespacesxmlns:orm=http://java.sun.com/xml/ns/persistence/orm
xmlns:xsd=http://www.w3.org/2001/XMLSchema


Source

<xsd:complexType name="entity-listener">
    <
xsd:annotation>
        <
xsd:documentation>
Defines an entity listener to be invoked at lifecycle events
for the entities that list this listener.
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:sequence>
        <
xsd:element name="pre-persist" type="orm:pre-persist" minOccurs="0"/>
        <
xsd:element name="post-persist" type="orm:post-persist" minOccurs="0"/>
        <
xsd:element name="pre-remove" type="orm:pre-remove" minOccurs="0"/>
        <
xsd:element name="post-remove" type="orm:post-remove" minOccurs="0"/>
        <
xsd:element name="pre-update" type="orm:pre-update" minOccurs="0"/>
        <
xsd:element name="post-update" type="orm:post-update" minOccurs="0"/>
        <
xsd:element name="post-load" type="orm:post-load" minOccurs="0"/>
    </
xsd:sequence>
    <
xsd:attribute name="class" type="xsd:string" use="required"/>
</
xsd:complexType>


Documentation

Defines an entity listener to be invoked at lifecycle events
for the entities that list this listener.


complexType entity-listener


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.