Definition assocrules.h:43
Language language
language rule applies to
Definition assocrules.h:46
WidgetBase::WidgetType widgetA_type
type of role A widget
Definition assocrules.h:48
Level level
UML level.
Definition assocrules.h:54
bool bidirectional
can have an association of same type going between widget each way
Definition assocrules.h:52
WidgetBase::WidgetType widgetB_type
type of role B widget
Definition assocrules.h:49
bool role
role text
Definition assocrules.h:50
bool isValid() const
< Structure to help determine association rules.
Definition assocrules.cpp:567
bool self
association to self
Definition assocrules.h:53
Uml::AssociationType::Enum assoc_type
association type
Definition assocrules.h:47
bool multiplicity
multiplicity text on association
Definition assocrules.h:51
Definition assocrules.h:21
static bool allowMultiplicity(Uml::AssociationType::Enum assocType, WidgetBase::WidgetType widgetType)
Definition assocrules.cpp:367
static bool allowAssociation(Uml::AssociationType::Enum assocType, UMLWidget *widget)
Definition assocrules.cpp:50
static bool allowRole(Uml::AssociationType::Enum assocType)
Definition assocrules.cpp:351
~AssocRules()
Definition assocrules.cpp:42
static const int m_nNumRules
The number of rules known about.
Definition assocrules.h:58
AssocRules()
Definition assocrules.cpp:35
static Uml::AssociationType::Enum isGeneralisationOrRealisation(UMLWidget *widgetA, UMLWidget *widgetB)
Definition assocrules.cpp:401
static bool allowSelf(Uml::AssociationType::Enum assocType, WidgetBase::WidgetType widgetType)
Definition assocrules.cpp:383
Language
Definition assocrules.h:39
@ Java
Definition assocrules.h:39
@ All
Definition assocrules.h:39
Level
Definition assocrules.h:40
@ UML2
Definition assocrules.h:40
@ Any
Definition assocrules.h:40
@ UML1
Definition assocrules.h:40
static const Assoc_Rule m_AssocRules[]
Container that holds all the rules.
Definition assocrules.h:418
Enum
Definition basictypes.h:92