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
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)
      Parameters:
      copy -
    • MViewComponent

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

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

    • getColumns

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

      public String getSelect(boolean requery, MViewColumn[] vCols)
      Get SQL select
      Parameters:
      requery - requery data
      vCols - array of view column
      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