RelationshipRule
Base Type: Rule
A class that contains a relationship rule.
Property |
Type |
Description |
---|---|---|
DestinationClassID |
int |
The ID of the destination object class. |
DestinationMaximumCardinality |
int |
The maximum cardinality value of the destination object Class. |
DestinationMaximumCardinalitySpecified |
bool |
Indicates if DestinationMaximumCardinality is specified. |
DestinationMinimumCardinality |
int |
The minimum cardinality value of the destination object class. |
DestinationMinimumCardinalitySpecified |
bool |
Indicates if DestinationMinimumCardinality is specified. |
DestinationSubtypeCode |
int |
The subtype value of the destination object class. |
OriginClassID |
int |
The ID of the origin object class. |
OriginMaximumCardinality |
int |
The maximum cardinality value of the origin object class. |
OriginMaximumCardinalitySpecified |
bool |
Indicates if OriginMaximumCardinality is specified. |
OriginMinimumCardinality |
int |
The minimum cardinality value of the origin object class. |
OriginMinimumCardinalitySpecified |
bool |
Indicates if OriginMinimumCardinality is specified. |
OriginSubtypeCode |
int |
The subtype value of the origin object class. |
Remarks
Relationship classes can be provided with relationship rules to control how which object subtypes from the origin class can be related to which object subtypes in the destination class. They can also be used to specify a valid cardinality range for all allowed subtype pairs.