Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » How to specify unspecified navigability?
How to specify unspecified navigability? [message #1486279] Tue, 25 November 2014 00:10 Go to next message
Hiroki Kondo is currently offline Hiroki KondoFriend
Messages: 47
Registered: July 2009
Member
Hi there,

Could you tell me how to specify "Unspecified Navigable" to the UML2 model?

Now I create like below.

            UMLFactory umlFactory = UMLFactory.eINSTANCE;
            Model model = umlFactory.createModel();
            Class classA = model.createOwnedClass("classA", false);
            Class classB = model.createOwnedClass("classA", false);
            Association association = classA.createAssociation(true, AggregationKind.NONE_LITERAL, null, 1, 1, classB, true, AggregationKind.NONE_LITERAL, null, 1, 1);


The first argument is the association end's navigable. How do I set unspecified state?
(Sorry, if this question is UML2 specification.)

Regards,
Re: How to specify unspecified navigability? [message #1486787 is a reply to message #1486279] Tue, 25 November 2014 09:39 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi Hiroki,

An association end's navigability is a boolean, so it's either true or false; it can't be unspecified

Regards,
Camille


Camille Letavernier
Re: How to specify unspecified navigability? [message #1496802 is a reply to message #1486787] Wed, 03 December 2014 09:27 Go to previous message
Hiroki Kondo is currently offline Hiroki KondoFriend
Messages: 47
Registered: July 2009
Member
Thank you for your answer, Camille.

Regards,

Hiroki.

[Updated on: Wed, 03 December 2014 09:28]

Report message to a moderator

Previous Topic:Help applying RDF/ODM profile
Next Topic:Auto imports org.eclipse.uml2.uml
Goto Forum:
  


Current Time: Fri Apr 19 07:14:15 GMT 2024

Powered by FUDForum. Page generated in 0.01956 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top