UML diagram implementation in Java for a simple supermarket management