Activity › Forums › Salesforce® Discussions › What is wrapper class? where can we use it in salesforce?
Tagged: Abstract Data Type, Container Class, Data Structure, Salesforce Development, Salesforce Visualforce, Wrapper Class
-
What is wrapper class? where can we use it in salesforce?
Posted by sushant on January 3, 2017 at 2:03 PMHi All,
What is wrapper class? where can we use it?
please give suggestions
Thanks
Avnish Yadav replied 7 years, 7 months ago 3 Members · 3 Replies -
3 Replies
-
Hi Sushant,
A wrapper or container class is a class, data structure, or an abstract data type whose instances are a collections of other objects.It is a custom object defined by Salesforce developer where he defines the properties of the wrapper class. Within Apex & Visualforce this can be extremely helpful to achieve many business scenarios within the Salesforce CRM software. A Wrapper class is a class whose instances are collection of other objects. It is used to display different objects on a Visual Force page in same table. A perfect scenario where a wrapper class can be used is for multiple checkboxes and pagination.
Hope this helps you.
Thanks
- [adinserter block='9']
-
Hello,
Hi,
Wrapper Class is collection of two or more diffrent objects.
So these are the abstract data structure by which a developer create its own data structure by groupuing another available data structure.
It expands user capablity and give more power to developer a customized application. it can be user for creating Visualforce page where page contains Boolean as check box and list item as value..Thanks.
Log In to reply.