Package org.compiere.model
Class X_AD_PrintFormat
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_PrintFormat
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_AD_PrintFormat,I_Persistent,Evaluatee
- Direct Known Subclasses:
MPrintFormat
public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persistent
Generated Model for AD_PrintFormat- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_AD_PrintFormat
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PrintColor_ID, COLUMNNAME_AD_PrintFont_ID, COLUMNNAME_AD_PrintFormat_ID, COLUMNNAME_AD_PrintFormat_UU, COLUMNNAME_AD_PrintHeaderFooter_ID, COLUMNNAME_AD_PrintPaper_ID, COLUMNNAME_AD_PrintTableFormat_ID, COLUMNNAME_AD_ReportView_ID, COLUMNNAME_AD_Table_ID, COLUMNNAME_AD_Window_ID, COLUMNNAME_CreateCopy, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_FooterMargin, COLUMNNAME_HeaderMargin, COLUMNNAME_IsActive, COLUMNNAME_IsBreakPagePerRecord, COLUMNNAME_IsDefault, COLUMNNAME_IsForm, COLUMNNAME_IsStandardHeaderFooter, COLUMNNAME_IsTableBased, COLUMNNAME_JasperProcess_ID, COLUMNNAME_Name, COLUMNNAME_PrinterName, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_PrintFormat(Properties ctx, int AD_PrintFormat_ID, String trxName)Standard ConstructorX_AD_PrintFormat(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelI_AD_PrintColorgetAD_PrintColor()intgetAD_PrintColor_ID()Get Print Color.I_AD_PrintFontgetAD_PrintFont()intgetAD_PrintFont_ID()Get Print Font.intgetAD_PrintFormat_ID()Get Print Format.StringgetAD_PrintFormat_UU()Get AD_PrintFormat_UU.I_AD_PrintHeaderFootergetAD_PrintHeaderFooter()intgetAD_PrintHeaderFooter_ID()Get Print Header/Footer.I_AD_PrintPapergetAD_PrintPaper()intgetAD_PrintPaper_ID()Get Print Paper.I_AD_PrintTableFormatgetAD_PrintTableFormat()intgetAD_PrintTableFormat_ID()Get Print Table Format.I_AD_ReportViewgetAD_ReportView()intgetAD_ReportView_ID()Get Report View.I_AD_TablegetAD_Table()intgetAD_Table_ID()Get Table.I_AD_WindowgetAD_Window()intgetAD_Window_ID()Get Window.StringgetCreateCopy()Get Create Copy.StringgetDescription()Get Description.intgetFooterMargin()Get Footer Margin.intgetHeaderMargin()Get Header Margin.I_AD_ProcessgetJasperProcess()intgetJasperProcess_ID()Get Jasper Process.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameStringgetName()Get Name.StringgetPrinterName()Get Printer Name.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisBreakPagePerRecord()Get Page break per record.booleanisDefault()Get Default.booleanisForm()Get Form.booleanisStandardHeaderFooter()Get Standard Header/Footer.booleanisTableBased()Get Table Based.voidsetAD_PrintColor_ID(int AD_PrintColor_ID)Set Print Color.voidsetAD_PrintFont_ID(int AD_PrintFont_ID)Set Print Font.voidsetAD_PrintFormat_ID(int AD_PrintFormat_ID)Set Print Format.voidsetAD_PrintFormat_UU(String AD_PrintFormat_UU)Set AD_PrintFormat_UU.voidsetAD_PrintHeaderFooter_ID(int AD_PrintHeaderFooter_ID)Set Print Header/Footer.voidsetAD_PrintPaper_ID(int AD_PrintPaper_ID)Set Print Paper.voidsetAD_PrintTableFormat_ID(int AD_PrintTableFormat_ID)Set Print Table Format.voidsetAD_ReportView_ID(int AD_ReportView_ID)Set Report View.voidsetAD_Table_ID(int AD_Table_ID)Set Table.voidsetAD_Window_ID(int AD_Window_ID)Set Window.voidsetCreateCopy(String CreateCopy)Set Create Copy.voidsetDescription(String Description)Set Description.voidsetFooterMargin(int FooterMargin)Set Footer Margin.voidsetHeaderMargin(int HeaderMargin)Set Header Margin.voidsetIsBreakPagePerRecord(boolean IsBreakPagePerRecord)Set Page break per record.voidsetIsDefault(boolean IsDefault)Set Default.voidsetIsForm(boolean IsForm)Set Form.voidsetIsStandardHeaderFooter(boolean IsStandardHeaderFooter)Set Standard Header/Footer.voidsetIsTableBased(boolean IsTableBased)Set Table Based.voidsetJasperProcess_ID(int JasperProcess_ID)Set Jasper Process.voidsetName(String Name)Set Name.voidsetPrinterName(String PrinterName)Set Printer Name.StringtoString()String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_AD_PrintFormat
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Constructor Detail
-
X_AD_PrintFormat
public X_AD_PrintFormat(Properties ctx, int AD_PrintFormat_ID, String trxName)
Standard Constructor
-
X_AD_PrintFormat
public X_AD_PrintFormat(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 7 - System - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getAD_PrintColor
public I_AD_PrintColor getAD_PrintColor() throws RuntimeException
- Specified by:
getAD_PrintColorin interfaceI_AD_PrintFormat- Throws:
RuntimeException
-
setAD_PrintColor_ID
public void setAD_PrintColor_ID(int AD_PrintColor_ID)
Set Print Color.- Specified by:
setAD_PrintColor_IDin interfaceI_AD_PrintFormat- Parameters:
AD_PrintColor_ID- Color used for printing and display
-
getAD_PrintColor_ID
public int getAD_PrintColor_ID()
Get Print Color.- Specified by:
getAD_PrintColor_IDin interfaceI_AD_PrintFormat- Returns:
- Color used for printing and display
-
getAD_PrintFont
public I_AD_PrintFont getAD_PrintFont() throws RuntimeException
- Specified by:
getAD_PrintFontin interfaceI_AD_PrintFormat- Throws:
RuntimeException
-
setAD_PrintFont_ID
public void setAD_PrintFont_ID(int AD_PrintFont_ID)
Set Print Font.- Specified by:
setAD_PrintFont_IDin interfaceI_AD_PrintFormat- Parameters:
AD_PrintFont_ID- Maintain Print Font
-
getAD_PrintFont_ID
public int getAD_PrintFont_ID()
Get Print Font.- Specified by:
getAD_PrintFont_IDin interfaceI_AD_PrintFormat- Returns:
- Maintain Print Font
-
setAD_PrintFormat_ID
public void setAD_PrintFormat_ID(int AD_PrintFormat_ID)
Set Print Format.- Specified by:
setAD_PrintFormat_IDin interfaceI_AD_PrintFormat- Parameters:
AD_PrintFormat_ID- Data Print Format
-
getAD_PrintFormat_ID
public int getAD_PrintFormat_ID()
Get Print Format.- Specified by:
getAD_PrintFormat_IDin interfaceI_AD_PrintFormat- Returns:
- Data Print Format
-
setAD_PrintFormat_UU
public void setAD_PrintFormat_UU(String AD_PrintFormat_UU)
Set AD_PrintFormat_UU.- Specified by:
setAD_PrintFormat_UUin interfaceI_AD_PrintFormat- Parameters:
AD_PrintFormat_UU- AD_PrintFormat_UU
-
getAD_PrintFormat_UU
public String getAD_PrintFormat_UU()
Get AD_PrintFormat_UU.- Specified by:
getAD_PrintFormat_UUin interfaceI_AD_PrintFormat- Returns:
- AD_PrintFormat_UU
-
getAD_PrintHeaderFooter
public I_AD_PrintHeaderFooter getAD_PrintHeaderFooter() throws RuntimeException
- Specified by:
getAD_PrintHeaderFooterin interfaceI_AD_PrintFormat- Throws:
RuntimeException
-
setAD_PrintHeaderFooter_ID
public void setAD_PrintHeaderFooter_ID(int AD_PrintHeaderFooter_ID)
Set Print Header/Footer.- Specified by:
setAD_PrintHeaderFooter_IDin interfaceI_AD_PrintFormat- Parameters:
AD_PrintHeaderFooter_ID- Print Header/Footer
-
getAD_PrintHeaderFooter_ID
public int getAD_PrintHeaderFooter_ID()
Get Print Header/Footer.- Specified by:
getAD_PrintHeaderFooter_IDin interfaceI_AD_PrintFormat- Returns:
- Print Header/Footer
-
getAD_PrintPaper
public I_AD_PrintPaper getAD_PrintPaper() throws RuntimeException
- Specified by:
getAD_PrintPaperin interfaceI_AD_PrintFormat- Throws:
RuntimeException
-
setAD_PrintPaper_ID
public void setAD_PrintPaper_ID(int AD_PrintPaper_ID)
Set Print Paper.- Specified by:
setAD_PrintPaper_IDin interfaceI_AD_PrintFormat- Parameters:
AD_PrintPaper_ID- Printer paper definition
-
getAD_PrintPaper_ID
public int getAD_PrintPaper_ID()
Get Print Paper.- Specified by:
getAD_PrintPaper_IDin interfaceI_AD_PrintFormat- Returns:
- Printer paper definition
-
getAD_PrintTableFormat
public I_AD_PrintTableFormat getAD_PrintTableFormat() throws RuntimeException
- Specified by:
getAD_PrintTableFormatin interfaceI_AD_PrintFormat- Throws:
RuntimeException
-
setAD_PrintTableFormat_ID
public void setAD_PrintTableFormat_ID(int AD_PrintTableFormat_ID)
Set Print Table Format.- Specified by:
setAD_PrintTableFormat_IDin interfaceI_AD_PrintFormat- Parameters:
AD_PrintTableFormat_ID- Table Format in Reports
-
getAD_PrintTableFormat_ID
public int getAD_PrintTableFormat_ID()
Get Print Table Format.- Specified by:
getAD_PrintTableFormat_IDin interfaceI_AD_PrintFormat- Returns:
- Table Format in Reports
-
getAD_ReportView
public I_AD_ReportView getAD_ReportView() throws RuntimeException
- Specified by:
getAD_ReportViewin interfaceI_AD_PrintFormat- Throws:
RuntimeException
-
setAD_ReportView_ID
public void setAD_ReportView_ID(int AD_ReportView_ID)
Set Report View.- Specified by:
setAD_ReportView_IDin interfaceI_AD_PrintFormat- Parameters:
AD_ReportView_ID- View used to generate this report
-
getAD_ReportView_ID
public int getAD_ReportView_ID()
Get Report View.- Specified by:
getAD_ReportView_IDin interfaceI_AD_PrintFormat- Returns:
- View used to generate this report
-
getAD_Table
public I_AD_Table getAD_Table() throws RuntimeException
- Specified by:
getAD_Tablein interfaceI_AD_PrintFormat- Throws:
RuntimeException
-
setAD_Table_ID
public void setAD_Table_ID(int AD_Table_ID)
Set Table.- Specified by:
setAD_Table_IDin interfaceI_AD_PrintFormat- Parameters:
AD_Table_ID- Database Table information
-
getAD_Table_ID
public int getAD_Table_ID()
Get Table.- Specified by:
getAD_Table_IDin interfaceI_AD_PrintFormat- Returns:
- Database Table information
-
getAD_Window
public I_AD_Window getAD_Window() throws RuntimeException
- Specified by:
getAD_Windowin interfaceI_AD_PrintFormat- Throws:
RuntimeException
-
setAD_Window_ID
public void setAD_Window_ID(int AD_Window_ID)
Set Window.- Specified by:
setAD_Window_IDin interfaceI_AD_PrintFormat- Parameters:
AD_Window_ID- Data entry or display window
-
getAD_Window_ID
public int getAD_Window_ID()
Get Window.- Specified by:
getAD_Window_IDin interfaceI_AD_PrintFormat- Returns:
- Data entry or display window
-
setCreateCopy
public void setCreateCopy(String CreateCopy)
Set Create Copy.- Specified by:
setCreateCopyin interfaceI_AD_PrintFormat- Parameters:
CreateCopy- Create Copy
-
getCreateCopy
public String getCreateCopy()
Get Create Copy.- Specified by:
getCreateCopyin interfaceI_AD_PrintFormat- Returns:
- Create Copy
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_AD_PrintFormat- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_AD_PrintFormat- Returns:
- Optional short description of the record
-
setFooterMargin
public void setFooterMargin(int FooterMargin)
Set Footer Margin.- Specified by:
setFooterMarginin interfaceI_AD_PrintFormat- Parameters:
FooterMargin- Margin of the Footer in 1/72 of an inch
-
getFooterMargin
public int getFooterMargin()
Get Footer Margin.- Specified by:
getFooterMarginin interfaceI_AD_PrintFormat- Returns:
- Margin of the Footer in 1/72 of an inch
-
setHeaderMargin
public void setHeaderMargin(int HeaderMargin)
Set Header Margin.- Specified by:
setHeaderMarginin interfaceI_AD_PrintFormat- Parameters:
HeaderMargin- Margin of the Header in 1/72 of an inch
-
getHeaderMargin
public int getHeaderMargin()
Get Header Margin.- Specified by:
getHeaderMarginin interfaceI_AD_PrintFormat- Returns:
- Margin of the Header in 1/72 of an inch
-
setIsBreakPagePerRecord
public void setIsBreakPagePerRecord(boolean IsBreakPagePerRecord)
Set Page break per record.- Specified by:
setIsBreakPagePerRecordin interfaceI_AD_PrintFormat- Parameters:
IsBreakPagePerRecord- Page Break after each record
-
isBreakPagePerRecord
public boolean isBreakPagePerRecord()
Get Page break per record.- Specified by:
isBreakPagePerRecordin interfaceI_AD_PrintFormat- Returns:
- Page Break after each record
-
setIsDefault
public void setIsDefault(boolean IsDefault)
Set Default.- Specified by:
setIsDefaultin interfaceI_AD_PrintFormat- Parameters:
IsDefault- Default value
-
isDefault
public boolean isDefault()
Get Default.- Specified by:
isDefaultin interfaceI_AD_PrintFormat- Returns:
- Default value
-
setIsForm
public void setIsForm(boolean IsForm)
Set Form.- Specified by:
setIsFormin interfaceI_AD_PrintFormat- Parameters:
IsForm- If Selected, a Form is printed, if not selected a columnar List report
-
isForm
public boolean isForm()
Get Form.- Specified by:
isFormin interfaceI_AD_PrintFormat- Returns:
- If Selected, a Form is printed, if not selected a columnar List report
-
setIsStandardHeaderFooter
public void setIsStandardHeaderFooter(boolean IsStandardHeaderFooter)
Set Standard Header/Footer.- Specified by:
setIsStandardHeaderFooterin interfaceI_AD_PrintFormat- Parameters:
IsStandardHeaderFooter- The standard Header and Footer is used
-
isStandardHeaderFooter
public boolean isStandardHeaderFooter()
Get Standard Header/Footer.- Specified by:
isStandardHeaderFooterin interfaceI_AD_PrintFormat- Returns:
- The standard Header and Footer is used
-
setIsTableBased
public void setIsTableBased(boolean IsTableBased)
Set Table Based.- Specified by:
setIsTableBasedin interfaceI_AD_PrintFormat- Parameters:
IsTableBased- Table based List Reporting
-
isTableBased
public boolean isTableBased()
Get Table Based.- Specified by:
isTableBasedin interfaceI_AD_PrintFormat- Returns:
- Table based List Reporting
-
getJasperProcess
public I_AD_Process getJasperProcess() throws RuntimeException
- Specified by:
getJasperProcessin interfaceI_AD_PrintFormat- Throws:
RuntimeException
-
setJasperProcess_ID
public void setJasperProcess_ID(int JasperProcess_ID)
Set Jasper Process.- Specified by:
setJasperProcess_IDin interfaceI_AD_PrintFormat- Parameters:
JasperProcess_ID- The Jasper Process used by the printengine if any process defined
-
getJasperProcess_ID
public int getJasperProcess_ID()
Get Jasper Process.- Specified by:
getJasperProcess_IDin interfaceI_AD_PrintFormat- Returns:
- The Jasper Process used by the printengine if any process defined
-
setName
public void setName(String Name)
Set Name.- Specified by:
setNamein interfaceI_AD_PrintFormat- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getNamein interfaceI_AD_PrintFormat- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPrinterName
public void setPrinterName(String PrinterName)
Set Printer Name.- Specified by:
setPrinterNamein interfaceI_AD_PrintFormat- Parameters:
PrinterName- Name of the Printer
-
getPrinterName
public String getPrinterName()
Get Printer Name.- Specified by:
getPrinterNamein interfaceI_AD_PrintFormat- Returns:
- Name of the Printer
-
-