RelationDefinition

class caris.RelationDefinition

The definition of a Features relationship with another Feature

property source_feature_code

str: The feature code of the source feature in the relationship

property target_feature_code

str: The feature code fo the target feature in the relationship

property type

RelationType: The type of relationship between the two Features)

class caris.RelationType

The type of Relationship

  • COMPOSITION - The source feature owns or is made up of a set of target features.

  • AGGREGATION - The source feature has a or is a group of a set of target features.

  • ASSOCIATION - The source feature and target feature are related.