Class RowSetData.RowData

    • Constructor Summary

      Constructors 
      Constructor Description
      RowData()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      RowSetData.RelatedData addDependentRowSet​(java.lang.String entityID, com.im.commons.progress.DFLock lock, java.util.Map<java.lang.String,​java.lang.Object> insertOptions, java.lang.String myFieldID, java.lang.String otherFieldID, java.lang.String lookupFieldID, java.lang.String relationshipID)
      Add a set of rows that are dependent on data from this row.
      RowSetData.RelatedData addRequiredRowSet​(java.lang.String entityID, com.im.commons.progress.DFLock lock, java.util.Map<java.lang.String,​java.lang.Object> insertOptions, java.lang.String myFieldID, java.lang.String otherFieldID, java.lang.String lookupFieldID, java.lang.String relationshipID)
      Add a set of rows that are required for this row.
      protected abstract void dump​(java.lang.String prefix, java.lang.StringBuffer buf)  
      abstract RowSetData.Row getCurrentRow()  
      abstract java.util.List<RowSetData.Row> getRowList()  
      abstract void setValueForAllRows​(java.lang.String fldId, java.lang.Object value)  
      void setValueForCurrentRow​(java.lang.String fldId, java.lang.Object value)
      Set the value for the current row.
      abstract void startRow()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RowData

        public RowData()
    • Method Detail

      • dump

        protected abstract void dump​(java.lang.String prefix,
                                     java.lang.StringBuffer buf)
      • getRowList

        public abstract java.util.List<RowSetData.Row> getRowList()
      • setValueForAllRows

        public abstract void setValueForAllRows​(java.lang.String fldId,
                                                java.lang.Object value)
      • startRow

        public abstract void startRow()
      • addDependentRowSet

        public RowSetData.RelatedData addDependentRowSet​(java.lang.String entityID,
                                                         com.im.commons.progress.DFLock lock,
                                                         java.util.Map<java.lang.String,​java.lang.Object> insertOptions,
                                                         java.lang.String myFieldID,
                                                         java.lang.String otherFieldID,
                                                         java.lang.String lookupFieldID,
                                                         java.lang.String relationshipID)
        Add a set of rows that are dependent on data from this row. Typically, the auto-generated PK value, but possible a standard field value.
        Parameters:
        entityID - The ID of the entity
        lock - The lock for the dependent rows
        insertOptions - Options for insert for the dependent rows
        myFieldID - The ID of the field from this row that is needed for the dependent rows (e.g the PK field).
        otherFieldID - The ID of the field from the dependent rows that is needed to be set (e.g the FK field).
        lookupFieldID - The ID of the field whose value is to be looked up to determine if that value already exists
        relationshipID - The ID of the relationship involved in this dependency
        Returns:
        The dependent data object that has been created
      • addRequiredRowSet

        public RowSetData.RelatedData addRequiredRowSet​(java.lang.String entityID,
                                                        com.im.commons.progress.DFLock lock,
                                                        java.util.Map<java.lang.String,​java.lang.Object> insertOptions,
                                                        java.lang.String myFieldID,
                                                        java.lang.String otherFieldID,
                                                        java.lang.String lookupFieldID,
                                                        java.lang.String relationshipID)
        Add a set of rows that are required for this row. These required rows must be inserted prior to the insertion of this RowSet's rows. Typically, the auto-generated PK value, but possible a standard field value.
        Parameters:
        entityID - The ID of the entity
        lock - The lock for the dependant rows
        insertOptions - Options for insert for the dependent rows
        myFieldID - The ID of the field from this row that is needed for the dependent rows (e.g the PK field).
        otherFieldID - The ID of the field form the dependent rows that is needed to be set (e.g the FK field).
        lookupFieldID - The ID of the field whose value is to be looked up to determine if that value already exists
        relationshipID - The ID of the relationship involved in this dependency
        Returns:
        The dependent data object that has been created
      • setValueForCurrentRow

        public void setValueForCurrentRow​(java.lang.String fldId,
                                          java.lang.Object value)
        Set the value for the current row. No other rows will be affected
        Parameters:
        fldId - The ID of the field
        value - The value to set