Jump to content

UML Diagrams


lynnt

Recommended Posts

Good morning - I have a question about UML Diagrams.

 

Let's assume that we have a class called Step. One of Step's properties is stepNo.

 

In a UML Class Diagram, we could use the following to indicate the types that stepNo's getter and setter methods are expected to return.

 

+getStepNo:String

+setStepNo:void

 

In a UML Class Diagram, we could use the following to indicate the types that stepNo's getter and setter methods expect to receive as input parameters.

 

+getStepNo()

+setStepNo(stepNo:String)

 

For each method, how would we indicate both? In other words, how do we represent both the parameters a method expects to receive and those it expects to return?

 

Thank you.

Link to comment
Share on other sites

  • 3 months later...
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...