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)
      Parameters:
      AD_PrintFormatItem_ID -
      AD_Column_ID -
      columnName -
      displayType -
      columnSize -
      alias -
      isPageBreak -
  • Method Details

    • getAD_PrintFormatItem_ID

      public int getAD_PrintFormatItem_ID()
      Get AD_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)
      Set format pattern
      Parameters:
      formatPattern -
    • getFormatPattern

      public String getFormatPattern()
      Get format pattern
      Returns:
      format pattern
    • getPrintFormatType

      public String getPrintFormatType()
      Get print format type
      Returns:
      print format type
    • setPrintFormatType

      public void setPrintFormatType(String m_PrintFormatType)
      Set print format type
      Parameters:
      m_PrintFormatType -