Declaring Domain-specific in OAL expressions

homepage Forums BridgePoint/xtUML Usage and Training Declaring Domain-specific in OAL expressions

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7753
    Schmill
    Participant

    Whenever I have to pass a <<dataType> variable to an operation/event I would create an attribute for the self context in OAL. is there a more elegant way to declare a local variable of the data type without having to add a class attribute?

    Thank you.

    • This topic was modified 2 years, 2 months ago by Schmill.
    #7755
    cort
    Keymaster

    There is not a more elegant way.
    There is another equally awkward way.
    You can create a function that returns that type… like I said, awkward.

    #7756
    Schmill
    Participant

    Thank you

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.