The Schema namespace
provides classes and methods for schema metadata information.
The following are the classes in the Schema namespace.
-
ChildRelationship Class
Contains methods for accessing the child relationship as well as the child sObject for a parent sObject. -
DataCategory Class
Represents the categories within a category group. -
DataCategoryGroupSobjectTypePair Class
Specifies a category group and an associated object. -
DescribeColorResult Class
Contains color metadata information for a tab. -
Describe​DataCategoryGroupResult Class
Contains the list of the category groups associated with KnowledgeArticleVersion and Question. -
Describe​DataCategoryGroupStructureResult Class
Contains the category groups and categories associated with KnowledgeArticleVersion and Question. -
DescribeFieldResult Class
Contains methods for describing sObject fields. -
DescribeIconResult Class
Contains icon metadata information for a tab. -
DescribeSObjectResult Class
Contains methods for describing SObjects. None of the methods take an argument. -
DescribeTabResult Class
Contains tab metadata information for a tab in a standard or custom app available in the Salesforce user interface. -
DescribeTabSetResult Class
Contains metadata information about a Salesforce Classic standard or custom app available in the Salesforce user interface. -
DisplayType Enum
A Schema.DisplayType enum value is returned by the field describe result's getType method. -
FieldDescribeOptions Enum
A Schema.FieldDescribeOptions enum value is a parameter in the SObjectType.getDescribe method. -
FieldSet Class
Contains methods for discovering and retrieving the details of field sets created on sObjects. -
FieldSetMember Class
Contains methods for accessing the metadata for field set member fields. -
PicklistEntry Class
Represents a picklist entry. -
RecordTypeInfo Class
Contains methods for accessing record type information for an sObject with associated record types. -
SOAPType Enum
A Schema.SOAPType enum value is returned by the field describe result getSoapType method. -
SObjectDescribeOptions Enum
A Schema.SObjectDescribeOptions enum value is a parameter in the SObjectType.getDescribe method. -
SObjectField Class
A Schema.sObjectField object is returned from the field describe result using the getController and getSObjectField methods. -
SObjectType Class
A Schema.sObjectType object is returned from the field describe result using the getReferenceTo method, or from the sObject describe result using the getSObjectType method.