DataCategory Class
Represents the categories within a category group.
The Schema.DataCategory object is returned by the getTopCategories method.
The following are methods for DataCategory. All are instance methods.
-
Returns a recursive object that contains the visible sub categories in the data category.
-
Returns the label for the data category used in the Salesforce user interface.
-
Returns the unique name used by the API to access to the data category.
Returns a recursive object that contains the visible sub categories in the data category.
public Schema.DataCategory getChildCategories()
Type: List<Schema.DataCategory>
Returns the label for the data category used in the Salesforce user interface.
public String getLabel()
Type: String
Returns the unique name used by the API to access to the data category.
public String getName()
Type: String