Class ProvidedOrSuppliedTableConfig

java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.qbits.ProvidedOrSuppliedTableConfig

public class ProvidedOrSuppliedTableConfig extends Object
Common (maybe)? qbit config pattern, where the qbit may be able to provide a particular table, or, the application may supply it itself. If the qbit provides it, then we need to be told (by the application) what backendName to use for the table. Else if the application supplies it, it needs to tell the qBit what the tableName is.
  • Constructor Details

    • ProvidedOrSuppliedTableConfig

      public ProvidedOrSuppliedTableConfig(boolean doProvideTable, String backendName, String tableName)
  • Method Details

    • provideTableUsingBackendNamed

      public static ProvidedOrSuppliedTableConfig provideTableUsingBackendNamed(String backendName)
    • useSuppliedTaleNamed

      public static ProvidedOrSuppliedTableConfig useSuppliedTaleNamed(String tableName)
    • getEffectiveTableName

      public String getEffectiveTableName(String tableNameIfProviding)
    • getTableName

      public String getTableName()
      Getter for tableName
    • getDoProvideTable

      public boolean getDoProvideTable()
      Getter for doProvideTable
    • getBackendName

      public String getBackendName()
      Getter for backendName