ApexClass
Stores metadata for Apex classes, which define server-side business logic and custom functionality.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier for the Apex class. | |
| NamespacePrefix | String | True |
The namespace prefix associated with the Apex class, if part of a managed package. | |
| Name | String | False |
The name of the Apex class. | |
| ApiVersion | Double | False |
The API version the class is compiled against. | |
| Status | String | False |
Current status of the class, such as Active, Inactive, or Deleted. | |
| IsValid | Bool | False |
Indicates whether the Apex class is syntactically valid and saved successfully. | |
| BodyCrc | Double | False |
A checksum value used to detect changes in the body of the Apex class. | |
| Body | String | False |
The full source code of the Apex class. | |
| LengthWithoutComments | Int | False |
The size of the Apex class in characters, excluding comments. | |
| CreatedDate | Datetime | True |
Timestamp of when the class was initially created. | |
| CreatedById | String | True |
User.Id |
ID of the user who created the Apex class. |
| LastModifiedById | String | True |
User.Id |
ID of the user who last modified the class. |
| SOQL | String | False |
Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | False |
Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | False |
Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| SystemModstamp | Datetime | True |
System-generated timestamp used for internal change tracking. | |
| LastModifiedDate | Datetime | True |
Timestamp of the most recent modification to the class. |