complexType mapped-superclass

complexType {http://java.sun.com/xml/ns/persistence/orm}mapped-superclass

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="mapped-superclass">
    <
xsd:annotation>
        <
xsd:documentation>
Defines the settings and mappings for a mapped superclass. Is
allowed to be sparsely populated and used in conjunction with
the annotations. Alternatively, the metadata-complete attribute
can be used to indicate that no annotations are to be processed
If this is the case then the defaulting rules will be recursively
applied.

@Target(TYPE) @Retention(RUNTIME)
public @interface MappedSuperclass{}
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:sequence>
        <
xsd:element name="description" type="xsd:string" minOccurs="0"/>
        <
xsd:element name="id-class" type="orm:id-class" minOccurs="0"/>
        <
xsd:element name="exclude-default-listeners" type="orm:emptyType" minOccurs="0"/>
        <
xsd:element name="exclude-superclass-listeners" type="orm:emptyType" minOccurs="0"/>
        <
xsd:element name="entity-listeners" type="orm:entity-listeners" minOccurs="0"/>
        <
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:element name="attributes" type="orm:attributes" minOccurs="0"/>
    </
xsd:sequence>
    <
xsd:attribute name="class" type="xsd:string" use="required"/>
    <
xsd:attribute name="access" type="orm:access-type"/>
    <
xsd:attribute name="metadata-complete" type="xsd:boolean"/>
</
xsd:complexType>


Documentation

Defines the settings and mappings for a mapped superclass. Is
allowed to be sparsely populated and used in conjunction with
the annotations. Alternatively, the metadata-complete attribute
can be used to indicate that no annotations are to be processed
If this is the case then the defaulting rules will be recursively
applied.
@Target(TYPE) @Retention(RUNTIME)
public @interface MappedSuperclass{}


complexType mapped-superclass


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.