I’m trying to model a class that has a method with a variable argument list (like printf()) in UML. Any idea what to write in the parameter string?
I’m trying to model a class that has a method with a variable argument
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As far I can see from the UML 2.3 superstructure spec, it is possible to define the multiplicity attribute for operation parameters. Thus a set of optional parameters could be expressed with a defined parameter and applying a multiplicity of [0..*].