Adempiere 3.5.2a

org.compiere.model
Class X_AD_PrintFormat

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_AD_PrintFormat
All Implemented Interfaces:
Serializable, Comparator, 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 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int JASPERPROCESS_ID_AD_Reference_ID
          JasperProcess_ID AD_Reference_ID=400
 
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, 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_PrintColor_ID, COLUMNNAME_AD_PrintFont_ID, COLUMNNAME_AD_PrintFormat_ID, COLUMNNAME_AD_PrintPaper_ID, COLUMNNAME_AD_PrintTableFormat_ID, COLUMNNAME_AD_ReportView_ID, COLUMNNAME_AD_Table_ID, COLUMNNAME_Args, COLUMNNAME_ClassName, COLUMNNAME_CreateCopy, COLUMNNAME_Description, COLUMNNAME_FooterMargin, COLUMNNAME_HeaderMargin, COLUMNNAME_IsDefault, COLUMNNAME_IsForm, COLUMNNAME_IsStandardHeaderFooter, COLUMNNAME_IsTableBased, COLUMNNAME_JasperProcess_ID, COLUMNNAME_Name, COLUMNNAME_PrinterName, Model, Table_ID, Table_Name
 
Constructor Summary
X_AD_PrintFormat(Properties ctx, int AD_PrintFormat_ID, String trxName)
          Standard Constructor
X_AD_PrintFormat(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_PrintColor_ID()
          Get Print Color.
 I_AD_PrintColor getAD_PrintColor()
           
 int getAD_PrintFont_ID()
          Get Print Font.
 I_AD_PrintFont getAD_PrintFont()
           
 int getAD_PrintFormat_ID()
          Get Print Format.
 int getAD_PrintPaper_ID()
          Get Print Paper.
 I_AD_PrintPaper getAD_PrintPaper()
           
 int getAD_PrintTableFormat_ID()
          Get Print Table Format.
 I_AD_PrintTableFormat getAD_PrintTableFormat()
           
 int getAD_ReportView_ID()
          Get Report View.
 I_AD_ReportView getAD_ReportView()
           
 int getAD_Table_ID()
          Get Table.
 I_AD_Table getAD_Table()
           
 String getArgs()
          Get Args.
 String getClassName()
          Get ClassName.
 String getCreateCopy()
          Get Create Copy.
 String getDescription()
          Get Description.
 int getFooterMargin()
          Get Footer Margin.
 int getHeaderMargin()
          Get Header Margin.
 int getJasperProcess_ID()
          Get Jasper Process.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getName()
          Get Name.
 String getPrinterName()
          Get Printer Name.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 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_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 setArgs(String Args)
          Set Args.
 void setClassName(String ClassName)
          Set ClassName.
 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 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, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

JASPERPROCESS_ID_AD_Reference_ID

public static final int JASPERPROCESS_ID_AD_Reference_ID
JasperProcess_ID AD_Reference_ID=400

See Also:
Constant Field Values
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 class PO
Returns:
7 - System - Client - Org

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

getAD_PrintColor

public I_AD_PrintColor getAD_PrintColor()
                                 throws Exception
Specified by:
getAD_PrintColor in interface I_AD_PrintFormat
Throws:
Exception

setAD_PrintColor_ID

public void setAD_PrintColor_ID(int AD_PrintColor_ID)
Set Print Color.

Specified by:
setAD_PrintColor_ID in interface I_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 interface I_AD_PrintFormat
Returns:
Color used for printing and display

getAD_PrintFont

public I_AD_PrintFont getAD_PrintFont()
                               throws Exception
Specified by:
getAD_PrintFont in interface I_AD_PrintFormat
Throws:
Exception

setAD_PrintFont_ID

public void setAD_PrintFont_ID(int AD_PrintFont_ID)
Set Print Font.

Specified by:
setAD_PrintFont_ID in interface I_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 interface I_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 interface I_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 interface I_AD_PrintFormat
Returns:
Data Print Format

getAD_PrintPaper

public I_AD_PrintPaper getAD_PrintPaper()
                                 throws Exception
Specified by:
getAD_PrintPaper in interface I_AD_PrintFormat
Throws:
Exception

setAD_PrintPaper_ID

public void setAD_PrintPaper_ID(int AD_PrintPaper_ID)
Set Print Paper.

Specified by:
setAD_PrintPaper_ID in interface I_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 interface I_AD_PrintFormat
Returns:
Printer paper definition

getAD_PrintTableFormat

public I_AD_PrintTableFormat getAD_PrintTableFormat()
                                             throws Exception
Specified by:
getAD_PrintTableFormat in interface I_AD_PrintFormat
Throws:
Exception

setAD_PrintTableFormat_ID

public void setAD_PrintTableFormat_ID(int AD_PrintTableFormat_ID)
Set Print Table Format.

Specified by:
setAD_PrintTableFormat_ID in interface I_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 interface I_AD_PrintFormat
Returns:
Table Format in Reports

getAD_ReportView

public I_AD_ReportView getAD_ReportView()
                                 throws Exception
Specified by:
getAD_ReportView in interface I_AD_PrintFormat
Throws:
Exception

setAD_ReportView_ID

public void setAD_ReportView_ID(int AD_ReportView_ID)
Set Report View.

Specified by:
setAD_ReportView_ID in interface I_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 interface I_AD_PrintFormat
Returns:
View used to generate this report

getAD_Table

public I_AD_Table getAD_Table()
                       throws Exception
Specified by:
getAD_Table in interface I_AD_PrintFormat
Throws:
Exception

setAD_Table_ID

public void setAD_Table_ID(int AD_Table_ID)
Set Table.

Specified by:
setAD_Table_ID in interface I_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 interface I_AD_PrintFormat
Returns:
Database Table information

setArgs

public void setArgs(String Args)
Set Args.

Specified by:
setArgs in interface I_AD_PrintFormat
Parameters:
Args - Args

getArgs

public String getArgs()
Get Args.

Specified by:
getArgs in interface I_AD_PrintFormat
Returns:
Args

setClassName

public void setClassName(String ClassName)
Set ClassName.

Specified by:
setClassName in interface I_AD_PrintFormat
Parameters:
ClassName - ClassName

getClassName

public String getClassName()
Get ClassName.

Specified by:
getClassName in interface I_AD_PrintFormat
Returns:
ClassName

setCreateCopy

public void setCreateCopy(String CreateCopy)
Set Create Copy.

Specified by:
setCreateCopy in interface I_AD_PrintFormat
Parameters:
CreateCopy - Create Copy

getCreateCopy

public String getCreateCopy()
Get Create Copy.

Specified by:
getCreateCopy in interface I_AD_PrintFormat
Returns:
Create Copy

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_AD_PrintFormat
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_AD_PrintFormat
Returns:
Optional short description of the record

setFooterMargin

public void setFooterMargin(int FooterMargin)
Set Footer Margin.

Specified by:
setFooterMargin in interface I_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 interface I_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 interface I_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 interface I_AD_PrintFormat
Returns:
Margin of the Header in 1/72 of an inch

setIsDefault

public void setIsDefault(boolean IsDefault)
Set Default.

Specified by:
setIsDefault in interface I_AD_PrintFormat
Parameters:
IsDefault - Default value

isDefault

public boolean isDefault()
Get Default.

Specified by:
isDefault in interface I_AD_PrintFormat
Returns:
Default value

setIsForm

public void setIsForm(boolean IsForm)
Set Form.

Specified by:
setIsForm in interface I_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 interface I_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 interface I_AD_PrintFormat
Parameters:
IsStandardHeaderFooter - The standard Header and Footer is used

isStandardHeaderFooter

public boolean isStandardHeaderFooter()
Get Standard Header/Footer.

Specified by:
isStandardHeaderFooter in interface I_AD_PrintFormat
Returns:
The standard Header and Footer is used

setIsTableBased

public void setIsTableBased(boolean IsTableBased)
Set Table Based.

Specified by:
setIsTableBased in interface I_AD_PrintFormat
Parameters:
IsTableBased - Table based List Reporting

isTableBased

public boolean isTableBased()
Get Table Based.

Specified by:
isTableBased in interface I_AD_PrintFormat
Returns:
Table based List Reporting

setJasperProcess_ID

public void setJasperProcess_ID(int JasperProcess_ID)
Set Jasper Process.

Specified by:
setJasperProcess_ID in interface I_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 interface I_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 interface I_AD_PrintFormat
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_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 interface I_AD_PrintFormat
Parameters:
PrinterName - Name of the Printer

getPrinterName

public String getPrinterName()
Get Printer Name.

Specified by:
getPrinterName in interface I_AD_PrintFormat
Returns:
Name of the Printer

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.