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 int
DIMENSIONUNITS_AD_Reference_ID
DimensionUnits AD_Reference_ID=375static String
DIMENSIONUNITS_Inch
Inch = Istatic 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, 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 int
get_AccessLevel()
AccessLevelint
getAD_PrintPaper_ID()
Get Print Paper.String
getAD_PrintPaper_UU()
Get AD_PrintPaper_UU.String
getCode()
Get Validation code.String
getDescription()
Get Description.String
getDimensionUnits()
Get Dimension Units.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
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 Databoolean
isDefault()
Get Default.boolean
isLandscape()
Get Landscape.boolean
isProcessing()
Get Process Now.void
setAD_PrintPaper_ID(int AD_PrintPaper_ID)
Set Print Paper.void
setAD_PrintPaper_UU(String AD_PrintPaper_UU)
Set AD_PrintPaper_UU.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, 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_AccessLevel
in 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_ID
in 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_ID
in 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_UU
in 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_UU
in interfaceI_AD_PrintPaper
- Returns:
- AD_PrintPaper_UU
-
setCode
public void setCode(String Code)
Set Validation code.- Specified by:
setCode
in interfaceI_AD_PrintPaper
- Parameters:
Code
- Validation Code
-
getCode
public String getCode()
Get Validation code.- Specified by:
getCode
in interfaceI_AD_PrintPaper
- Returns:
- Validation Code
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_AD_PrintPaper
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_AD_PrintPaper
- Returns:
- Optional short description of the record
-
setDimensionUnits
public void setDimensionUnits(String DimensionUnits)
Set Dimension Units.- Specified by:
setDimensionUnits
in interfaceI_AD_PrintPaper
- Parameters:
DimensionUnits
- Units of Dimension
-
getDimensionUnits
public String getDimensionUnits()
Get Dimension Units.- Specified by:
getDimensionUnits
in interfaceI_AD_PrintPaper
- Returns:
- Units of Dimension
-
setIsDefault
public void setIsDefault(boolean IsDefault)
Set Default.- Specified by:
setIsDefault
in interfaceI_AD_PrintPaper
- Parameters:
IsDefault
- Default value
-
isDefault
public boolean isDefault()
Get Default.- Specified by:
isDefault
in interfaceI_AD_PrintPaper
- Returns:
- Default value
-
setIsLandscape
public void setIsLandscape(boolean IsLandscape)
Set Landscape.- Specified by:
setIsLandscape
in interfaceI_AD_PrintPaper
- Parameters:
IsLandscape
- Landscape orientation
-
isLandscape
public boolean isLandscape()
Get Landscape.- Specified by:
isLandscape
in interfaceI_AD_PrintPaper
- Returns:
- Landscape orientation
-
setMarginBottom
public void setMarginBottom(int MarginBottom)
Set Bottom Margin.- Specified by:
setMarginBottom
in interfaceI_AD_PrintPaper
- Parameters:
MarginBottom
- Bottom Space in 1/72 inch
-
getMarginBottom
public int getMarginBottom()
Get Bottom Margin.- Specified by:
getMarginBottom
in interfaceI_AD_PrintPaper
- Returns:
- Bottom Space in 1/72 inch
-
setMarginLeft
public void setMarginLeft(int MarginLeft)
Set Left Margin.- Specified by:
setMarginLeft
in interfaceI_AD_PrintPaper
- Parameters:
MarginLeft
- Left Space in 1/72 inch
-
getMarginLeft
public int getMarginLeft()
Get Left Margin.- Specified by:
getMarginLeft
in interfaceI_AD_PrintPaper
- Returns:
- Left Space in 1/72 inch
-
setMarginRight
public void setMarginRight(int MarginRight)
Set Right Margin.- Specified by:
setMarginRight
in interfaceI_AD_PrintPaper
- Parameters:
MarginRight
- Right Space in 1/72 inch
-
getMarginRight
public int getMarginRight()
Get Right Margin.- Specified by:
getMarginRight
in interfaceI_AD_PrintPaper
- Returns:
- Right Space in 1/72 inch
-
setMarginTop
public void setMarginTop(int MarginTop)
Set Top Margin.- Specified by:
setMarginTop
in interfaceI_AD_PrintPaper
- Parameters:
MarginTop
- Top Space in 1/72 inch
-
getMarginTop
public int getMarginTop()
Get Top Margin.- Specified by:
getMarginTop
in interfaceI_AD_PrintPaper
- Returns:
- Top Space in 1/72 inch
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_AD_PrintPaper
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in 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:
setProcessing
in interfaceI_AD_PrintPaper
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessing
in interfaceI_AD_PrintPaper
- Returns:
- Process Now
-
setSizeX
public void setSizeX(BigDecimal SizeX)
Set Size X.- Specified by:
setSizeX
in interfaceI_AD_PrintPaper
- Parameters:
SizeX
- X (horizontal) dimension size
-
getSizeX
public BigDecimal getSizeX()
Get Size X.- Specified by:
getSizeX
in interfaceI_AD_PrintPaper
- Returns:
- X (horizontal) dimension size
-
setSizeY
public void setSizeY(BigDecimal SizeY)
Set Size Y.- Specified by:
setSizeY
in interfaceI_AD_PrintPaper
- Parameters:
SizeY
- Y (vertical) dimension size
-
getSizeY
public BigDecimal getSizeY()
Get Size Y.- Specified by:
getSizeY
in interfaceI_AD_PrintPaper
- Returns:
- Y (vertical) dimension size
-
-