Class MProcessPara

    • Field Detail

      • WINDOW_NO

        public static int WINDOW_NO
        Virtual Window No - 999
      • TAB_NO

        public static int TAB_NO
        Virtual Tab No - 0
    • Constructor Detail

      • MProcessPara

        public MProcessPara​(Properties ctx,
                            int AD_Process_Para_ID,
                            String trxName)
        Constructor
        Parameters:
        ctx - context
        AD_Process_Para_ID - id
        trxName - transaction
      • MProcessPara

        public MProcessPara​(Properties ctx,
                            ResultSet rs,
                            String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MProcessPara

        public MProcessPara​(MProcess parent)
        Parent constructor
        Parameters:
        parent - process
      • MProcessPara

        public MProcessPara​(MProcessPara copy)
        Parameters:
        copy -
    • Method Detail

      • get

        public static MProcessPara get​(int AD_Process_Para_ID)
        Get MProcessPara from Cache (immutable)
        Parameters:
        AD_Process_Para_ID - id
        Returns:
        MProcessPara
      • get

        public static MProcessPara get​(Properties ctx,
                                       int AD_Process_Para_ID)
        Get MProcessPara from Cache (immutable)
        Parameters:
        ctx - context
        AD_Process_Para_ID - id
        Returns:
        MProcessPara
      • isLookup

        public boolean isLookup()
        Is this field a Lookup?.
        Returns:
        true if lookup field
      • loadLookup

        public void loadLookup()
        Set Lookup for columns with lookup
      • getLookup

        public Lookup getLookup()
        Get Lookup for Parameter
        Returns:
        lookup or null
      • copyFrom

        public void copyFrom​(MProcessPara source)
        Copy settings from another process parameter overwrites existing data (including translations) and saves
        Parameters:
        source -
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord -
        Returns:
        save
      • getReferenceTableName

        public String getReferenceTableName()