Activity › Forums › Salesforce® Discussions › What is a Wrapper Class in Salesforce?
Tagged: Apex, Checkbox, Container Class, Custom Object, Data Types, Field, Objects, Salesforce Apex, Single Box, Single Object, Single Table, Wrapper Class
-
What is a Wrapper Class in Salesforce?
Posted by Ratnesh on January 21, 2020 at 5:44 PMWhat is a Wrapper Class in Salesforce?
Shweta replied 6 years, 3 months ago 5 Members · 4 Replies -
4 Replies
-
Wrapper Class in Apex Salesforce : It is a class, a data structure, or an abstract data type which contains different objects or collection of objects as its members. It is also known as container class
A wrapper class is a custom object defined by programmer in which he defines the wrapper class properties. Wrapper class is a custom class which has different data types or properties as per requirement. We can wrap different objects types or any other types in a wrapper class.
- [adinserter block='9']
-
Wrapper Class:
Wrapper class or container class is a class that wraps or binds the different objects or collections of object fields on a single object.
-
In simple language we can defined the Wrapper class as a collection of different types of objects in Salesforce.
-
Wrapper Class : It is a collection of different Salesforce data types and used to wrap data collected from the present objects to a new object. It displays checkbox and string data types in a single table.
Log In to reply.