Advertisement

Constraints in object-oriented analysis

  • Stefan Van Baelen
  • Johan Lewi
  • Eric Steegmans
  • Bart Swennen
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 742)

Abstract

Object-oriented analysis methods can incorporate the concept of constraints to express rules of the problem domain in the specification model, restricting the possible instances of the model. As such, constraints describe properties that must be true at each moment in time for the entire system, without determining how they are to be preserved. The ways in which these constraints are introduced in the model differ from method to method, and even between distinct constraint types in a single method. Different ways in which constraints can be described, are illustrated and compared.

Specifying constraints as informal annotations or by operational restrictions is too informal and low level for analysis. According to the properties, importance and influence of the constraint types on the object model, they ought to be described differently. Some constraints, such as connectivity constraints, should best be integrated in existing model concepts to focus on the constraint during the concept definition and as a reminder for these kind of constraints Others, such as attribute value constraints, are best introduced as independent items part of a separate concept grafted on a general model to get a consistent, unambiguous, symmetrical and general applicable constraint description. Yet others, such as relational and existential dependency constraints, should be expressed implicitly by a hierarchical model structure. This approach enriches the object model in such a way that it highlights the logical structure of the problem domain to its right extent

Keywords

Object-Oriented Analysis Constraints Object Model Structure 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [Coad & Yourdon 91]
    Coad, P., and Yourdon, E., Object-Oriented Analysis Second Edition, Yourdon Press, Englewood Cliffs (New Jersey), 1991.Google Scholar
  2. [Embley et al. 92]
    [Embley et al. 92] Embley, D.W., Kurtz, B.D., and Woodfield, S.N., Object-Oriented Systems Analysis, Yourdon Press, Englewood Cliffs (New Jersey), 1992.Google Scholar
  3. [Lewi et al. 90]
    [Lewi et al. 93] Lewi, J., Steegmans, E., and Van Baelen, S., EROOS: Entity-Relationship Object-Oriented Specifications, Department of Computer Science, K.U.Leuven, CW Report 111, 1990.Google Scholar
  4. [Lewi et al. 90]
    [Lewi et al. 93] Lewi, J., Steegmans, E., Dockx, J., Swennen, B., Van Baelen, S., and Van Riel, H., Object-Oriented Software Development with EROS: The Analysis Phase, Department of Computer Science, K.U.Leuven, CW Report 169, 1993.Google Scholar
  5. [Rumbaugh et al. 91]
    [Rumbaugh et al. 91] Rumbaugh, J., Blaha, M., Premerlani, W., Eddy, F., and Lorenson, W., Object-Oriented Modeling and Design, Prentice Hall, Englewood Cliffs (New Jersey), 1991.Google Scholar
  6. [Shlaer & Mellor 88]
    Shlaer, S., and Mellor, S. J., Object-Oriented Systems Analysis: Modeling the World in Data, Yourdon Press, Englewood Cliffs (New Jersey), 1988.Google Scholar
  7. [Van Baelen et al. 92]
    [Van Baelen et al. 92] Van Baelen, S, Lewi, J., Steegmans, E., and Van Riel, H., EROOS: An Entity-Relationship based Object-Oriented Specification Method, Technology of Object-Oriented Languages and Systems TOOLS 7, Heeg, G., Magnusson, B., and Meyer, B. (ed.), Prentice Hall, Hertsfordshire, UK, pp.103–117.Google Scholar
  8. [Wirfs-Brock et al. 90]
    [Wirfs-Brock et al. 90] Wirfs-Brock, R., Wilkerson, B., and Wiener, L., Designing Object-Oriented Software, Prentice Hall, Englewood Cliffs (New Jersey), 1990.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1993

Authors and Affiliations

  • Stefan Van Baelen
    • 1
  • Johan Lewi
    • 1
  • Eric Steegmans
    • 1
  • Bart Swennen
    • 1
  1. 1.Department of Computer ScienceKatholieke Universiteit LeuvenLeuven (Heverlee)Belgium

Personalised recommendations