Class InfoColumnVO

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

public class InfoColumnVO extends Object implements Serializable, Cloneable
Info Column Value Object
Version:
$Id$
Author:
Igor Pojzl, Cloudempiere
See Also:
  • Constructor Details

    • InfoColumnVO

      public InfoColumnVO(Properties ctx, MInfoColumn infoColumn)
      Default Constructor
      Parameters:
      ctx -
      infoColumn -
  • Method Details

    • afterCreate

      public InfoColumnVO afterCreate()
      User Customization Processing
      Returns:
      InfoColumnVO
    • create

      public static InfoColumnVO[] create(Properties ctx, MInfoColumn[] p_infoColumns)
      Create InfoColumnVO Array from MInfoColumn Array
      Parameters:
      ctx - Properties
      p_infoColumns - Array of MInfoColumn
      Returns:
      InfoColumnVO[]
    • isDisplayed

      public boolean isDisplayed(Properties ctx, int windowNo)
      Parameters:
      ctx -
      windowNo -
      Returns:
      true if column should be displayed
    • getColumnName

      public String 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

      public String getNameTrl()
      Returns:
      translated name (in login language)
    • getName

      public String 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

      public String getPlaceHolderTrl()
      Returns:
      translated place holder text (in login language)
    • getPlaceholder

      public String getPlaceholder()
      Returns:
      place holder text
    • getPlaceholder2

      public String getPlaceholder2()
      Returns:
      place holder text for to editor of range type column
    • isReadOnly

      public boolean isReadOnly()
      Returns:
      true if column is read only
    • getSelectClause

      public String getSelectClause()
      Returns:
      select clause
    • getDisplayLogic

      public String getDisplayLogic()
      Returns:
      display logic
    • isDisplayed

      public boolean isDisplayed()
      Returns:
      true if visible
    • getInputFieldValidation

      public String getInputFieldValidation()
      Returns:
      SQL validation for input field
    • isIdentifier

      public boolean isIdentifier()
      Returns:
      true if column is identifier
    • getQueryOperator

      public String getQueryOperator()
      Returns:
      query operator (=, <, >, etc)
    • getSeqNoSelection

      public int getSeqNoSelection()
      Returns:
      sequence for query criteria
    • getQueryFunction

      public String getQueryFunction()
      Returns:
      SQL function for query criteria field
    • isKey

      public boolean isKey()
      Returns:
      true if this is a key column
    • getDescription

      public String getDescription()
      Returns:
      description text
    • getDescriptionTrl

      public String getDescriptionTrl()
      Returns:
      translated description text
    • getAD_InfoColumn

      public MInfoColumn getAD_InfoColumn()
      Returns:
      MInfoColumn
    • getAD_Val_Rule_ID

      public int getAD_Val_Rule_ID()
      Returns:
      AD_Val_Rule_ID
    • getDefaultValue

      public String getDefaultValue()
      Returns:
      default value
    • getDefaultValue2

      public String getDefaultValue2()
      Returns:
      default value for to editor of range type column
    • getHelpTrl

      public String getHelpTrl()
      Returns:
      translated help text (in login language)
    • getHelp

      public String 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

      public String getValidationCode()
      Returns:
      validation code for lookup
    • getSeqNo

      public int getSeqNo()
      Returns:
      sequence number
    • getEntityType

      public String getEntityType()
    • setEntityType

      public void setEntityType(String entityType)
    • isRange

      public boolean isRange()
      Returns:
      true if this is a range type column