You can use parameters, literals, and signals in classifiers to specify the behaviors and properties of model elements in diagrams.
Adding parameters to operations
In UML diagrams, you can add parameters to pass information into and out of operations.Showing or hiding parameters
In UML diagrams, you can show or hide parameters in operations according to the level of detail that you want the classifiers in your diagram to display.Deleting parameters from operations
In UML diagrams, you can delete parameters from operations.Adding enumeration literals to enumerations
In your UML model, you can add enumeration literals to an enumeration to show the named identifiers that represent the values of the enumeration.Sorting and filtering enumeration literals
In your UML model, you can reduce the complexity, or increase the abstraction level, of your diagrams by sorting and filtering the display of enumeration literals in enumerations.Adding signal receptions to classifiers
In your UML model, you can add signal receptions to a classifier to indicate that the classifier is ready to respond to a signal. The signal reception identifies the signal and specifies how the receiving object should respond.
Parent topic: Modeling static structure by using class diagrams
Related concepts
Templates
Template parameters and arguments