private bool TestAssociation(GoatAssociationModel Association, string LeftMultiplicity, string RightMultiplicity, AggregationType LeftAggregationType, AggregationType RightAggregationType, bool LeftIsOwned, bool RightIsOwned, NavigabilityType LeftNavigability, NavigabilityType RightNavigability, bool LeftDerived, bool RightDerived, bool LeftUnion, bool RightUnion) { return(Association.Left.Multiplicity == LeftMultiplicity && Association.Right.Multiplicity == RightMultiplicity && Association.Left.Aggregation == LeftAggregationType && Association.Right.Aggregation == RightAggregationType && Association.Left.IsOwnedByClassifier == LeftIsOwned && Association.Right.IsOwnedByClassifier == RightIsOwned && Association.Left.Navigability == LeftNavigability && Association.Right.Navigability == RightNavigability && Association.Left.Derived == LeftDerived && Association.Right.Derived == RightDerived && Association.Left.Union == LeftUnion && Association.Right.Union == RightUnion); }
private void SetAssociation(GoatAssociationModel Association, string LeftMultiplicity, string RightMultiplicity, AggregationType LeftAggregationType, AggregationType RightAggregationType, bool LeftIsOwned, bool RightIsOwned, NavigabilityType LeftNavigability, NavigabilityType RightNavigability, bool LeftDerived, bool RightDerived, bool LeftUnion, bool RightUnion) { Association.Left.Multiplicity = LeftMultiplicity; Association.Right.Multiplicity = RightMultiplicity; Association.Left.Aggregation = LeftAggregationType; Association.Right.Aggregation = RightAggregationType; Association.Left.IsOwnedByClassifier = LeftIsOwned; Association.Right.IsOwnedByClassifier = RightIsOwned; Association.Left.Navigability = LeftNavigability; Association.Right.Navigability = RightNavigability; Association.Left.Derived = LeftDerived; Association.Right.Derived = RightDerived; Association.Left.Union = LeftUnion; Association.Right.Union = RightUnion; }