Package org.compiere.print
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 Summary
Constructors Constructor Description PrintDataColumn(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAD_Column_ID()
Get AD_Column_IDint
getAD_PrintFormatItem_ID()
String
getAlias()
Get Alias NameString
getColumnName()
Get Column Nameint
getDisplayType()
Get Display TypeString
getForeignColumnName()
Get ForeignColumn NameString
getFormatPattern()
boolean
hasAlias()
Column has Alias.boolean
isPageBreak()
Column value forces page breakvoid
setFormatPattern(String formatPattern)
String
toString()
String Representation
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
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
-
setFormatPattern
public void setFormatPattern(String formatPattern)
-
getFormatPattern
public String getFormatPattern()
-
-