Package org.compiere.model
Class InfoColumnVO
java.lang.Object
org.compiere.model.InfoColumnVO
- All Implemented Interfaces:
Serializable
,Cloneable
Info Column Value Object
- Version:
- $Id$
- Author:
- Igor Pojzl, Cloudempiere
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUser Customization Processingstatic InfoColumnVO[]
create
(Properties ctx, MInfoColumn[] p_infoColumns) Create InfoColumnVO Array from MInfoColumn Arrayint
int
int
int
int
getHelp()
getName()
int
getSeqNo()
int
boolean
boolean
boolean
isDisplayed
(Properties ctx, int windowNo) boolean
boolean
isKey()
boolean
boolean
boolean
boolean
isRange()
boolean
void
setEntityType
(String entityType)
-
Constructor Details
-
InfoColumnVO
Default Constructor- Parameters:
ctx
-infoColumn
-
-
-
Method Details
-
afterCreate
User Customization Processing- Returns:
- InfoColumnVO
-
create
Create InfoColumnVO Array from MInfoColumn Array- Parameters:
ctx
- Propertiesp_infoColumns
- Array of MInfoColumn- Returns:
- InfoColumnVO[]
-
isDisplayed
- Parameters:
ctx
-windowNo
-- Returns:
- true if column should be displayed
-
getColumnName
- Returns:
- column name
-
isMandatory
public boolean isMandatory()- Returns:
- true if column is mandatory
-
isQueryCriteria
public boolean isQueryCriteria()- Returns:
- true if this is for user to enter query criteria
-
isQueryAfterChange
public boolean isQueryAfterChange()- Returns:
- true if info window should auto execute query after user have make changes to this info column
-
getNameTrl
- Returns:
- translated name (in login language)
-
getName
- Returns:
- name
-
getAD_Reference_ID
public int getAD_Reference_ID()- Returns:
- AD_Reference_ID
-
getAD_Reference_Value_ID
public int getAD_Reference_Value_ID()- Returns:
- AD_Reference_Value_ID
-
getPlaceHolderTrl
- Returns:
- translated place holder text (in login language)
-
getPlaceholder
- Returns:
- place holder text
-
getPlaceholder2
- Returns:
- place holder text for to editor of range type column
-
isReadOnly
public boolean isReadOnly()- Returns:
- true if column is read only
-
getSelectClause
- Returns:
- select clause
-
getDisplayLogic
- Returns:
- display logic
-
isDisplayed
public boolean isDisplayed()- Returns:
- true if visible
-
getInputFieldValidation
- Returns:
- SQL validation for input field
-
isIdentifier
public boolean isIdentifier()- Returns:
- true if column is identifier
-
getQueryOperator
- Returns:
- query operator (=, <, >, etc)
-
getSeqNoSelection
public int getSeqNoSelection()- Returns:
- sequence for query criteria
-
getQueryFunction
- Returns:
- SQL function for query criteria field
-
isKey
public boolean isKey()- Returns:
- true if this is a key column
-
getDescription
- Returns:
- description text
-
getDescriptionTrl
- Returns:
- translated description text
-
getAD_InfoColumn
- Returns:
- MInfoColumn
-
getAD_Val_Rule_ID
public int getAD_Val_Rule_ID()- Returns:
- AD_Val_Rule_ID
-
getDefaultValue
- Returns:
- default value
-
getDefaultValue2
- Returns:
- default value for to editor of range type column
-
getHelpTrl
- Returns:
- translated help text (in login language)
-
getHelp
- Returns:
- help text
-
getAD_FieldStyle_ID
public int getAD_FieldStyle_ID()- Returns:
- AD_FieldStyle_ID
-
isAutocomplete
public boolean isAutocomplete()- Returns:
- true if auto complete is on for lookup field
-
getAD_InfoColumn_ID
public int getAD_InfoColumn_ID()- Returns:
- AD_InfoColumn_ID
-
getValidationCode
- Returns:
- validation code for lookup
-
getSeqNo
public int getSeqNo()- Returns:
- sequence number
-
getEntityType
-
setEntityType
-
isRange
public boolean isRange()- Returns:
- true if this is a range type column
-