• Finally, refine the class model.
a) Scan all the Functions in a business class.
i. If multiple business classes contain many of the same Functions, then extract these same
Functions as interfaces that the multiple business classes must abide.
ii. The rationality of interfaces will be checked by handwork, if check is passed, then name
these interfaces, else backtrack.
b) Extract the parent class.
i. Scan all entity classes, if an attribute or a function contains the entity class name they
are belonged to, then delete the entity class name from the attribute or the function.
ii. Scan all the entity classes, if multiple entity classes contain many of the same attributes
and functions, then extract these attributes and functions into a public class,