modelling-tasks-0.0.0.1
Safe HaskellSafe-Inferred
LanguageHaskell2010

Modelling.CdOd.CdAndChanges.Transform

Synopsis

Documentation

transformGetNextFix :: Maybe AnyCd -> ClassConfig -> CdConstraints -> RelationshipProperties -> AllowedProperties -> Bool -> String Source #

Generates Alloy code that

  • provides a change that removes an illegal relationship
  • makes sure, that no non-inheritance relationship exists twice within the class diagram if they are not referenced by name

transformImproveCd Source #

Arguments

:: AnyCd

the generated CD

-> ClassConfig

the configuration used for generating the CD

-> [CdMutation]

the mutations that are allowed to be used

-> RelationshipProperties

the properties of the original CD

-> String 

transformNoChanges :: ClassConfig -> RelationshipProperties -> Maybe Bool -> String Source #

Create Alloy code for the generation of a single class diagram with the given properties.