Package org.compiere.print
Class PrintDataColumn
java.lang.Object
org.compiere.print.PrintDataColumn
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 Summary
ConstructorDescriptionPrintDataColumn
(int AD_PrintFormatItem_ID, int AD_Column_ID, String columnName, int displayType, int columnSize, String alias, boolean isPageBreak) PrintDataColumn
(int AD_PrintFormatItem_ID, int AD_Column_ID, String columnName, int displayType, int columnSize, String alias, boolean isPageBreak, String foreignColumnName) Print Data Column -
Method Summary
Modifier and TypeMethodDescriptionint
Get AD_Column_IDint
Get AD_PrintFormatItem_IDgetAlias()
Get Alias NameGet Column Nameint
Get Display TypeGet ForeignColumn NameGet format patternGet print format typeboolean
hasAlias()
Column has Alias.boolean
Column value forces page breakvoid
setFormatPattern
(String formatPattern) Set format patternvoid
setPrintFormatType
(String m_PrintFormatType) Set print format typetoString()
String Representation
-
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
- ColumncolumnName
- Column NamedisplayType
- Display TypecolumnSize
- Column Sizealias
- Alias in query or the same as column name or nullisPageBreak
- if true force page break after functionforeignColumnName
- 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
Get Column Name- Returns:
- column name
-
getForeignColumnName
Get ForeignColumn Name- Returns:
- column foreign name
-
getDisplayType
public int getDisplayType()Get Display Type- Returns:
- display type
-
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
String Representation -
setFormatPattern
Set format pattern- Parameters:
formatPattern
-
-
getFormatPattern
Get format pattern- Returns:
- format pattern
-
getPrintFormatType
Get print format type- Returns:
- print format type
-
setPrintFormatType
Set print format type- Parameters:
m_PrintFormatType
-
-