static Uml::AssociationType::Enum isGeneralisationOrRealisation(UMLWidget *widgetA, UMLWidget *widgetB)
Definition: assocrules.cpp:379
Language language
language rule applies to
Definition: assocrules.h:51
bool multiplicity
multiplicity text on association
Definition: assocrules.h:56
Uml::AssociationType::Enum assoc_type
association type
Definition: assocrules.h:52
Definition: assocrules.h:48
AssocRules()
Definition: assocrules.cpp:36
static bool allowMultiplicity(Uml::AssociationType::Enum assocType, WidgetBase::WidgetType widgetType)
Definition: assocrules.cpp:345
WidgetBase::WidgetType widgetA_type
type of role A widget
Definition: assocrules.h:53
Level
Definition: assocrules.h:45
Level level
UML level.
Definition: assocrules.h:59
Definition: assocrules.h:44
Definition: assocrules.h:25
WidgetBase::WidgetType widgetB_type
type of role B widget
Definition: assocrules.h:54
Language
Definition: assocrules.h:44
Definition: assocrules.h:45
bool bidirectional
can have an association of same type going between widget each way
Definition: assocrules.h:57
Enum
Definition: basictypes.h:106
Definition: assocrules.h:45
static int m_nNumRules
The number of rules known about.
Definition: assocrules.h:63
~AssocRules()
Definition: assocrules.cpp:43
static bool allowSelf(Uml::AssociationType::Enum assocType, WidgetBase::WidgetType widgetType)
Definition: assocrules.cpp:361
static Assoc_Rule m_AssocRules[]
Container that holds all the rules.
Definition: assocrules.h:62
Definition: assocrules.h:44
static bool allowRole(Uml::AssociationType::Enum assocType)
Definition: assocrules.cpp:329
static bool allowAssociation(Uml::AssociationType::Enum assocType, UMLWidget *widget)
Definition: assocrules.cpp:51
bool role
role text
Definition: assocrules.h:55
Definition: assocrules.h:45
bool isValid() const
< Structure to help determine association rules.
Definition: assocrules.cpp:537