Class PrintDataColumn

java.lang.Object
org.compiere.print.PrintDataColumn

public class PrintDataColumn extends Object
Print Data Column. Optional Meta Data of Columns
Version:
$Id: PrintDataColumn.java,v 1.2 2006/07/30 00:53:02 jjanke Exp $
Author:
Jorg Janke
  • Constructor Details

    • PrintDataColumn

      public PrintDataColumn(int AD_PrintFormatItem_ID, int AD_Column_ID, String columnName, int displayType, int columnSize, String alias, boolean isPageBreak, String foreignColumnName)
      Print Data Column
      Parameters:
      AD_PrintFormatItem_ID -
      AD_Column_ID - Column
      columnName - Column Name
      displayType - Display Type
      columnSize - Column Size
      alias - Alias in query or the same as column name or null
      isPageBreak - if true force page break after function
      foreignColumnName - name foreign
    • PrintDataColumn

      public PrintDataColumn(int AD_PrintFormatItem_ID, int AD_Column_ID, String columnName, int displayType, int columnSize, String alias, boolean isPageBreak)
  • Method Details

    • getAD_PrintFormatItem_ID

      public int getAD_PrintFormatItem_ID()
      Returns:
      AD_PrintFormatItem_ID
    • getAD_Column_ID

      public int getAD_Column_ID()
      Get AD_Column_ID
      Returns:
      AD_Column_ID
    • getColumnName

      public String getColumnName()
      Get Column Name
      Returns:
      column name
    • getForeignColumnName

      public String getForeignColumnName()
      Get ForeignColumn Name
      Returns:
      column foreign name
    • getDisplayType

      public int getDisplayType()
      Get Display Type
      Returns:
      display type
    • getAlias

      public String getAlias()
      Get Alias Name
      Returns:
      alias column name
    • hasAlias

      public boolean hasAlias()
      Column has Alias. (i.e. has a key)
      Returns:
      true if Alias
    • isPageBreak

      public boolean isPageBreak()
      Column value forces page break
      Returns:
      true if page break
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class Object
      Returns:
      info
    • setFormatPattern

      public void setFormatPattern(String formatPattern)
    • getFormatPattern

      public String getFormatPattern()
    • getPrintFormatType

      public String getPrintFormatType()
    • setPrintFormatType

      public void setPrintFormatType(String m_PrintFormatType)