2 réponses
Yes, it is possible to create a class to mimic the object with the additional checkbox ( not sure if you consider this a wrapper class). That said, if you can spare a field in the object model, you can just add a checkbox field in the object called "Selected" and not have to worry about wrapper classes and manipulating data back and forth between the original object and the wrapper class when updating/deleting the original object.