Class MViewComponent

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_ViewComponent, I_Persistent, Evaluatee, ImmutablePOSupport

public class MViewComponent extends X_AD_ViewComponent implements ImmutablePOSupport
Extended model class for AD_ViewComponent
See Also:
  • Constructor Details

    • MViewComponent

      public MViewComponent(Properties ctx, String AD_ViewComponent_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_ViewComponent_UU - UUID key
      trxName - Transaction
    • MViewComponent

      public MViewComponent(Properties ctx, int AD_ViewComponent_ID, String trxName)
      Standard constructor
      Parameters:
      ctx - context
      AD_ViewComponent_ID - view component
      trxName - trx name
    • MViewComponent

      public MViewComponent(Properties ctx, ResultSet rs, String trxName)
      Load constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - trx name
    • MViewComponent

      public MViewComponent(MTable parent)
      Parent constructor
      Parameters:
      parent - parent
    • MViewComponent

      public MViewComponent(MViewComponent copy)
      Copy constructor
      Parameters:
      copy -
    • MViewComponent

      public MViewComponent(Properties ctx, MViewComponent copy)
      Copy constructor
      Parameters:
      ctx -
      copy -
    • MViewComponent

      public MViewComponent(Properties ctx, MViewComponent copy, String trxName)
      Copy constructor
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • getColumns

      public MViewColumn[] getColumns(boolean reload)
      Get view columns
      Parameters:
      reload - true to reload from DB
      Returns:
      array of view column
    • getSelect

      public String getSelect(boolean requery, MViewColumn[] vCols)
      Get SQL select statement for view
      Parameters:
      requery - true to reload from DB
      vCols - array of view columns
      Returns:
      select statement
    • markImmutable

      public MViewComponent markImmutable()
      Description copied from interface: ImmutablePOSupport
      mark PO as immutable
      Specified by:
      markImmutable in interface ImmutablePOSupport
      Returns:
      PO
    • toString

      public String toString()
      String representation
      Overrides:
      toString in class X_AD_ViewComponent
      Returns:
      info