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 13 - $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_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelintGet Image.Deprecated.intGet Print Color.Deprecated.intGet Print Font.intGet POS Key.Get C_POSKey_UU.Deprecated.intGet POS Key Layout.Get Description.Get Record ID/ColumnNameDeprecated.intGet Product.getName()Get Name.getQty()Get Quantity.intgetSeqNo()Get Sequence.intgetSpanX()Get Column span.intgetSpanY()Get Row Span.Deprecated.intGet Key Layout.getText()Get Description.protected POInfoinitPO(Properties ctx) Load Meta DatavoidsetAD_Image_ID(int AD_Image_ID) Set Image.voidsetAD_PrintColor_ID(int AD_PrintColor_ID) Set Print Color.voidsetAD_PrintFont_ID(int AD_PrintFont_ID) Set Print Font.voidsetC_POSKey_ID(int C_POSKey_ID) Set POS Key.voidsetC_POSKey_UU(String C_POSKey_UU) Set C_POSKey_UU.voidsetC_POSKeyLayout_ID(int C_POSKeyLayout_ID) Set POS Key Layout.voidsetDescription(String Description) Set Description.voidsetM_Product_ID(int M_Product_ID) Set Product.voidSet Name.voidsetQty(BigDecimal Qty) Set Quantity.voidsetSeqNo(int SeqNo) Set Sequence.voidsetSpanX(int SpanX) Set Column span.voidsetSpanY(int SpanY) Set Row Span.voidsetSubKeyLayout_ID(int SubKeyLayout_ID) Set Key Layout.voidSet 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_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, 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, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_C_POSKey
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods 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_AccessLevelin classPO- Returns:
- 2 - Client
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
setAD_Image_ID
public void setAD_Image_ID(int AD_Image_ID) Set Image.- Specified by:
setAD_Image_IDin interfaceI_C_POSKey- Parameters:
AD_Image_ID- Image or Icon
-
getAD_Image_ID
public int getAD_Image_ID()Get Image.- Specified by:
getAD_Image_IDin interfaceI_C_POSKey- Returns:
- Image or Icon
-
getAD_PrintColor
Deprecated.- Specified by:
getAD_PrintColorin interfaceI_C_POSKey- Throws:
RuntimeException
-
setAD_PrintColor_ID
public void setAD_PrintColor_ID(int AD_PrintColor_ID) Set Print Color.- Specified by:
setAD_PrintColor_IDin 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_IDin interfaceI_C_POSKey- Returns:
- Color used for printing and display
-
getAD_PrintFont
Deprecated.- Specified by:
getAD_PrintFontin interfaceI_C_POSKey- Throws:
RuntimeException
-
setAD_PrintFont_ID
public void setAD_PrintFont_ID(int AD_PrintFont_ID) Set Print Font.- Specified by:
setAD_PrintFont_IDin 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_IDin interfaceI_C_POSKey- Returns:
- Maintain Print Font
-
getC_POSKeyLayout
Deprecated.- Specified by:
getC_POSKeyLayoutin 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_IDin 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_IDin interfaceI_C_POSKey- Returns:
- POS Function Key Layout
-
setC_POSKey_ID
public void setC_POSKey_ID(int C_POSKey_ID) Set POS Key.- Specified by:
setC_POSKey_IDin 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_IDin interfaceI_C_POSKey- Returns:
- POS Function Key
-
setC_POSKey_UU
Set C_POSKey_UU.- Specified by:
setC_POSKey_UUin interfaceI_C_POSKey- Parameters:
C_POSKey_UU- C_POSKey_UU
-
getC_POSKey_UU
Get C_POSKey_UU.- Specified by:
getC_POSKey_UUin interfaceI_C_POSKey- Returns:
- C_POSKey_UU
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_C_POSKey- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_C_POSKey- Returns:
- Optional short description of the record
-
getM_Product
Deprecated.- Specified by:
getM_Productin interfaceI_C_POSKey- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_IDin interfaceI_C_POSKey- Parameters:
M_Product_ID- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_IDin interfaceI_C_POSKey- Returns:
- Product, Service, Item
-
setName
Set Name.- Specified by:
setNamein interfaceI_C_POSKey- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getNamein interfaceI_C_POSKey- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setQty
Set Quantity.- Specified by:
setQtyin interfaceI_C_POSKey- Parameters:
Qty- Quantity
-
getQty
Get Quantity.- Specified by:
getQtyin interfaceI_C_POSKey- Returns:
- Quantity
-
setSeqNo
public void setSeqNo(int SeqNo) Set Sequence.- Specified by:
setSeqNoin interfaceI_C_POSKey- Parameters:
SeqNo- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()Get Sequence.- Specified by:
getSeqNoin interfaceI_C_POSKey- Returns:
- Method of ordering records; lowest number comes first
-
setSpanX
public void setSpanX(int SpanX) Set Column span.- Specified by:
setSpanXin interfaceI_C_POSKey- Parameters:
SpanX- Number of columns spanned
-
getSpanX
public int getSpanX()Get Column span.- Specified by:
getSpanXin interfaceI_C_POSKey- Returns:
- Number of columns spanned
-
setSpanY
public void setSpanY(int SpanY) Set Row Span.- Specified by:
setSpanYin interfaceI_C_POSKey- Parameters:
SpanY- Number of rows spanned
-
getSpanY
public int getSpanY()Get Row Span.- Specified by:
getSpanYin interfaceI_C_POSKey- Returns:
- Number of rows spanned
-
getSubKeyLayout
Deprecated.- Specified by:
getSubKeyLayoutin interfaceI_C_POSKey- Throws:
RuntimeException
-
setSubKeyLayout_ID
public void setSubKeyLayout_ID(int SubKeyLayout_ID) Set Key Layout.- Specified by:
setSubKeyLayout_IDin 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_IDin interfaceI_C_POSKey- Returns:
- Key Layout to be displayed when this key is pressed
-
setText
Set Description.- Specified by:
setTextin interfaceI_C_POSKey- Parameters:
Text- Description
-
getText
Get Description.- Specified by:
getTextin interfaceI_C_POSKey- Returns:
- Description
-