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
Generated Model for C_POSKey
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_C_POSKey
(Properties ctx, int C_POSKey_ID, String trxName) Standard ConstructorX_C_POSKey
(Properties ctx, int C_POSKey_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_POSKey
(Properties ctx, String C_POSKey_UU, String trxName) Standard ConstructorX_C_POSKey
(Properties ctx, String C_POSKey_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_POSKey
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Image.int
Get Print Color.int
Get Print Font.int
Get POS Key.Get C_POSKey_UU.int
Get POS Key Layout.Get Description.Get Record ID/ColumnNameint
Get Product.getName()
Get Name.getQty()
Get Quantity.int
getSeqNo()
Get Sequence.int
getSpanX()
Get Column span.int
getSpanY()
Get Row Span.int
Get Key Layout.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
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
Set Description.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
X_C_POSKey
Standard Constructor -
X_C_POSKey
Standard Constructor -
X_C_POSKey
Standard Constructor -
X_C_POSKey
Standard Constructor -
X_C_POSKey
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
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
- 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
- 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
- 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
Set C_POSKey_UU.- Specified by:
setC_POSKey_UU
in interfaceI_C_POSKey
- Parameters:
C_POSKey_UU
- C_POSKey_UU
-
getC_POSKey_UU
Get C_POSKey_UU.- Specified by:
getC_POSKey_UU
in interfaceI_C_POSKey
- Returns:
- C_POSKey_UU
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_C_POSKey
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_C_POSKey
- Returns:
- Optional short description of the record
-
getM_Product
- 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
Set Name.- Specified by:
setName
in interfaceI_C_POSKey
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_C_POSKey
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setQty
Set Quantity.- Specified by:
setQty
in interfaceI_C_POSKey
- Parameters:
Qty
- Quantity
-
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
- 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
Set Description.- Specified by:
setText
in interfaceI_C_POSKey
- Parameters:
Text
- Description
-
getText
Get Description.- Specified by:
getText
in interfaceI_C_POSKey
- Returns:
- Description
-