class AssocRules

Used to determine rules for associations. More...

Definition#include <./assocrules.h>
InheritsUml [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

Used to determine rules for associations.

 AssocRules ()

AssocRules

Constructor

 ~AssocRules ()

~AssocRules

Deconstructor

bool  allowAssociation ( Association_Type assocType, UMLWidget * widget )

allowAssociation

[static]

Returns whether an association is going to be allowed for the given values. This method is used to test if you can start an association.

bool  allowAssociation ( Association_Type assocType, UMLWidget * widgetA, UMLWidget * widgetB )

allowAssociation

[static]

Returns whether an association is valid with the given variables. This method is used to finish an association

bool  allowRole ( Association_Type assocType )

allowRole

[static]

Returns whether to allow a role text for the given association type.

bool  allowMultiplicity ( Association_Type assocType, UMLWidget_Type widgetType )

allowMultiplicity

[static]

Returns whether to allow a multiplicity text for the given association and widget type.

bool  allowSelf ( Association_Type assocType, UMLWidget_Type widgetType )

allowSelf

[static]

Returns whether to allow an association to self for given variables.