|attribute dependencies [message #556688]
||Thu, 02 September 2010 10:46
| Santhosh Injineri
Registered: August 2010
I am new to EMF and I am using Ecore model to generate the code ... My requirement is as follows
2 classes classA and classB.
Attributes in ClassA is -> nameA:EString , typeA:EString
Attribute in ClassB is -> nameB:EString , typeB:nameA
I want Attribute typeB in ClassB should depend on value held by Attr nameA.
nameA=Pressure , typeA:Int
Is it possible to show in UML diagram (ECoreDiagram)or do i need to go for Annoted Java?? Please share some snippet of code if you have done anything like this before...
[Updated on: Thu, 02 September 2010 10:47]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01428 seconds