Modelling object-oriented software – an introduction
Modelling object-oriented software – an introduction

Start this free course now. Just create an account and sign in. Enrol and complete the course for a free statement of participation or digital badge if available.

Free course

Modelling object-oriented software – an introduction

3.2.7 Identifying attributes for the classes in the DVD Library System

As a by-product of our class rejection process, we have already identified a number of entities that can appropriately be modelled as attributes. A similar font and naming convention to that for classes will be applied to attributes, except that their names will start with a lower case letter.

  • Attributes of : ,

  • Attribute of :

  • Attributes of : ,

  • Attributes of : ,

To check whether there are any others, it is necessary to read through the requirements document to ensure that no information about the properties of classes has been missed. In fact, none of the classes that we have identified has any additional attributes.

For a simple system it is often possible to identify attributes in parallel with classes, particularly when all the references to attributes are nouns. But suppose a requirements document contained something like the following:

Each warehouse contains a number of bar-coded products.

Here, the term ‘bar-coded’, although it is an adjective and not a noun, points to the need for a attribute in the class. Unless the noun ‘barcode’ appeared elsewhere in the description, this could well have been missed during the class-identification process.


Take your learning further

Making the decision to study can be a big step, which is why you'll want a trusted University. The Open University has 50 years’ experience delivering flexible learning and 170,000 students are studying with us right now. Take a look at all Open University courses.

If you are new to University-level study, we offer two introductory routes to our qualifications. You could either choose to start with an Access module, or a module which allows you to count your previous learning towards an Open University qualification. Read our guide on Where to take your learning next for more information.

Not ready for formal University study? Then browse over 1000 free courses on OpenLearn and sign up to our newsletter to hear about new free courses as they are released.

Every year, thousands of students decide to study with The Open University. With over 120 qualifications, we’ve got the right course for you.

Request an Open University prospectus371