virtual
Encapsulates the data needed to compare records
Since
11/24/2024
Group Soql Engine
Author Zackary Frazier
Get the comparable field name
public String getComparableFieldName()
String
,[object Object]
Get the comparable record
public SObject getComparableRecord()
SObject
,[object Object]
Get whether the relationship is polymorphic
public Boolean getIsPolymorphic()
Boolean
,[object Object]
Get the relationship name
public String getRelationshipName()
String
,[object Object]
Builder class for ComparableRecordData
Set the comparable record
public Builder setComparableRecord(SObject comparableRecord)
Name | Type | Description |
---|---|---|
comparableRecord | SObject | SObject |
Builder
,[object Object]
Set the comparable field name
public Builder setComparableFieldName(String comparableFieldName)
Name | Type | Description |
---|---|---|
comparableFieldName | String | String |
Builder
,[object Object]
Set the relationship name
public Builder setRelationshipName(String relationshipName)
Name | Type | Description |
---|---|---|
relationshipName | String | String |
Builder
,[object Object]
Set whether the relationship is polymorphic
public Builder setIsPolymorphic(Boolean isPolymorphic)
Name | Type | Description |
---|---|---|
isPolymorphic | Boolean | Boolean |
Builder
,[object Object]
Returns the built object
public ComparableRecordData build()
,[object Object]