Compiere 3.1

org.compiere.model
Class X_AD_PrintPaper

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_AD_PrintPaper
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee
Direct Known Subclasses:
MPrintPaper

public class X_AD_PrintPaper
extends PO

Generated Model for AD_PrintPaper

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
static int DIMENSIONUNITS_AD_Reference_ID
          DimensionUnits AD_Reference_ID=375
static String DIMENSIONUNITS_Inch
          Inch = I
static String DIMENSIONUNITS_MM
          MM = M
protected static KeyNamePair Model
           
static int Table_ID
          AD_Table_ID=492
static String Table_Name
          TableName=AD_PrintPaper
static long updatedMS
          Last Updated Timestamp 2008-06-10 15:12:06.0
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
X_AD_PrintPaper(Ctx ctx, int AD_PrintPaper_ID, String trxName)
          Standard Constructor
X_AD_PrintPaper(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_PrintPaper_ID()
          Get Print Paper.
 String getCode()
          Get 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(Ctx ctx)
          Load Meta Data
 boolean isDefault()
          Get Default.
 boolean isDimensionUnitsValid(String test)
          Is test a valid value.
 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 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()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=492

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=AD_PrintPaper

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

DIMENSIONUNITS_AD_Reference_ID

public static final int DIMENSIONUNITS_AD_Reference_ID
DimensionUnits AD_Reference_ID=375

See Also:
Constant Field Values

DIMENSIONUNITS_Inch

public static final String DIMENSIONUNITS_Inch
Inch = I

See Also:
Constant Field Values

DIMENSIONUNITS_MM

public static final String DIMENSIONUNITS_MM
MM = M

See Also:
Constant Field Values
Constructor Detail

X_AD_PrintPaper

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

Parameters:
ctx - context
AD_PrintPaper_ID - id
trxName - transaction

X_AD_PrintPaper

public X_AD_PrintPaper(Ctx ctx,
                       ResultSet rs,
                       String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
6 - System - Client

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

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

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAD_PrintPaper_ID

public void setAD_PrintPaper_ID(int AD_PrintPaper_ID)
Set Print Paper.

Parameters:
AD_PrintPaper_ID - Printer paper definition

getAD_PrintPaper_ID

public int getAD_PrintPaper_ID()
Get Print Paper.

Returns:
Printer paper definition

setCode

public void setCode(String Code)
Set Code.

Parameters:
Code - Code to execute or to validate

getCode

public String getCode()
Get Code.

Returns:
Code to execute or to validate

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

isDimensionUnitsValid

public boolean isDimensionUnitsValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setDimensionUnits

public void setDimensionUnits(String DimensionUnits)
Set Dimension Units.

Parameters:
DimensionUnits - Units of Dimension

getDimensionUnits

public String getDimensionUnits()
Get Dimension Units.

Returns:
Units of Dimension

setIsDefault

public void setIsDefault(boolean IsDefault)
Set Default.

Parameters:
IsDefault - Default value

isDefault

public boolean isDefault()
Get Default.

Returns:
Default value

setIsLandscape

public void setIsLandscape(boolean IsLandscape)
Set Landscape.

Parameters:
IsLandscape - Landscape orientation

isLandscape

public boolean isLandscape()
Get Landscape.

Returns:
Landscape orientation

setMarginBottom

public void setMarginBottom(int MarginBottom)
Set Bottom Margin.

Parameters:
MarginBottom - Bottom Space in 1/72 inch

getMarginBottom

public int getMarginBottom()
Get Bottom Margin.

Returns:
Bottom Space in 1/72 inch

setMarginLeft

public void setMarginLeft(int MarginLeft)
Set Left Margin.

Parameters:
MarginLeft - Left Space in 1/72 inch

getMarginLeft

public int getMarginLeft()
Get Left Margin.

Returns:
Left Space in 1/72 inch

setMarginRight

public void setMarginRight(int MarginRight)
Set Right Margin.

Parameters:
MarginRight - Right Space in 1/72 inch

getMarginRight

public int getMarginRight()
Get Right Margin.

Returns:
Right Space in 1/72 inch

setMarginTop

public void setMarginTop(int MarginTop)
Set Top Margin.

Parameters:
MarginTop - Top Space in 1/72 inch

getMarginTop

public int getMarginTop()
Get Top Margin.

Returns:
Top Space in 1/72 inch

setName

public void setName(String Name)
Set Name.

Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

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.

Parameters:
Processing - Process Now

isProcessing

public boolean isProcessing()
Get Process Now.

Returns:
Process Now

setSizeX

public void setSizeX(BigDecimal SizeX)
Set Size X.

Parameters:
SizeX - X (horizontal) dimension size

getSizeX

public BigDecimal getSizeX()
Get Size X.

Returns:
X (horizontal) dimension size

setSizeY

public void setSizeY(BigDecimal SizeY)
Set Size Y.

Parameters:
SizeY - Y (vertical) dimension size

getSizeY

public BigDecimal getSizeY()
Get Size Y.

Returns:
Y (vertical) dimension size

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.