Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6737195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:13:14+00:00 2026-05-26T11:13:14+00:00

In UML2.3 superstructure document, section 7.3.42 ParameterDirectionKind, there is a Description for the enumeration

  • 0

In UML2.3 superstructure document, section 7.3.42 ParameterDirectionKind, there is a Description for the enumeration of the literal values:

in/inout/out/return

It is easy to understand “in” and “inout” from implementation perspective.

In C++ for example, “in” can be implemented in two ways:

foo( CString strParam )
bar( const CString& strParam )

“inout” can be also implemented in two ways: (reference & pointer)

foo( CString* pParam )
bar( CString& strParam)

Now comes to my question:

  1. What does “return” mean? (I’m talking about “return” direction for a parameter, not return type for an operation/method)

    Are there any language support this direction of parameter? What is the code looks like.

    If no language support it, how to use it conventionally?

  2. What is the difference between “return” and “out”?

  3. Any implementation code for “out” direction of a parameter?

In my opinion, whenever we are talking about a parameter, there must be a caller call this function with an argument assigned to the parameter. Is this statement correct?

Then based on the parameter’s direction, it could be in/inout/out/return. My question is: what does “return” direction mean? There must be a reason for the OMG to put this type in the document that I did not figure out.

From UML2.3 Superstructure 7.3.42

return:Indicates that parameter values are passed as return values from a behavioral element back to the caller.

Thank you in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:13:15+00:00Added an answer on May 26, 2026 at 11:13 am

    in UML, the “return parameter” is what is returned and can have only one. Think of it from the perspective of being inside the method (not from the perspective of real life language design as you know it). The return parameter is what the entity passes to what invoked it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any tutorials or documentation files for drawing Sequence Diagrams with Eclipse MDT-UML2?
How do I print out the attribute values of all message and lifeline nodes
Is there a standard representation for typed java collections in UML2? I am working
I'd like to install UML2 Tool plugin in eclipse 3.6, but I can not
Is there any way (official according to UML 2.0) to have sequence diagrams or
Can someone please help me reverse engineerJava code in Eclipse using UML2? Or give
Can any one help me get eclipse repository of UML2 ? I could not
Is there an option in VS2010 Ultimate in UML tools to create class diagram
I am evaluating a tool which says that it supports UML 2.2. However if
I am using IBM Rational Software Architect for creating a UML Model and then

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.