What is Schema in Salesforce?

|
| By Webner

Schema is a namespace provided by salesforce which provides schema metadata information using different methods and classes.

  • ChildRelationship Class
    This class contains methods to access the child relationship as well as the child sObject for a parent sObject.
  • DataCategory Class
    This class represents the categories within a category group. It can provide visible subcategories in the data category.
  • DataCategoryGroupSobjectTypePair Class
    This class specifies a category group and an associated object.
  • DescribeColorResult Class
    This class contains color metadata information for a tab.
  • Describe​DataCategoryGroupResult Class
    This class contains the list of the category groups associated with KnowledgeArticleVersion and Question.
  • Describe​DataCategoryGroupStructureResult Class
    This class contains the category groups and categories associated with KnowledgeArticleVersion and Question.
  • DescribeFieldResult Class
    This class contains methods for describing sObject fields.
  • DescribeIconResult Class
    This class contains icon metadata information for a tab.
  • DescribeSObjectResult Class
    This class contains methods for describing SObjects. None of the methods takes an argument.
  • DescribeTabResult Class
    This class contains tab metadata information for a tab in a standard or custom app available in the Salesforce user interface.
  • DescribeTabSetResult Class
    This class contains metadata information about a standard or custom app available in the Salesforce user interface.
  • DisplayType Enum
    A Schema.DisplayType enum value is returned by the field describing the result’s getType method.
  • FieldDescribeOptions Enum
    A Schema.FieldDescribeOptions enum value is a parameter in the SObjectType.getDescribe method.
  • FieldSet Class
    This class contains methods for discovering and retrieving the details of fieldsets created on sObjects.
  • FieldSetMember Class
    This class contains methods for accessing the metadata for fieldset member fields.
  • PicklistEntry Class
    This class represents a picklist entry.
  • RecordTypeInfo Class
    This 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 describing the 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 describing the 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.

Leave a Reply

Your email address will not be published. Required fields are marked *