Class X_GL_Category

    • Constructor Detail

      • X_GL_Category

        public X_GL_Category​(Properties ctx,
                             int GL_Category_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
      • setCategoryType

        public void setCategoryType​(String CategoryType)
        Set Category Type.
        Specified by:
        setCategoryType in interface I_GL_Category
        Parameters:
        CategoryType - Source of the Journal with this category
      • getCategoryType

        public String getCategoryType()
        Get Category Type.
        Specified by:
        getCategoryType in interface I_GL_Category
        Returns:
        Source of the Journal with this category
      • setDescription

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

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

        public void setGL_Category_ID​(int GL_Category_ID)
        Set GL Category.
        Specified by:
        setGL_Category_ID in interface I_GL_Category
        Parameters:
        GL_Category_ID - General Ledger Category
      • getGL_Category_ID

        public int getGL_Category_ID()
        Get GL Category.
        Specified by:
        getGL_Category_ID in interface I_GL_Category
        Returns:
        General Ledger Category
      • setGL_Category_UU

        public void setGL_Category_UU​(String GL_Category_UU)
        Set GL_Category_UU.
        Specified by:
        setGL_Category_UU in interface I_GL_Category
        Parameters:
        GL_Category_UU - GL_Category_UU
      • setIsDefault

        public void setIsDefault​(boolean IsDefault)
        Set Default.
        Specified by:
        setIsDefault in interface I_GL_Category
        Parameters:
        IsDefault - Default value
      • isDefault

        public boolean isDefault()
        Get Default.
        Specified by:
        isDefault in interface I_GL_Category
        Returns:
        Default value
      • setName

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

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_GL_Category
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair