Class RowSetData.RelatedData

  • Enclosing class:
    RowSetData

    public static class RowSetData.RelatedData
    extends java.lang.Object
    Data whose insertion has a dependency on some other data, either needing to be inserted prior to or subsequent to the data. Typically the pkFieldID will identify the field whose value is needed to insert these rows, and the value for this field will be set for the fkFieldID for all rows of this data. The referred field does not have to be primary key from that table but usually is.
    • Constructor Detail

      • RelatedData

        public RelatedData​(RowSetData rows,
                           java.lang.String myFieldID,
                           java.lang.String otherFieldID,
                           java.lang.String relationshipID)
        Parameters:
        rows - The set or rows
        myFieldID - The ID of the field which need the value
        otherFieldID - The ID of the field that provides the value
    • Method Detail

      • getRows

        public RowSetData getRows()
        Returns:
        The row that need inserting
      • getOtherFieldID

        public java.lang.String getOtherFieldID()
        Returns:
        The ID of the field that provides the value
      • getMyFieldID

        public java.lang.String getMyFieldID()
        Returns:
        The ID of the field which need the value
      • getRelationshipID

        public java.lang.String getRelationshipID()