Class RowFacade

java.lang.Object
com.softwaremining.sql.RowFacade

public final class RowFacade extends Object
Contains a List of NON-KEY fields in a class
  • Constructor Details

    • RowFacade

      public RowFacade(ISMObject firstLevelEntryFieldGroup, int dimension, ISMObject[] additionalForiegnKeys, boolean firstEntry)
      Used to construct a list of all the fields in the class, and separate out the multi-dimentional fields (for use in separate tables)
      Parameters:
      firstLevelEntryFieldGroup - ... usually the firstLevelField in a class, or maybe the OCCURS group
      dimension - ... OCCURS size (multi-dimentional fields). For root FirstLevelEntry group it is usually 0
      additionalForiegnKeys - ... FOR LInkedSQLWrapper use : DETAIL-FILES will have references to the ID Field in the MASTER records.
  • Method Details

    • getChildren

      public final RowFacade[] getChildren()
    • assignTableName

      public void assignTableName(String newName)
    • getDimension

      public final int getDimension()
    • getNumOccurs

      public final int getNumOccurs()
    • getColumns

      public final ISMObject[] getColumns()
    • toString

      public final String toString()
      Overrides:
      toString in class Object