Skip to content

Latest commit

 

History

History
179 lines (116 loc) · 2.49 KB

ComparableRecordData.md

File metadata and controls

179 lines (116 loc) · 2.49 KB

ComparableRecordData Class

virtual

Encapsulates the data needed to compare records

Since

11/24/2024

Group Soql Engine

Author Zackary Frazier

Methods

getComparableFieldName()

Get the comparable field name

Signature

public String getComparableFieldName()

Return Type

String

,[object Object]


getComparableRecord()

Get the comparable record

Signature

public SObject getComparableRecord()

Return Type

SObject

,[object Object]


getIsPolymorphic()

Get whether the relationship is polymorphic

Signature

public Boolean getIsPolymorphic()

Return Type

Boolean

,[object Object]


getRelationshipName()

Get the relationship name

Signature

public String getRelationshipName()

Return Type

String

,[object Object]

Classes

Builder Class

Builder class for ComparableRecordData

Methods

setComparableRecord(comparableRecord)

Set the comparable record

Signature
public Builder setComparableRecord(SObject comparableRecord)
Parameters
Name Type Description
comparableRecord SObject SObject
Return Type

Builder

,[object Object]


setComparableFieldName(comparableFieldName)

Set the comparable field name

Signature
public Builder setComparableFieldName(String comparableFieldName)
Parameters
Name Type Description
comparableFieldName String String
Return Type

Builder

,[object Object]


setRelationshipName(relationshipName)

Set the relationship name

Signature
public Builder setRelationshipName(String relationshipName)
Parameters
Name Type Description
relationshipName String String
Return Type

Builder

,[object Object]


setIsPolymorphic(isPolymorphic)

Set whether the relationship is polymorphic

Signature
public Builder setIsPolymorphic(Boolean isPolymorphic)
Parameters
Name Type Description
isPolymorphic Boolean Boolean
Return Type

Builder

,[object Object]


build()

Returns the built object

Signature
public ComparableRecordData build()
Return Type

ComparableRecordData

,[object Object]