Issue 14621: UML2 - derivation for DeploymentTarget.deployedElement is invalid (uml2-rtf) Source: Microsoft (Mr. Steve Cook, stcook(at)microsoft.com) Nature: Uncategorized Issue Severity: Summary: According to 10.3.6: context DeploymentTarget::deployedElement derive: ((self.deployment->collect(deployedArtifact))->collect(manifestation))->collect(utilizedElement) But self.deployment->collect(deployedArtifact) gives a collection of DeployedArtifact, not of Artifact; therefore the call to manifestation is invalid. To make it correct from a type point of view, there needs to be an additional select to pick the DeployedArtifacts that are actually Artifacts. While we are at it, it is highly inappropriate to have a subclass of DeployedArtifact called Artifact: the names imply the reverse of the inheritance hierarchy. Resolution: Revised Text: Actions taken: November 11, 2009: received issue Discussion: End of Annotations:===== m: Steve Cook To: "issues@omg.org" Subject: UML2 - derivation for DeploymentTarget.deployedElement is invalid Thread-Topic: UML2 - derivation for DeploymentTarget.deployedElement is invalid Thread-Index: AcpjEBteHMVbWYM4QhmPpx5wdHvxKA== Date: Wed, 11 Nov 2009 20:46:56 +0000 Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: According to 10.3.6: context DeploymentTarget::deployedElement derive: ((self.deployment->collect(deployedArtifact))->collect(manifestation))->collect(utilizedElement) But self.deployment->collect(deployedArtifact) gives a collection of DeployedArtifact, not of Artifact; therefore the call to manifestation is invalid. To make it correct from a type point of view, there needs to be an additional select to pick the DeployedArtifacts that are actually Artifacts. While we are at it, it is highly inappropriate to have a subclass of DeployedArtifact called Artifact: the names imply the reverse of the inheritance hierarchy.