Adempiere 3.5.2a

org.compiere.model
Class X_AD_PrintPaper

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_AD_PrintPaper
All Implemented Interfaces:
Serializable, Comparator, I_AD_PrintPaper, I_Persistent, Evaluatee
Direct Known Subclasses:
MPrintPaper

public class X_AD_PrintPaper
extends PO
implements I_AD_PrintPaper, I_Persistent

Generated Model for AD_PrintPaper

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int DIMENSIONUNITS_AD_Reference_ID
          DimensionUnits AD_Reference_ID=375
static String DIMENSIONUNITS_Inch
          Inch = I
static String DIMENSIONUNITS_MM
          MM = M
 
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_PrintPaper
accessLevel, COLUMNNAME_AD_PrintPaper_ID, COLUMNNAME_Code, COLUMNNAME_Description, COLUMNNAME_DimensionUnits, COLUMNNAME_IsDefault, COLUMNNAME_IsLandscape, COLUMNNAME_MarginBottom, COLUMNNAME_MarginLeft, COLUMNNAME_MarginRight, COLUMNNAME_MarginTop, COLUMNNAME_Name, COLUMNNAME_Processing, COLUMNNAME_SizeX, COLUMNNAME_SizeY, Model, Table_ID, Table_Name
 
Constructor Summary
X_AD_PrintPaper(Properties ctx, int AD_PrintPaper_ID, String trxName)
          Standard Constructor
X_AD_PrintPaper(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_PrintPaper_ID()
          Get Print Paper.
 String getCode()
          Get Validation code.
 String getDescription()
          Get Description.
 String getDimensionUnits()
          Get Dimension Units.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getMarginBottom()
          Get Bottom Margin.
 int getMarginLeft()
          Get Left Margin.
 int getMarginRight()
          Get Right Margin.
 int getMarginTop()
          Get Top Margin.
 String getName()
          Get Name.
 BigDecimal getSizeX()
          Get Size X.
 BigDecimal getSizeY()
          Get Size Y.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isDefault()
          Get Default.
 boolean isLandscape()
          Get Landscape.
 boolean isProcessing()
          Get Process Now.
 void setAD_PrintPaper_ID(int AD_PrintPaper_ID)
          Set Print Paper.
 void setCode(String Code)
          Set Validation code.
 void setDescription(String Description)
          Set Description.
 void setDimensionUnits(String DimensionUnits)
          Set Dimension Units.
 void setIsDefault(boolean IsDefault)
          Set Default.
 void setIsLandscape(boolean IsLandscape)
          Set Landscape.
 void setMarginBottom(int MarginBottom)
          Set Bottom Margin.
 void setMarginLeft(int MarginLeft)
          Set Left Margin.
 void setMarginRight(int MarginRight)
          Set Right Margin.
 void setMarginTop(int MarginTop)
          Set Top Margin.
 void setName(String Name)
          Set Name.
 void setProcessing(boolean Processing)
          Set Process Now.
 void setSizeX(BigDecimal SizeX)
          Set Size X.
 void setSizeY(BigDecimal SizeY)
          Set Size Y.
 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

DIMENSIONUNITS_AD_Reference_ID

public static final int DIMENSIONUNITS_AD_Reference_ID
DimensionUnits AD_Reference_ID=375

See Also:
Constant Field Values

DIMENSIONUNITS_MM

public static final String DIMENSIONUNITS_MM
MM = M

See Also:
Constant Field Values

DIMENSIONUNITS_Inch

public static final String DIMENSIONUNITS_Inch
Inch = I

See Also:
Constant Field Values
Constructor Detail

X_AD_PrintPaper

public X_AD_PrintPaper(Properties ctx,
                       int AD_PrintPaper_ID,
                       String trxName)
Standard Constructor


X_AD_PrintPaper

public X_AD_PrintPaper(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:
6 - System - Client

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

setAD_PrintPaper_ID

public void setAD_PrintPaper_ID(int AD_PrintPaper_ID)
Set Print Paper.

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

setCode

public void setCode(String Code)
Set Validation code.

Specified by:
setCode in interface I_AD_PrintPaper
Parameters:
Code - Validation Code

getCode

public String getCode()
Get Validation code.

Specified by:
getCode in interface I_AD_PrintPaper
Returns:
Validation Code

setDescription

public void setDescription(String Description)
Set Description.

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

getDescription

public String getDescription()
Get Description.

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

setDimensionUnits

public void setDimensionUnits(String DimensionUnits)
Set Dimension Units.

Specified by:
setDimensionUnits in interface I_AD_PrintPaper
Parameters:
DimensionUnits - Units of Dimension

getDimensionUnits

public String getDimensionUnits()
Get Dimension Units.

Specified by:
getDimensionUnits in interface I_AD_PrintPaper
Returns:
Units of Dimension

setIsDefault

public void setIsDefault(boolean IsDefault)
Set Default.

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

isDefault

public boolean isDefault()
Get Default.

Specified by:
isDefault in interface I_AD_PrintPaper
Returns:
Default value

setIsLandscape

public void setIsLandscape(boolean IsLandscape)
Set Landscape.

Specified by:
setIsLandscape in interface I_AD_PrintPaper
Parameters:
IsLandscape - Landscape orientation

isLandscape

public boolean isLandscape()
Get Landscape.

Specified by:
isLandscape in interface I_AD_PrintPaper
Returns:
Landscape orientation

setMarginBottom

public void setMarginBottom(int MarginBottom)
Set Bottom Margin.

Specified by:
setMarginBottom in interface I_AD_PrintPaper
Parameters:
MarginBottom - Bottom Space in 1/72 inch

getMarginBottom

public int getMarginBottom()
Get Bottom Margin.

Specified by:
getMarginBottom in interface I_AD_PrintPaper
Returns:
Bottom Space in 1/72 inch

setMarginLeft

public void setMarginLeft(int MarginLeft)
Set Left Margin.

Specified by:
setMarginLeft in interface I_AD_PrintPaper
Parameters:
MarginLeft - Left Space in 1/72 inch

getMarginLeft

public int getMarginLeft()
Get Left Margin.

Specified by:
getMarginLeft in interface I_AD_PrintPaper
Returns:
Left Space in 1/72 inch

setMarginRight

public void setMarginRight(int MarginRight)
Set Right Margin.

Specified by:
setMarginRight in interface I_AD_PrintPaper
Parameters:
MarginRight - Right Space in 1/72 inch

getMarginRight

public int getMarginRight()
Get Right Margin.

Specified by:
getMarginRight in interface I_AD_PrintPaper
Returns:
Right Space in 1/72 inch

setMarginTop

public void setMarginTop(int MarginTop)
Set Top Margin.

Specified by:
setMarginTop in interface I_AD_PrintPaper
Parameters:
MarginTop - Top Space in 1/72 inch

getMarginTop

public int getMarginTop()
Get Top Margin.

Specified by:
getMarginTop in interface I_AD_PrintPaper
Returns:
Top Space in 1/72 inch

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_AD_PrintPaper
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_AD_PrintPaper
Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setProcessing

public void setProcessing(boolean Processing)
Set Process Now.

Specified by:
setProcessing in interface I_AD_PrintPaper
Parameters:
Processing - Process Now

isProcessing

public boolean isProcessing()
Get Process Now.

Specified by:
isProcessing in interface I_AD_PrintPaper
Returns:
Process Now

setSizeX

public void setSizeX(BigDecimal SizeX)
Set Size X.

Specified by:
setSizeX in interface I_AD_PrintPaper
Parameters:
SizeX - X (horizontal) dimension size

getSizeX

public BigDecimal getSizeX()
Get Size X.

Specified by:
getSizeX in interface I_AD_PrintPaper
Returns:
X (horizontal) dimension size

setSizeY

public void setSizeY(BigDecimal SizeY)
Set Size Y.

Specified by:
setSizeY in interface I_AD_PrintPaper
Parameters:
SizeY - Y (vertical) dimension size

getSizeY

public BigDecimal getSizeY()
Get Size Y.

Specified by:
getSizeY in interface I_AD_PrintPaper
Returns:
Y (vertical) dimension size

Adempiere 3.5.2a

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