





































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






































Unified Modeling Language Object Description Language
class Drinker {
attribute … ; relationship Drinker husband inverse wife; relationship Drinker wife inverse husband; relationship Set
}
13
husband and wife are one-one and inverses of each other.
buddies is many-many and its own inverse. Note no :: needed if the inverse is in the same class.
attribute [Struct or Enum] <name of
struct or enum> {
class Bar {
attribute string name; attribute Struct Addr {string street, string city, int zip} address; attribute Enum Lic { FULL, BEER, NONE } license; relationship …
}
20
Names for the structure and enumeration
names of the attributes