Please do not use an if-then-else to make the differentiation between 5 and 7 stars. Instead create a new method in the connector interface, and implement it to return 7 for your connector, and 5 for the AbstractConnector, where every other connector is derived from.