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.
Adding template parameters to classes and collaborations
In UML models, you can add template parameters to classes to create template classes, and to collaborations to create patterns.Deleting template parameters
You can delete template parameters that you no longer require.
Parent topic: Modeling static structure by using class diagrams
Related concepts
Templates
Template parameters and arguments