Class MLookupInfo

    • Field Detail

      • Query

        public String Query
        SQL Query
      • TableName

        public String TableName
        Table Name
      • KeyColumn

        public String KeyColumn
        Key Column
      • ZoomWindow

        public int ZoomWindow
        Zoom Window
      • ZoomWindowPO

        public int ZoomWindowPO
        Zoom Window
      • ZoomQuery

        public MQuery ZoomQuery
        Zoom Query
      • QueryDirect

        public String QueryDirect
        Direct Access Query
      • IsParent

        public boolean IsParent
        Parent Flag
      • IsKey

        public boolean IsKey
        Key Flag
      • ValidationCode

        public String ValidationCode
        Validation code
      • IsValidated

        public boolean IsValidated
        Validation flag
      • WindowNo

        public int WindowNo
        WindowNo
      • tabNo

        public int tabNo
        TabNo
      • Column_ID

        public int Column_ID
        AD_Column_Info or AD_Process_Para
      • DisplayType

        public int DisplayType
        AD_Reference_ID
      • AD_Reference_Value_ID

        public int AD_Reference_Value_ID
        Real AD_Reference_ID
      • IsCreadedUpdatedBy

        public boolean IsCreadedUpdatedBy
        CreadedBy?updatedBy
      • parsedValidationCode

        public String parsedValidationCode
      • DisplayColumn

        public String DisplayColumn
      • InfoWindowId

        public int InfoWindowId
      • lookupDisplayColumns

        public List<String> lookupDisplayColumns
    • Constructor Detail

      • MLookupInfo

        public MLookupInfo​(String sqlQuery,
                           String tableName,
                           String keyColumn,
                           int zoomWindow,
                           int zoomWindowPO,
                           MQuery zoomQuery)
        Constructor. (called from MLookupFactory)
        Parameters:
        sqlQuery - SQL query
        tableName - table name
        keyColumn - key column
        zoomWindow - zoom window
        zoomWindowPO - PO zoom window
        zoomQuery - zoom query
    • Method Detail

      • getAD_Reference_ID

        public static int getAD_Reference_ID​(String referenceName)
        Get first AD_Reference_ID of a matching Reference Name. Can have SQL LIKE placeholders. (This is more a development tool than used for production)
        Parameters:
        referenceName - reference name
        Returns:
        AD_Reference_ID
      • getAD_Column_ID

        public static int getAD_Column_ID​(String columnName)
        Get first AD_Column_ID of matching ColumnName. Can have SQL LIKE placeholders. (This is more a development tool than used for production)
        Parameters:
        columnName - column name
        Returns:
        AD_Column_ID
      • toString

        public String toString()
        String representation
        Overrides:
        toString in class Object
        Returns:
        info
      • cloneIt

        public MLookupInfo cloneIt()
        Clone
        Returns:
        deep copy