Record Class AbstractTableSyncTransformStep.SyncProcessConfig
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.processes.implementations.tablesync.AbstractTableSyncTransformStep.SyncProcessConfig
- Enclosing class:
AbstractTableSyncTransformStep
public static record AbstractTableSyncTransformStep.SyncProcessConfig(String sourceTable, String sourceTableKeyField, String destinationTable, String destinationTableForeignKey, boolean performInserts, boolean performUpdates)
extends Record
Record to store the config for this process - e.g., what fields invalid input: '&' tables are used.
-
Constructor Summary
ConstructorsConstructorDescriptionSyncProcessConfig(String sourceTable, String sourceTableKeyField, String destinationTable, String destinationTableForeignKey) Overloaded constructor - defaults both performInserts invalid input: '&' performUpdates to true.SyncProcessConfig(String sourceTable, String sourceTableKeyField, String destinationTable, String destinationTableForeignKey, boolean performInserts, boolean performUpdates) Creates an instance of aSyncProcessConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedestinationTablerecord component.Returns the value of thedestinationTableForeignKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theperformInsertsrecord component.booleanReturns the value of theperformUpdatesrecord component.Returns the value of thesourceTablerecord component.Returns the value of thesourceTableKeyFieldrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SyncProcessConfig
-
SyncProcessConfig
public SyncProcessConfig(String sourceTable, String sourceTableKeyField, String destinationTable, String destinationTableForeignKey, boolean performInserts, boolean performUpdates) Creates an instance of aSyncProcessConfigrecord class.- Parameters:
sourceTable- the value for thesourceTablerecord componentsourceTableKeyField- the value for thesourceTableKeyFieldrecord componentdestinationTable- the value for thedestinationTablerecord componentdestinationTableForeignKey- the value for thedestinationTableForeignKeyrecord componentperformInserts- the value for theperformInsertsrecord componentperformUpdates- the value for theperformUpdatesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
sourceTable
Returns the value of thesourceTablerecord component.- Returns:
- the value of the
sourceTablerecord component
-
sourceTableKeyField
Returns the value of thesourceTableKeyFieldrecord component.- Returns:
- the value of the
sourceTableKeyFieldrecord component
-
destinationTable
Returns the value of thedestinationTablerecord component.- Returns:
- the value of the
destinationTablerecord component
-
destinationTableForeignKey
Returns the value of thedestinationTableForeignKeyrecord component.- Returns:
- the value of the
destinationTableForeignKeyrecord component
-
performInserts
public boolean performInserts()Returns the value of theperformInsertsrecord component.- Returns:
- the value of the
performInsertsrecord component
-
performUpdates
public boolean performUpdates()Returns the value of theperformUpdatesrecord component.- Returns:
- the value of the
performUpdatesrecord component
-