sets and gets in BookingClassDiagram.