Skip to main content

RecordFieldsMatch

Implements SObjectPredicate.

RecordFieldsMatch#

Constructs a RecordFieldsMatch for a given prototype.

Signature

public RecordFieldsMatch(sObject prototype)

call#

Returns true when applied to a record which matches all fields defined on the prototype record. Fields that are not defined on the prototype are not checked for equality.

Signature

Boolean call(SObject record)