Class X_C_POSKey

    • Constructor Detail

      • X_C_POSKey

        public X_C_POSKey​(Properties ctx,
                          int C_POSKey_ID,
                          String trxName)
        Standard Constructor
    • Method Detail

      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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