Class MLookupInfo

java.lang.Object
org.compiere.model.MLookupInfo
All Implemented Interfaces:
Serializable, Cloneable

public class MLookupInfo extends Object implements Serializable, Cloneable
Info Class for Lookup (ValueObject)
Version:
$Id: MLookupInfo.java,v 1.3 2006/07/30 00:58:37 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Field Details

    • 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
    • ctx

      public Properties ctx
      Context
    • 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
    • lookupDisplayColumnNames

      public List<String> lookupDisplayColumnNames
  • Constructor Details

    • MLookupInfo

      public MLookupInfo(String sqlQuery, String tableName, String keyColumn, int zoomWindow, int zoomWindowPO, MQuery zoomQuery)
      Parameters:
      sqlQuery - SQL query
      tableName - table name
      keyColumn - key column
      zoomWindow - zoom window
      zoomWindowPO - PO zoom window
      zoomQuery - zoom query
  • Method Details

    • getAD_Reference_ID

      @Deprecated public static int getAD_Reference_ID(String referenceName)
      Deprecated.
      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

      @Deprecated public static int getAD_Column_ID(String columnName)
      Deprecated.
      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 clone
    • clone

      public MLookupInfo clone()
      Overrides:
      clone in class Object