This is an example describing some types of Bank Accounts using UML generalization sets. Bank accounts could be grouped into UML generalization sets based on different criteria. The example diagram below shows bank accounts split by liability type and account type.