complexType AssociationRule

complexType {http://java.sun.com/products/oss/xml/CBE/Core}AssociationRule

Abstractfalse (This can be used in an instance)
Target Namespacehttp://java.sun.com/products/oss/xml/CBE/Core
Declared Namespacesxmlns:cbecore=http://java.sun.com/products/oss/xml/CBE/Core
xmlns:co=http://java.sun.com/products/oss/xml/Common
xmlns=http://www.w3.org/2001/XMLSchema


Source

<complexType name="AssociationRule">
    <
annotation>
        <
documentation>
An association rule defines the constraints for the corresponding association type.
An association rule should be provided for every concrete association type.
<p>

<p>
Association Rules define:
<ul>
<li>the roles at each association end
<li>the cardinality of the association at each association end
<li>the type of entities or specifications involved at each association end
<li>the constraints applicable to this association
</ul>
<p>
If the constraints defined in an association rule are not respected during an
update operation (e.g. a creation of an association or a set operation on an
entity involved in the association) an <CODE>AssociationRuleViolationException</CODE>
is thrown.
        
</documentation>
    </
annotation>
    <
sequence>
        <
element name="associationType" minOccurs="0" nillable="true" type="string"/>
        <
element name="AEndRole" minOccurs="0" nillable="true" type="string"/>
        <
element name="ZEndRole" minOccurs="0" nillable="true" type="string"/>
        <
element name="AEndCardinality" minOccurs="0" nillable="true" type="cbecore:Cardinality"/>
        <
element name="ZEndCardinality" minOccurs="0" nillable="true" type="cbecore:Cardinality"/>
        <
element name="AEndType" minOccurs="0" nillable="true" type="string"/>
        <
element name="ZEndType" minOccurs="0" nillable="true" type="string"/>
    </
sequence>
</
complexType>


Documentation

An association rule defines the constraints for the corresponding association type.
 An association rule should be provided for every concrete association type.
 <p>
 <p>
 Association Rules define:
 <ul>
 <li>the roles at each association end
 <li>the cardinality of the association at each association end
 <li>the type of entities or specifications  involved at each association end
 <li>the constraints applicable to this association
 </ul>
 <p>
 If the constraints defined in an association rule are not respected during an
 update operation (e.g. a creation of an association or a set operation on an
 entity involved in the association) an <CODE>AssociationRuleViolationException</CODE>
 is thrown.


complexType AssociationRule


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.