Interfaces

How do I specify interfaces? According to a document I found in the Learning Center, if I create a class object and then go to change its stereotype, I should see ‘Interface’ in the list. But I don’t have it. All I have is: boundary, control, entity. What am I missing?

If you want to specify a class as interface, you can just type “Interface” in the stereotype field (which is an editable combo box) and press Enter, this class will then display its stereotype as “<>”.

However, if you want to specify the class as interface for code generation purpose, you have to invoke the Class Open Specification dialog box, select the “Java Class Code Detail” page and check the “interface” checkbox. Hope this helps.