Pergunta

I have created an ERD (Entity-Relationship Diagram) using ArgoUML and I wish to create two operations within a class which both have a void return type. However, I am only able to create one operation which returns a void type.

For example:

enter image description here

I am able to set the return type of bookInitial() to void but whenever I try to set the return type of bookFollowUp() to void, the option is not available.

Having checked with other classes in the project, it would appear that each class only allows one object to have a void return type - is this true for all classes?

Is there is there a way to assign the void return type to more than one operation?

Thank you.

Foi útil?

Solução

ArgoUML is a UML modeling tool, so it doesn't have E-R diagrams. You were probably working with UML Class Diagrams.

What version of ArgoUML are you using? If that really doesn't work, and you're running the latest version (0.32.2), it sounds like a bug which should be reported at http://argouml.tigris.org/project_bugs.html

Outras dicas

enter image description here

I have no problem in creating two operations that return void (with Argo v.0.24). In fact, when adding new operations they are created as returning void by default

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top