RelationshipDefinition Complex Type Complex Type

Defines the elements that contain all the information defining the relationship between two members.

<xs:complexType name="RelationshipDefinition">
    <xs:complexContent>
        <xs:extension
            base="Definition"
        >
            <xs:choice
                minOccurs="0"
                maxOccurs="unbounded"
            >
                <xs:element name="ObjectConstraintGroup"
                    type="ObjectConstraintGroup"
                 />
                <xs:element name="ObjectConstraint"
                    type="ObjectConstraint"
                 />
                <xs:element name="Constraint"
                    type="ConstraintMember"
                 />
                <xs:element name="ConstraintGroup"
                    type="ConstraintGroup"
                 />
                <xs:element name="Flow"
                    type="FlowMember"
                 />
                <xs:element name="Connection"
                    type="CommunicationMember"
                    minOccurs="0"
                    maxOccurs="unbounded"
                 />
                <xs:element name="Hosting"
                    type="HostingMember"
                 />
                <xs:element name="Delegation"
                    type="DelegationMember"
                 />
                <xs:element name="Reference"
                    type="ReferenceMember"
                 />
                <xs:element name="Containment"
                    type="ContainmentMember"
                 />
            </xs:choice>
            <xs:attribute name="Extends"
                type="QualifiedName"
                use="optional"
             />
            <xs:attribute name="Abstract"
                type="boolean"
                use="optional"
             />
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

Child Elements

Element Type Description
Connection CommunicationMember

A connection relationship member.

Constraint ConstraintMember

Constraint member declaration.

ConstraintGroup ConstraintGroup

Group of constraints that will be evaluated against this relationship definition.

Containment ContainmentMember

A containment relationship member.

Delegation DelegationMember

A delegation relationship member.

Flow FlowMember

Flow between the instances that participate in this relationship.

Hosting HostingMember

A hosting relationship member.

ObjectConstraint ObjectConstraint

A constraint on the instances that participate in this relationship.

ObjectConstraintGroup ObjectConstraintGroup

Not supported.

Reference ReferenceMember

A reference relationship member.

Attributes

Name Type Description
Abstract boolean

true if this relationship can be instantiated. false if it is marked as abstract, and the definition must be extended to complete the missing elements. The default is false.

Extends QualifiedName

The base definition from which this definition derives.

See Also

SystemDefinitionModel Schema Complex Types

Send comments about this topic to Microsoft

Build date: 9/5/2007