Skip to main content
Tweeted twitter.com/#!/StackProgrammer/status/544427546356772864
deleted 1 character in body
Source Link
Robert Harvey
  • 200.7k
  • 55
  • 470
  • 683

I'm modelling a Filter class that stores the options for filtering a search. Some of the attributes are multiple choice.

For example, if you are filtering hotel rooms you have a Price attribute that can take these three values: Best, Average, High. You can choose many values at the same time. In an UI would be represented as a group of checkboxes.

Can this be reperesentedrepresented in a UML class diagram?

I'm modelling a Filter class that stores the options for filtering a search. Some of the attributes are multiple choice.

For example, if you are filtering hotel rooms you have a Price attribute that can take these three values: Best, Average, High. You can choose many values at the same time. In an UI would be represented as a group of checkboxes.

Can this be reperesented in a UML class diagram?

I'm modelling a Filter class that stores the options for filtering a search. Some of the attributes are multiple choice.

For example, if you are filtering hotel rooms you have a Price attribute that can take these three values: Best, Average, High. You can choose many values at the same time. In an UI would be represented as a group of checkboxes.

Can this be represented in a UML class diagram?

Source Link
jmservera
  • 599
  • 3
  • 13

How to represent a multiple choice attribute in UML class diagram?

I'm modelling a Filter class that stores the options for filtering a search. Some of the attributes are multiple choice.

For example, if you are filtering hotel rooms you have a Price attribute that can take these three values: Best, Average, High. You can choose many values at the same time. In an UI would be represented as a group of checkboxes.

Can this be reperesented in a UML class diagram?