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 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Constructor Details

    • 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, int C_POSKey_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_POSKey

      public X_C_POSKey(Properties ctx, String C_POSKey_UU, String trxName)
      Standard Constructor
    • X_C_POSKey

      public X_C_POSKey(Properties ctx, String C_POSKey_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_POSKey

      public X_C_POSKey(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      2 - Client
    • initPO

      protected POInfo initPO(Properties ctx)
      Load Meta Data
      Specified by:
      initPO in class PO
      Parameters:
      ctx - context
      Returns:
      POInfo
    • toString

      public String toString()
      Description copied from class: PO
      String representation
      Overrides:
      toString in class PO
      Returns:
      String representation
    • setAD_Image_ID

      public void setAD_Image_ID(int AD_Image_ID)
      Set Image.
      Specified by:
      setAD_Image_ID in interface I_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 interface I_C_POSKey
      Returns:
      Image or Icon
    • getAD_PrintColor

      public I_AD_PrintColor getAD_PrintColor() throws RuntimeException
      Specified by:
      getAD_PrintColor in interface I_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 interface I_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 interface I_C_POSKey
      Returns:
      Color used for printing and display
    • getAD_PrintFont

      public I_AD_PrintFont getAD_PrintFont() throws RuntimeException
      Specified by:
      getAD_PrintFont in interface I_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 interface I_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 interface I_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 interface I_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 interface I_C_POSKey
      Returns:
      POS Function Key
    • getC_POSKeyLayout

      public I_C_POSKeyLayout getC_POSKeyLayout() throws RuntimeException
      Specified by:
      getC_POSKeyLayout in interface I_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 interface I_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 interface I_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 interface I_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 interface I_C_POSKey
      Returns:
      C_POSKey_UU
    • setDescription

      public void setDescription(String Description)
      Set Description.
      Specified by:
      setDescription in interface I_C_POSKey
      Parameters:
      Description - Optional short description of the record
    • getDescription

      public String getDescription()
      Get Description.
      Specified by:
      getDescription in interface I_C_POSKey
      Returns:
      Optional short description of the record
    • getM_Product

      public I_M_Product getM_Product() throws RuntimeException
      Specified by:
      getM_Product in interface I_C_POSKey
      Throws:
      RuntimeException
    • setM_Product_ID

      public void setM_Product_ID(int M_Product_ID)
      Set Product.
      Specified by:
      setM_Product_ID in interface I_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 interface I_C_POSKey
      Returns:
      Product, Service, Item
    • setName

      public void setName(String Name)
      Set Name.
      Specified by:
      setName in interface I_C_POSKey
      Parameters:
      Name - Alphanumeric identifier of the entity
    • getName

      public String getName()
      Get Name.
      Specified by:
      getName in interface I_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 interface I_C_POSKey
      Parameters:
      Qty - Quantity
    • getQty

      public BigDecimal getQty()
      Get Quantity.
      Specified by:
      getQty in interface I_C_POSKey
      Returns:
      Quantity
    • setSeqNo

      public void setSeqNo(int SeqNo)
      Set Sequence.
      Specified by:
      setSeqNo in interface I_C_POSKey
      Parameters:
      SeqNo - Method of ordering records; lowest number comes first
    • getSeqNo

      public int getSeqNo()
      Get Sequence.
      Specified by:
      getSeqNo in interface I_C_POSKey
      Returns:
      Method of ordering records; lowest number comes first
    • setSpanX

      public void setSpanX(int SpanX)
      Set Column span.
      Specified by:
      setSpanX in interface I_C_POSKey
      Parameters:
      SpanX - Number of columns spanned
    • getSpanX

      public int getSpanX()
      Get Column span.
      Specified by:
      getSpanX in interface I_C_POSKey
      Returns:
      Number of columns spanned
    • setSpanY

      public void setSpanY(int SpanY)
      Set Row Span.
      Specified by:
      setSpanY in interface I_C_POSKey
      Parameters:
      SpanY - Number of rows spanned
    • getSpanY

      public int getSpanY()
      Get Row Span.
      Specified by:
      getSpanY in interface I_C_POSKey
      Returns:
      Number of rows spanned
    • getSubKeyLayout

      public I_C_POSKeyLayout getSubKeyLayout() throws RuntimeException
      Specified by:
      getSubKeyLayout in interface I_C_POSKey
      Throws:
      RuntimeException
    • setSubKeyLayout_ID

      public void setSubKeyLayout_ID(int SubKeyLayout_ID)
      Set Key Layout.
      Specified by:
      setSubKeyLayout_ID in interface I_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 interface I_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 interface I_C_POSKey
      Parameters:
      Text - Description
    • getText

      public String getText()
      Get Description.
      Specified by:
      getText in interface I_C_POSKey
      Returns:
      Description