ArticleslgStudy

science

Object Modeling in Color

Object Modeling in Color is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Object Modeling in Color rather than just read about it. In short: UML color standards are a set of four colors associated with Unified Modeling Language (UML) diagrams. The coloring system indicates which of several archetypes apply to the UML object.

Key takeaways

  • Object Modeling in Color belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Object Modeling in Color to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Object Modeling in Color from memory before moving on to harder problems.

Reference excerpt

UML color standards are a set of four colors associated with Unified Modeling Language (UML) diagrams. The coloring system indicates which of several archetypes apply to the UML object. UML typically identifies a stereotype with a bracketed comment for each object identifying whether it is a class, interface, etc. These colors were first suggested by Peter Coad, Eric Lefebvre, and Jeff De Luca in a series of articles in The Coad Letter,[1][2] and later published in their book Java Modeling In Color With UML.[3] Over hundreds of domain models, it became clear that four major "types" of classes appeared again and again, though they had different names in different domains. After much discussion, these were termed archetypes, which is meant to convey that the classes of a given archetype follow more or less the same form. That is, attributes, methods, associations, and interfaces are fairly similar among classes of a given archetype. When attempting to classify a given domain class, one typically asks about the color standards in this order:

pink moment-interval — Does it represent a moment or interval of time that we need to remember and work with for legal or business reasons? Examples in business systems generally model activities involving people, places and things such as a sale, an order, a rental, an employment, making a journey, etc. yellow roles — Is it a way of participating in an activity (by either a person, place, or thing)? A person playing the role of an employee in an employment, a thing playing the role of a product in a sale, a location playing the role of a classroom for a training course, are examples of roles. blue description — Is it simply a catalog-entry-like description which classifies or 'labels' an object? For example, the make and model of a car categorises or describes a number of physical vehicles. The relationship between the blue description and green party, place or thing is a type-instance relationship based on differences in the values of data items held in the 'type' object. green party, place, or thing — Something tangible, uniquely identifiable. Typically the role-players in a system. People are green. Organizations are green. The physical objects involved in a rental such as the physical DVDs are green things. Normally, if you get through the above three questions and end up here, your class is a "green." Although the actual colors vary, most systems tend to use lighter color palettes so that black text can also be easily read on a colored background. Coad, et al., used the 4-color pastel Post-it notes,[4] and later had UML modeling tools support the color scheme by associating a color to one or more class stereotypes. Many people feel colored objects appeal to the pattern recognition section of the brain. Others advocate that you can begin a modeling process with a stack of four-color note cards or colored sticky notes. The value of color modeling was especially obvious when standing back from a model drawn or projected on a wall. That extra dimension allowed modelers to see important aspects of the models (the pink classes, for instance), and to spot areas that may need reviewing (unusual combinations of color classes linked together). The technique also made it easy to help determine aspects of the domain model – especially for newcomers to modeling. For example, by simply looking first for "pinks" in the domain, it was easy to begin to get some important classes identified for a given domain. It was also easy to review the standard types of attributes, methods, and so on, for applicability to the current domain effort.

See also Upper ontology Object-oriented design

References ^The Coad Letter (dead) (Wayback Machine's archived version from 2006) ^The Coad Letter: Modeling and Design Edition, Issue 44 (dead) Archived 2007-03-11 at the Wayback Machine The original color scheme was changed slightly. Further articles appeared in issues 51, 54, 58-65 and others. ^Peter Coad, Eric Lefebvre, Jeff De Luca: Java Modeling In Color With UML: Enterprise Components and Process, Prentice Hall, 1999, ISBN 0-13-011510-X Edward Tufte: Envisioning Information, Graphics Press, 1990, ISBN 0-9613921-1-8

External links Developing a UI Design from a UML Color Model Archived 2005-10-24 at the Wayback Machine Stephen R. Palmer (2009). "Peter Coad's Object Modelling in Colour". Archived from the original on 2009-02-01. Retrieved 2009-01-23. Object-oriented analysis with class archetypes Stephen R. Palmer (2002). "A New Beginning". Retrieved 2006-06-07. Appeared in The Coad Letter: Modeling and Design Edition, Issue 68

Worked examples

Example 1 — a first encounter with Object Modeling in Color

Start with the simplest possible case. Write down what Object Modeling in Color claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Object Modeling in Color before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Object Modeling in Color ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Object Modeling in Color

In research
Object Modeling in Color appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Object Modeling in Color in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Object Modeling in Color is common in secondary-school and first-year university syllabi. It links to neighbouring topics Unified Modeling Language, so understanding it makes those chapters shorter.
In everyday life
Look for Object Modeling in Color outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Object Modeling in Color in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Object Modeling in Color means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Object Modeling in Color out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Object Modeling in Color in simple terms?

UML color standards are a set of four colors associated with Unified Modeling Language (UML) diagrams. The coloring system indicates which of several archetypes apply to the UML object.

Why does Object Modeling in Color matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Object Modeling in Color?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Object Modeling in Color.

Tags

  • Unified Modeling Language

Keep exploring