![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Are derived attributes implemented in Rhapsody? Topic Summary: Created On: 27-Oct-2006 08:32 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
UML 2.0 states (from 05-07-04 page 14):
[QUOTE]If an attribute is derived, where possible, the definition will also include a specification (usually expressed as an OCL constraint) specifying how that attribute is derived. For instance: [INDENT]?/isComposite : Boolean A state with isComposite = true is said to be a composite state. A composite state is a state that contains at least one region> [INDENT]isComposite = (region > 1)[/INDENT][/INDENT][/QUOTE] And Rhapsody's User Manual Glossary states (from 7.0 MR1 user manual page 1052): [QUOTE]derived attribute [INDENT]An attribute computed from other attributes.[/INDENT][/QUOTE] But I cannot see how to insert a derived attribute in a class. I could of course make a small operation, but that's cheating! Any ideas how to add a derived attribute? |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.