Schema Namespace
The Schema namespace provides classes and methods for schema metadata information.
The following are the classes in the Schema namespace.
-
Contains methods for accessing the child relationship as well as the child sObject for a parent sObject.
-
Represents the categories within a category group.
-
DataCategoryGroupSobjectTypePair Class
Specifies a category group and an associated object.
-
Contains color metadata information for a tab.
-
DescribeDataCategoryGroupResult Class
Contains the list of the category groups associated with KnowledgeArticleVersion and Question.
-
DescribeDataCategoryGroupStructureResult Class
Contains the category groups and categories associated with KnowledgeArticleVersion and Question.
-
Contains methods for describing sObject fields.
-
Contains icon metadata information for a tab.
-
Contains methods for describing SObjects. None of the methods take an argument.
-
Contains tab metadata information for a tab in a standard or custom app available in the Salesforce user interface.
-
Contains metadata information about a Salesforce Classic standard or custom app available in the Salesforce user interface.
-
A
Schema.DisplayTypeenum value is returned by the field describe result’sgetTypemethod. -
A
Schema.FieldDescribeOptionsenum value is a parameter in theSObjectType.getDescribemethod. -
Contains methods for discovering and retrieving the details of field sets created on sObjects.
-
Contains methods for accessing the metadata for field set member fields.
-
Represents a picklist entry.
-
Contains methods for accessing record type information for an sObject with associated record types.
-
A
Schema.SOAPTypeenum value is returned by the field describe resultgetSoapTypemethod. -
A
Schema.SObjectDescribeOptionsenum value is a parameter in theSObjectType.getDescribemethod. -
A
Schema.sObjectFieldobject is returned from the field describe result using thegetControllerandgetSObjectFieldmethods. -
A
Schema.sObjectTypeobject is returned from the field describe result using thegetReferenceTomethod, or from the sObject describe result using thegetSObjectTypemethod.