pse.SObjectCloneMapperglobal virtual with sharing class SObjectCloneMapper The pse.SObjectCloneMapper class allows you to define the structure of SObjects that you want to clone. This object can be used by a cloning service to describe the data to be copied. Properties
MethodsSObjectCloneMapperglobal SObjectCloneMapper(Schema.SObjectType sObjectTypeToClone, Set<pse.SObjectCloneMapper.Field> sObjectFieldsToClone) A Default constructor with minimum required properties. Input Parameters
Sample Code
pse.SObjectCloneMapper.NullFieldValueglobal inherited sharing class NullFieldValue Used to represent an explicit null value. When the DefaultValue of a field is set to an instance of this class, the cloned records are created with a null in that field. The cloner should copy values for that field from the template when a default value is not provided. Sample Code
pse.SObjectCloneMapper.Fieldglobal inherited sharing class Field Each Field provides information about a field on the sObject you want to clone. Add instances of this class to SObjectFieldsToClone on SObjectCloneMapper. Properties
MethodsFieldglobal Field(Schema.SObjectField field) A default constructor with minimum required properties. Input Parameters
|