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 int
get_AccessLevel()
AccessLevelI_AD_PrintColor
getAD_PrintColor()
int
getAD_PrintColor_ID()
Get Print Color.I_AD_PrintFont
getAD_PrintFont()
int
getAD_PrintFont_ID()
Get Print Font.int
getAD_PrintFormat_ID()
Get Print Format.String
getAD_PrintFormat_UU()
Get AD_PrintFormat_UU.I_AD_PrintHeaderFooter
getAD_PrintHeaderFooter()
int
getAD_PrintHeaderFooter_ID()
Get Print Header/Footer.I_AD_PrintPaper
getAD_PrintPaper()
int
getAD_PrintPaper_ID()
Get Print Paper.I_AD_PrintTableFormat
getAD_PrintTableFormat()
int
getAD_PrintTableFormat_ID()
Get Print Table Format.I_AD_ReportView
getAD_ReportView()
int
getAD_ReportView_ID()
Get Report View.I_AD_Table
getAD_Table()
int
getAD_Table_ID()
Get Table.I_AD_Window
getAD_Window()
int
getAD_Window_ID()
Get Window.String
getCreateCopy()
Get Create Copy.String
getDescription()
Get Description.int
getFooterMargin()
Get Footer Margin.int
getHeaderMargin()
Get Header Margin.I_AD_Process
getJasperProcess()
int
getJasperProcess_ID()
Get Jasper Process.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.String
getPrinterName()
Get Printer Name.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isBreakPagePerRecord()
Get Page break per record.boolean
isDefault()
Get Default.boolean
isForm()
Get Form.boolean
isStandardHeaderFooter()
Get Standard Header/Footer.boolean
isTableBased()
Get Table Based.void
setAD_PrintColor_ID(int AD_PrintColor_ID)
Set Print Color.void
setAD_PrintFont_ID(int AD_PrintFont_ID)
Set Print Font.void
setAD_PrintFormat_ID(int AD_PrintFormat_ID)
Set Print Format.void
setAD_PrintFormat_UU(String AD_PrintFormat_UU)
Set AD_PrintFormat_UU.void
setAD_PrintHeaderFooter_ID(int AD_PrintHeaderFooter_ID)
Set Print Header/Footer.void
setAD_PrintPaper_ID(int AD_PrintPaper_ID)
Set Print Paper.void
setAD_PrintTableFormat_ID(int AD_PrintTableFormat_ID)
Set Print Table Format.void
setAD_ReportView_ID(int AD_ReportView_ID)
Set Report View.void
setAD_Table_ID(int AD_Table_ID)
Set Table.void
setAD_Window_ID(int AD_Window_ID)
Set Window.void
setCreateCopy(String CreateCopy)
Set Create Copy.void
setDescription(String Description)
Set Description.void
setFooterMargin(int FooterMargin)
Set Footer Margin.void
setHeaderMargin(int HeaderMargin)
Set Header Margin.void
setIsBreakPagePerRecord(boolean IsBreakPagePerRecord)
Set Page break per record.void
setIsDefault(boolean IsDefault)
Set Default.void
setIsForm(boolean IsForm)
Set Form.void
setIsStandardHeaderFooter(boolean IsStandardHeaderFooter)
Set Standard Header/Footer.void
setIsTableBased(boolean IsTableBased)
Set Table Based.void
setJasperProcess_ID(int JasperProcess_ID)
Set Jasper Process.void
setName(String Name)
Set Name.void
setPrinterName(String PrinterName)
Set Printer Name.String
toString()
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_AccessLevel
in 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_PrintColor
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_PrintColor_ID
public void setAD_PrintColor_ID(int AD_PrintColor_ID)
Set Print Color.- Specified by:
setAD_PrintColor_ID
in 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_ID
in interfaceI_AD_PrintFormat
- Returns:
- Color used for printing and display
-
getAD_PrintFont
public I_AD_PrintFont getAD_PrintFont() throws RuntimeException
- Specified by:
getAD_PrintFont
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_PrintFont_ID
public void setAD_PrintFont_ID(int AD_PrintFont_ID)
Set Print Font.- Specified by:
setAD_PrintFont_ID
in 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_ID
in 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_ID
in 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_ID
in 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_UU
in 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_UU
in interfaceI_AD_PrintFormat
- Returns:
- AD_PrintFormat_UU
-
getAD_PrintHeaderFooter
public I_AD_PrintHeaderFooter getAD_PrintHeaderFooter() throws RuntimeException
- Specified by:
getAD_PrintHeaderFooter
in 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_ID
in 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_ID
in interfaceI_AD_PrintFormat
- Returns:
- Print Header/Footer
-
getAD_PrintPaper
public I_AD_PrintPaper getAD_PrintPaper() throws RuntimeException
- Specified by:
getAD_PrintPaper
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_PrintPaper_ID
public void setAD_PrintPaper_ID(int AD_PrintPaper_ID)
Set Print Paper.- Specified by:
setAD_PrintPaper_ID
in 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_ID
in interfaceI_AD_PrintFormat
- Returns:
- Printer paper definition
-
getAD_PrintTableFormat
public I_AD_PrintTableFormat getAD_PrintTableFormat() throws RuntimeException
- Specified by:
getAD_PrintTableFormat
in 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_ID
in 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_ID
in interfaceI_AD_PrintFormat
- Returns:
- Table Format in Reports
-
getAD_ReportView
public I_AD_ReportView getAD_ReportView() throws RuntimeException
- Specified by:
getAD_ReportView
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_ReportView_ID
public void setAD_ReportView_ID(int AD_ReportView_ID)
Set Report View.- Specified by:
setAD_ReportView_ID
in 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_ID
in interfaceI_AD_PrintFormat
- Returns:
- View used to generate this report
-
getAD_Table
public I_AD_Table getAD_Table() throws RuntimeException
- Specified by:
getAD_Table
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_Table_ID
public void setAD_Table_ID(int AD_Table_ID)
Set Table.- Specified by:
setAD_Table_ID
in interfaceI_AD_PrintFormat
- Parameters:
AD_Table_ID
- Database Table information
-
getAD_Table_ID
public int getAD_Table_ID()
Get Table.- Specified by:
getAD_Table_ID
in interfaceI_AD_PrintFormat
- Returns:
- Database Table information
-
getAD_Window
public I_AD_Window getAD_Window() throws RuntimeException
- Specified by:
getAD_Window
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_Window_ID
public void setAD_Window_ID(int AD_Window_ID)
Set Window.- Specified by:
setAD_Window_ID
in 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_ID
in interfaceI_AD_PrintFormat
- Returns:
- Data entry or display window
-
setCreateCopy
public void setCreateCopy(String CreateCopy)
Set Create Copy.- Specified by:
setCreateCopy
in interfaceI_AD_PrintFormat
- Parameters:
CreateCopy
- Create Copy
-
getCreateCopy
public String getCreateCopy()
Get Create Copy.- Specified by:
getCreateCopy
in interfaceI_AD_PrintFormat
- Returns:
- Create Copy
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_AD_PrintFormat
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_AD_PrintFormat
- Returns:
- Optional short description of the record
-
setFooterMargin
public void setFooterMargin(int FooterMargin)
Set Footer Margin.- Specified by:
setFooterMargin
in interfaceI_AD_PrintFormat
- Parameters:
FooterMargin
- Margin of the Footer in 1/72 of an inch
-
getFooterMargin
public int getFooterMargin()
Get Footer Margin.- Specified by:
getFooterMargin
in 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:
setHeaderMargin
in interfaceI_AD_PrintFormat
- Parameters:
HeaderMargin
- Margin of the Header in 1/72 of an inch
-
getHeaderMargin
public int getHeaderMargin()
Get Header Margin.- Specified by:
getHeaderMargin
in 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:
setIsBreakPagePerRecord
in interfaceI_AD_PrintFormat
- Parameters:
IsBreakPagePerRecord
- Page Break after each record
-
isBreakPagePerRecord
public boolean isBreakPagePerRecord()
Get Page break per record.- Specified by:
isBreakPagePerRecord
in interfaceI_AD_PrintFormat
- Returns:
- Page Break after each record
-
setIsDefault
public void setIsDefault(boolean IsDefault)
Set Default.- Specified by:
setIsDefault
in interfaceI_AD_PrintFormat
- Parameters:
IsDefault
- Default value
-
isDefault
public boolean isDefault()
Get Default.- Specified by:
isDefault
in interfaceI_AD_PrintFormat
- Returns:
- Default value
-
setIsForm
public void setIsForm(boolean IsForm)
Set Form.- Specified by:
setIsForm
in 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:
isForm
in 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:
setIsStandardHeaderFooter
in interfaceI_AD_PrintFormat
- Parameters:
IsStandardHeaderFooter
- The standard Header and Footer is used
-
isStandardHeaderFooter
public boolean isStandardHeaderFooter()
Get Standard Header/Footer.- Specified by:
isStandardHeaderFooter
in interfaceI_AD_PrintFormat
- Returns:
- The standard Header and Footer is used
-
setIsTableBased
public void setIsTableBased(boolean IsTableBased)
Set Table Based.- Specified by:
setIsTableBased
in interfaceI_AD_PrintFormat
- Parameters:
IsTableBased
- Table based List Reporting
-
isTableBased
public boolean isTableBased()
Get Table Based.- Specified by:
isTableBased
in interfaceI_AD_PrintFormat
- Returns:
- Table based List Reporting
-
getJasperProcess
public I_AD_Process getJasperProcess() throws RuntimeException
- Specified by:
getJasperProcess
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setJasperProcess_ID
public void setJasperProcess_ID(int JasperProcess_ID)
Set Jasper Process.- Specified by:
setJasperProcess_ID
in 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_ID
in 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:
setName
in interfaceI_AD_PrintFormat
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in 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:
setPrinterName
in interfaceI_AD_PrintFormat
- Parameters:
PrinterName
- Name of the Printer
-
getPrinterName
public String getPrinterName()
Get Printer Name.- Specified by:
getPrinterName
in interfaceI_AD_PrintFormat
- Returns:
- Name of the Printer
-
-