Class MaterialsWrapper
java.lang.Object
com.university.bookstore.repository.MaterialsWrapper
Wrapper class to ensure proper JSON serialization of Material polymorphic types.
This wrapper ensures that Jackson includes type information for each Material.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MaterialsWrapper
public MaterialsWrapper() -
MaterialsWrapper
-
-
Method Details
-
getMaterials
-
setMaterials
-