Package org.compiere.model
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 SQL (ValueObject)- Version:
- $Id: MLookupInfo.java,v 1.3 2006/07/30 00:58:37 jjanke Exp $
- Author:
- Jorg Janke
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
AD_Reference_Value_ID
Real AD_Reference_IDint
Column_ID
AD_Column_Info or AD_Process_ParaProperties
ctx
ContextString
DisplayColumn
int
DisplayType
AD_Reference_IDint
InfoWindowId
boolean
IsCreadedUpdatedBy
CreadedBy?boolean
IsKey
Key Flagboolean
IsParent
Parent Flagboolean
IsValidated
Validation flagString
KeyColumn
Key ColumnList<String>
lookupDisplayColumns
String
parsedValidationCode
String
Query
SQL QueryString
QueryDirect
Direct Access QueryString
TableName
Table Nameint
tabNo
TabNoString
ValidationCode
Validation codeint
WindowNo
WindowNoMQuery
ZoomQuery
Zoom Queryint
ZoomWindow
Zoom Windowint
ZoomWindowPO
Zoom Window
-
Constructor Summary
Constructors Constructor Description MLookupInfo(String sqlQuery, String tableName, String keyColumn, int zoomWindow, int zoomWindowPO, MQuery zoomQuery)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MLookupInfo
clone()
MLookupInfo
cloneIt()
Clonestatic int
getAD_Column_ID(String columnName)
Get first AD_Column_ID of matching ColumnName.static int
getAD_Reference_ID(String referenceName)
Get first AD_Reference_ID of a matching Reference Name.String
toString()
String representation
-
-
-
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
-
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
-
-
Constructor Detail
-
MLookupInfo
public MLookupInfo(String sqlQuery, String tableName, String keyColumn, int zoomWindow, int zoomWindowPO, MQuery zoomQuery)
Constructor. (called from MLookupFactory)- Parameters:
sqlQuery
- SQL querytableName
- table namekeyColumn
- key columnzoomWindow
- zoom windowzoomWindowPO
- PO zoom windowzoomQuery
- 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
-
cloneIt
public MLookupInfo cloneIt()
Clone- Returns:
- deep copy
-
clone
public MLookupInfo clone()
-
-