Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » UML Factory
UML Factory [message #628526] Sat, 26 June 2010 09:19
zara75  is currently offline zara75 Friend
Messages: 15
Registered: December 2009
Junior Member
Hi All,

I started using UMLFactory provided by Package org.eclipse.uml2.uml in order to create a UML class diagram.
I succeed to create a classes and associations:
For example
Class c1 = UMLFactory.eINSTANCE.createClass();
Class c2 = UMLFactory.eINSTANCE.createClass();
Property prop1 = UMLFactory.eINSTANCE.createProperty();
Property prop2 = UMLFactory.eINSTANCE.createProperty();


However, when I tried to set a property prop1 to subset the property porp3, I did not find such a method: setSubsettedProperty(Property) or setRedeffinedProperty(Property)

However, I found that there are the methods


I think that this is a strange that the API dont provide such methods, Maybe I miss something here I hope,
Is there any way to define a property to subset another one?

Thanks in advanced
Previous Topic:UML profiles and MIWG Test Case 3
Next Topic:how to transform uml1.4 to uml2
Goto Forum:

Current Time: Wed Jun 20 19:08:27 GMT 2018

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

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

Back to the top