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
getAlias()
Get Alias NameGet Column Nameint
Get Display TypeGet ForeignColumn Nameboolean
hasAlias()
Column has Alias.boolean
Column value forces page breakvoid
setFormatPattern
(String formatPattern) void
setPrintFormatType
(String m_PrintFormatType) toString()
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
-
-
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
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
-
getFormatPattern
-
getPrintFormatType
-
setPrintFormatType
-