This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | JMI mapping and package subtyping | ||
---|---|---|---|
Product: | java | Reporter: | seyler <seyler> |
Component: | Unsupported | Assignee: | Martin Matula <mmatula> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
example of Mof metamodel with package subtyping
another example of Mof metamodel with package subtyping |
Description
seyler
2005-06-21 08:28:13 UTC
Created attachment 22815 [details]
example of Mof metamodel with package subtyping
Created attachment 22857 [details]
another example of Mof metamodel with package subtyping
The problem seems to be in your metamodel - all the imports in your metamodel are unnamed (which results in generating "get()" methods in the packages). This is illegal. MOF defines a constraint saying all elements need to be named. Moreover all elements from an extended namespace (all elements contained by a given namespace and all its supertypes transitively) need to have unique names. The empty names break both constraints (since you have several unnamed imports in the same extended namespace). |