-
Key: UPDM-66
-
Legacy Issue Number: 11393
-
Status: open
-
Source: International Business Machines ( Mr. Fred Mervine)
-
Summary:
[1] Asserts that the SystemsNodes are required to be deployed to zero or more Locations, have OrganizationalResources, HardwareItems, SoftwareItems, Networks, SystemGroup,or Systems deployed on them, and house OperationalNodes; and that these are the elements associated with this SystemsNode.
let e1:uml::Class = self.oclAsType(uml::Association).endType-> at(1).oclAsType(uml::Class) in let e2:uml::Class = self.oclAsType(uml::Association).endType-> at(2).oclAsType(uml::Class) in
(e1.getAppliedStereotype('UPDM::SystemsNode')>notEmpty() and (e2.getAppliedStereotype('UPDM::System')>notEmpty() or e2.getAppliedStereotypes()>collect(allParents())>any(qualifiedName = 'UPDM::System')>notEmpty() or e2.getAppliedStereotype('UPDM::OperationalNode')>notEmpty() or e2.getAppliedStereotypes()>collect(allParents())>any(qualifiedName = 'UPDM::OperationalNode')>notEmpty() or e2.getAppliedStereotype('UPDM::Location')>notEmpty() or e2.getAppliedStereotype('UPDM::OrganizationalResource')->notEmpty()or
e2.getAppliedStereotypes()>collect(allParents())>any(qualifiedName = 'UPDM::OrganizationalResource') ->notEmpty() or
e2.getAppliedStereotype('UPDM::SystemGroup)->notEmpty())
)<<<Note - I think this is an extra parenthesis here>>>or (e2.getAppliedStereotype('UPDM::SystemsNode')
>notEmpty() and (e1.getAppliedStereotype('UPDM::System')>notEmpty() or e1.getAppliedStereotypes()>collect(allParents())>any(qualifiedName = 'UPDM::System')>notEmpty() or e1.getAppliedStereotype('UPDM::OperationalNode')>notEmpty() or e1.getAppliedStereotypes()>collect(allParents())>any(qualifiedName = 'UPDM::OperationalNode')>notEmpty() or e1.getAppliedStereotype('UPDM::Location')>notEmpty() or e1.getAppliedStereotype('UPDM::OrganizationalResource')->notEmpty() or
e1.getAppliedStereotypes()>collect(allParents())>any(qualifiedName = 'UPDM::OrganizationalResource') ->notEmpty() or
e1.getAppliedStereotype('UPDM::SystemGroup')->notEmpty())SystemsNodeElements should use Resource instead of OrganizationalResource so that SystemsNodes can be nested.
SystemsNodeElements should include SystemGroup so that we can include whole configurations.
-
Reported: UPDM 1.0b1 — Thu, 13 Sep 2007 04:00 GMT
-
Updated: Fri, 6 Mar 2015 20:59 GMT