Class MViewComponent

    • Constructor Detail

      • 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 -
    • Method Detail

      • 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