Package org.compiere.model
Class X_C_POSKey
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_POSKey
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_POSKey
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MPOSKey
public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent
Generated Model for C_POSKey- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
-
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_C_POSKey
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Image_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PrintColor_ID, COLUMNNAME_AD_PrintFont_ID, COLUMNNAME_C_POSKey_ID, COLUMNNAME_C_POSKey_UU, COLUMNNAME_C_POSKeyLayout_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_Qty, COLUMNNAME_SeqNo, COLUMNNAME_SpanX, COLUMNNAME_SpanY, COLUMNNAME_SubKeyLayout_ID, COLUMNNAME_Text, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_POSKey(Properties ctx, int C_POSKey_ID, String trxName)
Standard ConstructorX_C_POSKey(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_Image_ID()
Get Image.I_AD_PrintColor
getAD_PrintColor()
int
getAD_PrintColor_ID()
Get Print Color.I_AD_PrintFont
getAD_PrintFont()
int
getAD_PrintFont_ID()
Get Print Font.int
getC_POSKey_ID()
Get POS Key.String
getC_POSKey_UU()
Get C_POSKey_UU.I_C_POSKeyLayout
getC_POSKeyLayout()
int
getC_POSKeyLayout_ID()
Get POS Key Layout.String
getDescription()
Get Description.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameI_M_Product
getM_Product()
int
getM_Product_ID()
Get Product.String
getName()
Get Name.BigDecimal
getQty()
Get Quantity.int
getSeqNo()
Get Sequence.int
getSpanX()
Get Column span.int
getSpanY()
Get Row Span.I_C_POSKeyLayout
getSubKeyLayout()
int
getSubKeyLayout_ID()
Get Key Layout.String
getText()
Get Description.protected POInfo
initPO(Properties ctx)
Load Meta Datavoid
setAD_Image_ID(int AD_Image_ID)
Set Image.void
setAD_PrintColor_ID(int AD_PrintColor_ID)
Set Print Color.void
setAD_PrintFont_ID(int AD_PrintFont_ID)
Set Print Font.void
setC_POSKey_ID(int C_POSKey_ID)
Set POS Key.void
setC_POSKey_UU(String C_POSKey_UU)
Set C_POSKey_UU.void
setC_POSKeyLayout_ID(int C_POSKeyLayout_ID)
Set POS Key Layout.void
setDescription(String Description)
Set Description.void
setM_Product_ID(int M_Product_ID)
Set Product.void
setName(String Name)
Set Name.void
setQty(BigDecimal Qty)
Set Quantity.void
setSeqNo(int SeqNo)
Set Sequence.void
setSpanX(int SpanX)
Set Column span.void
setSpanY(int SpanY)
Set Row Span.void
setSubKeyLayout_ID(int SubKeyLayout_ID)
Set Key Layout.void
setText(String Text)
Set Description.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_C_POSKey
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
-
-
-
-
Constructor Detail
-
X_C_POSKey
public X_C_POSKey(Properties ctx, int C_POSKey_ID, String trxName)
Standard Constructor
-
X_C_POSKey
public X_C_POSKey(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAD_Image_ID
public void setAD_Image_ID(int AD_Image_ID)
Set Image.- Specified by:
setAD_Image_ID
in interfaceI_C_POSKey
- Parameters:
AD_Image_ID
- Image or Icon
-
getAD_Image_ID
public int getAD_Image_ID()
Get Image.- Specified by:
getAD_Image_ID
in interfaceI_C_POSKey
- Returns:
- Image or Icon
-
getAD_PrintColor
public I_AD_PrintColor getAD_PrintColor() throws RuntimeException
- Specified by:
getAD_PrintColor
in interfaceI_C_POSKey
- Throws:
RuntimeException
-
setAD_PrintColor_ID
public void setAD_PrintColor_ID(int AD_PrintColor_ID)
Set Print Color.- Specified by:
setAD_PrintColor_ID
in interfaceI_C_POSKey
- 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 interfaceI_C_POSKey
- Returns:
- Color used for printing and display
-
getAD_PrintFont
public I_AD_PrintFont getAD_PrintFont() throws RuntimeException
- Specified by:
getAD_PrintFont
in interfaceI_C_POSKey
- Throws:
RuntimeException
-
setAD_PrintFont_ID
public void setAD_PrintFont_ID(int AD_PrintFont_ID)
Set Print Font.- Specified by:
setAD_PrintFont_ID
in interfaceI_C_POSKey
- Parameters:
AD_PrintFont_ID
- Maintain Print Font
-
getAD_PrintFont_ID
public int getAD_PrintFont_ID()
Get Print Font.- Specified by:
getAD_PrintFont_ID
in interfaceI_C_POSKey
- Returns:
- Maintain Print Font
-
setC_POSKey_ID
public void setC_POSKey_ID(int C_POSKey_ID)
Set POS Key.- Specified by:
setC_POSKey_ID
in interfaceI_C_POSKey
- Parameters:
C_POSKey_ID
- POS Function Key
-
getC_POSKey_ID
public int getC_POSKey_ID()
Get POS Key.- Specified by:
getC_POSKey_ID
in interfaceI_C_POSKey
- Returns:
- POS Function Key
-
getC_POSKeyLayout
public I_C_POSKeyLayout getC_POSKeyLayout() throws RuntimeException
- Specified by:
getC_POSKeyLayout
in interfaceI_C_POSKey
- Throws:
RuntimeException
-
setC_POSKeyLayout_ID
public void setC_POSKeyLayout_ID(int C_POSKeyLayout_ID)
Set POS Key Layout.- Specified by:
setC_POSKeyLayout_ID
in interfaceI_C_POSKey
- Parameters:
C_POSKeyLayout_ID
- POS Function Key Layout
-
getC_POSKeyLayout_ID
public int getC_POSKeyLayout_ID()
Get POS Key Layout.- Specified by:
getC_POSKeyLayout_ID
in interfaceI_C_POSKey
- Returns:
- POS Function Key Layout
-
setC_POSKey_UU
public void setC_POSKey_UU(String C_POSKey_UU)
Set C_POSKey_UU.- Specified by:
setC_POSKey_UU
in interfaceI_C_POSKey
- Parameters:
C_POSKey_UU
- C_POSKey_UU
-
getC_POSKey_UU
public String getC_POSKey_UU()
Get C_POSKey_UU.- Specified by:
getC_POSKey_UU
in interfaceI_C_POSKey
- Returns:
- C_POSKey_UU
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_C_POSKey
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_C_POSKey
- Returns:
- Optional short description of the record
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Product
in interfaceI_C_POSKey
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_ID
in interfaceI_C_POSKey
- Parameters:
M_Product_ID
- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()
Get Product.- Specified by:
getM_Product_ID
in interfaceI_C_POSKey
- Returns:
- Product, Service, Item
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_C_POSKey
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_C_POSKey
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setQty
public void setQty(BigDecimal Qty)
Set Quantity.- Specified by:
setQty
in interfaceI_C_POSKey
- Parameters:
Qty
- Quantity
-
getQty
public BigDecimal getQty()
Get Quantity.- Specified by:
getQty
in interfaceI_C_POSKey
- Returns:
- Quantity
-
setSeqNo
public void setSeqNo(int SeqNo)
Set Sequence.- Specified by:
setSeqNo
in interfaceI_C_POSKey
- Parameters:
SeqNo
- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()
Get Sequence.- Specified by:
getSeqNo
in interfaceI_C_POSKey
- Returns:
- Method of ordering records; lowest number comes first
-
setSpanX
public void setSpanX(int SpanX)
Set Column span.- Specified by:
setSpanX
in interfaceI_C_POSKey
- Parameters:
SpanX
- Number of columns spanned
-
getSpanX
public int getSpanX()
Get Column span.- Specified by:
getSpanX
in interfaceI_C_POSKey
- Returns:
- Number of columns spanned
-
setSpanY
public void setSpanY(int SpanY)
Set Row Span.- Specified by:
setSpanY
in interfaceI_C_POSKey
- Parameters:
SpanY
- Number of rows spanned
-
getSpanY
public int getSpanY()
Get Row Span.- Specified by:
getSpanY
in interfaceI_C_POSKey
- Returns:
- Number of rows spanned
-
getSubKeyLayout
public I_C_POSKeyLayout getSubKeyLayout() throws RuntimeException
- Specified by:
getSubKeyLayout
in interfaceI_C_POSKey
- Throws:
RuntimeException
-
setSubKeyLayout_ID
public void setSubKeyLayout_ID(int SubKeyLayout_ID)
Set Key Layout.- Specified by:
setSubKeyLayout_ID
in interfaceI_C_POSKey
- Parameters:
SubKeyLayout_ID
- Key Layout to be displayed when this key is pressed
-
getSubKeyLayout_ID
public int getSubKeyLayout_ID()
Get Key Layout.- Specified by:
getSubKeyLayout_ID
in interfaceI_C_POSKey
- Returns:
- Key Layout to be displayed when this key is pressed
-
setText
public void setText(String Text)
Set Description.- Specified by:
setText
in interfaceI_C_POSKey
- Parameters:
Text
- Description
-
getText
public String getText()
Get Description.- Specified by:
getText
in interfaceI_C_POSKey
- Returns:
- Description
-
-