Skip to main content

Part of the book series: Studies in Computational Intelligence ((SCI,volume 149))

  • 854 Accesses

Summary

UML has been the de facto specification language for software design, using the object-oriented approach in particular. However, components in UML are mostly presented as graphical diagrams that are informal and often lead to different interpretations. Although formal methods exist for UML specification, most of which are semi-formal or rely on another high-level language to describe the UML components. In this paper, we give a formal specification for the core UML, the class and state diagrams using the basic predicate logic and set notations. The goal is to provide a precise definition for object-oriented software.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Uml 2.0 OCL specification. OMG ptc/03-10-14, OMG (2003)

    Google Scholar 

  2. Boehm, B.W.: A spiral model of software development and enhancement. IEEE Computer 21(5), 61–72 (1988)

    Google Scholar 

  3. Booch, G.: Object-Oriented Design with Applications. Ada and software engineering. Benjamin/Cummings (1991)

    Google Scholar 

  4. Damm, W., Josko, B., Pnueli, A., Votintseva, A.: Understanding UML: A formal semantics of concurrency and communication in real-time uml. In: de Boer, F.S., Bonsangue, M.M., Graf, S., de Roever, W.-P. (eds.) FMCO 2002. LNCS, vol. 2852, pp. 71–98. Springer, Heidelberg (2003)

    Google Scholar 

  5. Damm, W., Josko, B., Votintseva, A., Pnueli, A.: A formal semantics for a uml kernel language, IST/33522/wp 1.1/D1.1.2, OMEGA (2003)

    Google Scholar 

  6. D’Souza, D., Cameron, A.: Catalysis: Objects, Frameworks and Components in UML. Addison-Wesley, Reading (1997)

    Google Scholar 

  7. Fowler, M., Scott, K.: UML Distilled: Applying the Standard Object Modeling Language. Addison-Wesley, Reading (1998)

    Google Scholar 

  8. Object Management Group. Unified modeling language: Infrustrcture, version 2.0. Technical report, OMG (2003)

    Google Scholar 

  9. Meyer, B.: Object-Oriented Software Construction, 2nd edn. Prentice-Hall, Englewood Cliffs (1989)

    Google Scholar 

  10. Polack, R., Laleau, F.: A rigorous metamodel for UML static conceptual modelling of information systems. In: Dittrich, K.R., Geppert, A., Norrie, M.C. (eds.) CAiSE 2001. LNCS, vol. 2068, pp. 71–98. Springer, Heidelberg (2001)

    Google Scholar 

  11. Smith, G.: The Object-Z Specification Language. Advances in Formal Methods. Kluwer Academic, Dordrecht (2000)

    MATH  Google Scholar 

  12. Stevens, P., Pooley, R.: Using UML Software Engineering with Objects and Components, 2nd edn. Addison-Wesley, Reading (2006)

    Google Scholar 

  13. Warmer, J., Kleppe, A.: The Object Constraint Language. Addison-Wesley, Reading (1999)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Roger Lee

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Hu, G. (2008). A Formal Specification of UML Class and State Diagrams. In: Lee, R. (eds) Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing. Studies in Computational Intelligence, vol 149. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-70560-4_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-70560-4_21

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-70559-8

  • Online ISBN: 978-3-540-70560-4

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics