facebook

"package" or default visibility on an attribute

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #307299 Reply

    Leonid Shchervinsky
    Participant

    I don’t see an option for “package” or default visibility option for an attribute? How would you code it with this tool?

    Thanks
    Leonid

    #307419 Reply

    Hi Leonid,

    Sorry for the delay.
    Can you give some more information to resolve the issue?
    What does

    I don’t see an option for “package” or default visibility option for an attribute?

    mean? What exactly are you trying to do?
    Can you please list out steps you are doing so that I’ll try at my end.
    Also, please tell me what version of ME are you using?

    Thanks,
    Chakri

    #307428 Reply

    Leonid Shchervinsky
    Participant

    There are four levels of visibility for Java class members:
    public
    protected
    “package” -> default
    private

    I do not see a way to mark a member of a class as “default”. When I don’t have any kind of qualifier and generate Java, I get ‘public’ level of access.

    Thanks
    Leonid

    #307455 Reply

    Hi Leonid,

    I thought you were asking about UML2. It is available in UML2. I’ll escalate the issue regarding UML1 to my dev team. Sorry for the inconvenience.

    Thanks,
    Chakri.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: "package" or default visibility on an attribute

You must be logged in to post in the forum log in