Package org.compiere.model
Class X_AD_PrintPaper
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_PrintPaper
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,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 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intDIMENSIONUNITS_AD_Reference_IDDimensionUnits AD_Reference_ID=375static StringDIMENSIONUNITS_InchInch = Istatic StringDIMENSIONUNITS_MMMM = 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, 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_PrintPaper
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PrintPaper_ID, COLUMNNAME_AD_PrintPaper_UU, COLUMNNAME_Code, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_DimensionUnits, COLUMNNAME_IsActive, COLUMNNAME_IsDefault, COLUMNNAME_IsLandscape, COLUMNNAME_MarginBottom, COLUMNNAME_MarginLeft, COLUMNNAME_MarginRight, COLUMNNAME_MarginTop, COLUMNNAME_Name, COLUMNNAME_Processing, COLUMNNAME_SizeX, COLUMNNAME_SizeY, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_PrintPaper(Properties ctx, int AD_PrintPaper_ID, String trxName)Standard ConstructorX_AD_PrintPaper(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelintgetAD_PrintPaper_ID()Get Print Paper.StringgetAD_PrintPaper_UU()Get AD_PrintPaper_UU.StringgetCode()Get Validation code.StringgetDescription()Get Description.StringgetDimensionUnits()Get Dimension Units.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameintgetMarginBottom()Get Bottom Margin.intgetMarginLeft()Get Left Margin.intgetMarginRight()Get Right Margin.intgetMarginTop()Get Top Margin.StringgetName()Get Name.BigDecimalgetSizeX()Get Size X.BigDecimalgetSizeY()Get Size Y.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisDefault()Get Default.booleanisLandscape()Get Landscape.booleanisProcessing()Get Process Now.voidsetAD_PrintPaper_ID(int AD_PrintPaper_ID)Set Print Paper.voidsetAD_PrintPaper_UU(String AD_PrintPaper_UU)Set AD_PrintPaper_UU.voidsetCode(String Code)Set Validation code.voidsetDescription(String Description)Set Description.voidsetDimensionUnits(String DimensionUnits)Set Dimension Units.voidsetIsDefault(boolean IsDefault)Set Default.voidsetIsLandscape(boolean IsLandscape)Set Landscape.voidsetMarginBottom(int MarginBottom)Set Bottom Margin.voidsetMarginLeft(int MarginLeft)Set Left Margin.voidsetMarginRight(int MarginRight)Set Right Margin.voidsetMarginTop(int MarginTop)Set Top Margin.voidsetName(String Name)Set Name.voidsetProcessing(boolean Processing)Set Process Now.voidsetSizeX(BigDecimal SizeX)Set Size X.voidsetSizeY(BigDecimal SizeY)Set Size Y.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_PrintPaper
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
-
-
-
-
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_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(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_AccessLevelin classPO- Returns:
- 6 - System - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAD_PrintPaper_ID
public void setAD_PrintPaper_ID(int AD_PrintPaper_ID)
Set Print Paper.- Specified by:
setAD_PrintPaper_IDin interfaceI_AD_PrintPaper- 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_PrintPaper- Returns:
- Printer paper definition
-
setAD_PrintPaper_UU
public void setAD_PrintPaper_UU(String AD_PrintPaper_UU)
Set AD_PrintPaper_UU.- Specified by:
setAD_PrintPaper_UUin interfaceI_AD_PrintPaper- Parameters:
AD_PrintPaper_UU- AD_PrintPaper_UU
-
getAD_PrintPaper_UU
public String getAD_PrintPaper_UU()
Get AD_PrintPaper_UU.- Specified by:
getAD_PrintPaper_UUin interfaceI_AD_PrintPaper- Returns:
- AD_PrintPaper_UU
-
setCode
public void setCode(String Code)
Set Validation code.- Specified by:
setCodein interfaceI_AD_PrintPaper- Parameters:
Code- Validation Code
-
getCode
public String getCode()
Get Validation code.- Specified by:
getCodein interfaceI_AD_PrintPaper- Returns:
- Validation Code
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_AD_PrintPaper- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_AD_PrintPaper- Returns:
- Optional short description of the record
-
setDimensionUnits
public void setDimensionUnits(String DimensionUnits)
Set Dimension Units.- Specified by:
setDimensionUnitsin interfaceI_AD_PrintPaper- Parameters:
DimensionUnits- Units of Dimension
-
getDimensionUnits
public String getDimensionUnits()
Get Dimension Units.- Specified by:
getDimensionUnitsin interfaceI_AD_PrintPaper- Returns:
- Units of Dimension
-
setIsDefault
public void setIsDefault(boolean IsDefault)
Set Default.- Specified by:
setIsDefaultin interfaceI_AD_PrintPaper- Parameters:
IsDefault- Default value
-
isDefault
public boolean isDefault()
Get Default.- Specified by:
isDefaultin interfaceI_AD_PrintPaper- Returns:
- Default value
-
setIsLandscape
public void setIsLandscape(boolean IsLandscape)
Set Landscape.- Specified by:
setIsLandscapein interfaceI_AD_PrintPaper- Parameters:
IsLandscape- Landscape orientation
-
isLandscape
public boolean isLandscape()
Get Landscape.- Specified by:
isLandscapein interfaceI_AD_PrintPaper- Returns:
- Landscape orientation
-
setMarginBottom
public void setMarginBottom(int MarginBottom)
Set Bottom Margin.- Specified by:
setMarginBottomin interfaceI_AD_PrintPaper- Parameters:
MarginBottom- Bottom Space in 1/72 inch
-
getMarginBottom
public int getMarginBottom()
Get Bottom Margin.- Specified by:
getMarginBottomin interfaceI_AD_PrintPaper- Returns:
- Bottom Space in 1/72 inch
-
setMarginLeft
public void setMarginLeft(int MarginLeft)
Set Left Margin.- Specified by:
setMarginLeftin interfaceI_AD_PrintPaper- Parameters:
MarginLeft- Left Space in 1/72 inch
-
getMarginLeft
public int getMarginLeft()
Get Left Margin.- Specified by:
getMarginLeftin interfaceI_AD_PrintPaper- Returns:
- Left Space in 1/72 inch
-
setMarginRight
public void setMarginRight(int MarginRight)
Set Right Margin.- Specified by:
setMarginRightin interfaceI_AD_PrintPaper- Parameters:
MarginRight- Right Space in 1/72 inch
-
getMarginRight
public int getMarginRight()
Get Right Margin.- Specified by:
getMarginRightin interfaceI_AD_PrintPaper- Returns:
- Right Space in 1/72 inch
-
setMarginTop
public void setMarginTop(int MarginTop)
Set Top Margin.- Specified by:
setMarginTopin interfaceI_AD_PrintPaper- Parameters:
MarginTop- Top Space in 1/72 inch
-
getMarginTop
public int getMarginTop()
Get Top Margin.- Specified by:
getMarginTopin interfaceI_AD_PrintPaper- Returns:
- Top Space in 1/72 inch
-
setName
public void setName(String Name)
Set Name.- Specified by:
setNamein interfaceI_AD_PrintPaper- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getNamein interfaceI_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:
setProcessingin interfaceI_AD_PrintPaper- Parameters:
Processing- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessingin interfaceI_AD_PrintPaper- Returns:
- Process Now
-
setSizeX
public void setSizeX(BigDecimal SizeX)
Set Size X.- Specified by:
setSizeXin interfaceI_AD_PrintPaper- Parameters:
SizeX- X (horizontal) dimension size
-
getSizeX
public BigDecimal getSizeX()
Get Size X.- Specified by:
getSizeXin interfaceI_AD_PrintPaper- Returns:
- X (horizontal) dimension size
-
setSizeY
public void setSizeY(BigDecimal SizeY)
Set Size Y.- Specified by:
setSizeYin interfaceI_AD_PrintPaper- Parameters:
SizeY- Y (vertical) dimension size
-
getSizeY
public BigDecimal getSizeY()
Get Size Y.- Specified by:
getSizeYin interfaceI_AD_PrintPaper- Returns:
- Y (vertical) dimension size
-
-