Interface InsertManyToManyRelationRecord

All Superinterfaces:
Record, RelationRecord
All Known Subinterfaces:
InsertOneToManyRelationRecord, RemoveOneToManyRelationsRecord
All Known Implementing Classes:
DefaultInsertManyToManyRelationRecord, DefaultInsertOneToManyRelationRecord, DefaultRemoveOneToManyRelationsRecord

public interface InsertManyToManyRelationRecord extends RelationRecord
Insert relation record with target Pk and order information
  • Method Details

    • getSourcePk

      PK getSourcePk()
      Gets source PK.
    • getTargetPk

      PK getTargetPk()
      Gets target PK.
    • getSourceToTargetPosition

      Integer getSourceToTargetPosition()
      Gets source to target position for ordering.
      Returns:
      source to target position. Could be null if position is not known or not applicable
    • setSourceToTargetPosition

      void setSourceToTargetPosition(Integer position)
      Sets the source to target position.
      Parameters:
      position - Source to target position
    • getTargetToSourcePosition

      Integer getTargetToSourcePosition()
      Gets target to source position for ordering.
      Returns:
      target to source position. Could be null if position is not known or not applicable
    • setTargetToSourcePosition

      void setTargetToSourcePosition(Integer position)
      Sets the target to source position.
      Parameters:
      position - Target to source position