|
Guys,
I'm having some problems setting up some relationships within my DSL.
Root relations with Deployment etc etc...
1.) Deployment ---- [ 0.*] -------> Tool
2.) Tool ---- [IsSubclass of] -----> Asset
3.) Asset ---- [1.*] --------> BusinessDomain
The problem is relationship #3. I simply want a 1:M between Asset and BusinessDomain so that each subclass of Asset exhibits that relation. After connecting the BusinessDomain to an ImageShape (or geometryShape for that matter), I specified the following ParentElement for the BusinessDomain class
dcAssetHasdcBusinessdomains.dcAsset/!dcAsset <-- This is resolvable.....
I'm tracing the parent path of the BusinessDomain class to the base class called Asset. Validation returns the following
-------------------------------------------------------------------------------------------------------------------------------------------------------- Error 1 A ImageShape may not be parented on a ImageShape. In the ShapeMap mapping dcBusinessDomain to isBusinessDomain, the parent element path leads to dcAsset, which has a subclass dcAdminTool whose mapped shape is isAdminTool. --------------------------------------------------------------------------------------------------------------------------------------------------------
I'm lost here. Everything looks logical to me. I've compared how I've established these relations with the WizardUIP examples. They don't match exactley but I think I'm pretty damn close. I have other derivitives of Asset and get an error similiar to the above for each subclass. If you guys have any idea of what I'm talking about, please throw me a line.
Much appreciated Travis
Travis |