Showing:

Attributes
Diagrams
Instances
Properties
Source
Used by
Element cay:db-relationship
Namespace http://cayenne.apache.org/schema/3.0/modelMap
Diagram
Diagram modelMap24.tmp#id88 modelMap24.tmp#id89 modelMap24.tmp#id90 modelMap24.tmp#id91 modelMap24.tmp#id92 modelMap15.tmp#id85
Properties
content: complex
Used by
Element cay:data-map
Model cay:db-attribute-pair+
Children cay:db-attribute-pair
Instance
<cay:db-relationship name="" source="" target="" toDependentPK="" toMany="">
  <cay:db-attribute-pair source="" target="">{1,unbounded}</cay:db-attribute-pair>
</cay:db-relationship>
Attributes
QName Type Fixed Default Use Annotation
name xs:string required
source xs:string required
target xs:string required
toDependentPK xs:boolean optional
toMany xs:boolean required
Source
<xs:element name="db-relationship">
  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="unbounded" ref="cay:db-attribute-pair"/>
    </xs:sequence>
    <xs:attribute name="name" use="required" type="xs:string"/>
    <xs:attribute name="source" use="required" type="xs:string"/>
    <xs:attribute name="target" use="required" type="xs:string"/>
    <xs:attribute name="toDependentPK" type="xs:boolean"/>
    <xs:attribute name="toMany" use="required" 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:db-relationship / @name
Namespace No namespace
Type xs:string
Properties
use: required
Used by
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:db-relationship / @source
Namespace No namespace
Type xs:string
Properties
use: required
Used by
Source
<xs:attribute name="source" 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:db-relationship / @target
Namespace No namespace
Type xs:string
Properties
use: required
Used by
Source
<xs:attribute name="target" 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:db-relationship / @toDependentPK
Namespace No namespace
Type xs:boolean
Properties
content: simple
Used by
Source
<xs:attribute name="toDependentPK" 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:db-relationship / @toMany
Namespace No namespace
Type xs:boolean
Properties
use: required
Used by
Source
<xs:attribute name="toMany" use="required" 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