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