Creating class diagrams
Class diagrams model the
static structure of a package or of a complete system.
About this task
- Specifying relationships in diagrams
In UML, relationships identify the semantic ties that exist between model elements. To add relationships to a model, you must work either in the diagram editor or in the Project Explorer view. - Adding qualifiers to associations
In UML models, you can add qualifiers to existing associations to index pairings between associated elements. - Adding interfaces to modeling diagrams
In UML modeling, you can add interfaces to class diagrams and component diagrams to specify a contract between the interface and the classifier that realizes the interface. - Managing attributes and operations in classifiers
In UML diagrams, you can add, delete, show, hide, and sort attributes and operations in classifiers to determine how they are displayed and to define the properties and behavior of the classifiers to which they belong. - Setting the properties of model elements
In a class diagram, you can set properties of model elements to specify how model elements interact with each other in a class diagram. - Modifying parameters, literals, and signals in classifiers
You can use parameters, literals, and signals in classifiers to specify the behaviors and properties of model elements in diagrams. - Modifying template parameters and arguments
In UML models, you can use parameterized classes and collaborations to generate new model elements by binding them to a template. Each template parameter that you create uses a type, either a primitive data type or a type of model element. When you create a binding relationship for the parameterized classes or collaborations, you can add an argument that replaces the template parameter in the new generated element. - Specifying relationships in diagrams
In UML, relationships identify the semantic ties that exist between model elements. To add relationships to a model, you must work either in the diagram editor or in the Project Explorer view. - Adding qualifiers to associations
In UML models, you can add qualifiers to existing associations to index pairings between associated elements. - Adding interfaces to modeling diagrams
In UML modeling, you can add interfaces to class diagrams and component diagrams to specify a contract between the interface and the classifier that realizes the interface. - Managing attributes and operations in classifiers
In UML diagrams, you can add, delete, show, hide, and sort attributes and operations in classifiers to determine how they are displayed and to define the properties and behavior of the classifiers to which they belong. - Setting the properties of model elements
In a class diagram, you can set properties of model elements to specify how model elements interact with each other in a class diagram. - Modifying parameters, literals, and signals in classifiers
You can use parameters, literals, and signals in classifiers to specify the behaviors and properties of model elements in diagrams. - Modifying template parameters and arguments
In UML models, you can use parameterized classes and collaborations to generate new model elements by binding them to a template. Each template parameter that you create uses a type, either a primitive data type or a type of model element. When you create a binding relationship for the parameterized classes or collaborations, you can add an argument that replaces the template parameter in the new generated element.
Related tasks:
Feedback