XML Schema Complete Reference, The
by Cliff Binstock, Chris Galtenberg, Mike Wooding, Chris Dix, Mitchell Smith, Dave Peterson
19.5. Sample Schema: party.xsd
Many applications require business entities such as employees and organizations to be modeled as objects. Over time, it becomes apparent that there are similarities between the information stored about individuals and the information stored about groups. In particular, contact information is often stored about both, but perhaps that information is stored in different ways. In Analysis Patterns: Reusable Object Models, Addison-Wesley, 1996, Martin Fowler models this relationship as a single business entity known as a ‘Party’. The Party is an entity that has a name, location, and contact information stored about it. In this pattern, Party becomes an abstract base class of both the Person class and the Organization ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access