Class MAcctSchemaGL

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_AcctSchema_GL, I_Persistent, Evaluatee, ImmutablePOSupport

public class MAcctSchemaGL extends X_C_AcctSchema_GL implements ImmutablePOSupport
Accounting Schema GL info
Version:
$Id: MAcctSchemaGL.java,v 1.3 2006/07/30 00:58:18 jjanke Exp $
Author:
Jorg Janke, victor.perez@e-evolution.com, www.e-evolution.com
  • RF [ 2214883 ] Remove SQL code and Replace for Query https://sourceforge.net/p/adempiere/feature-requests/557/
  • See Also:
    • Field Details

      • s_log

        protected static CLogger s_log
        Logger
    • Constructor Details

      • MAcctSchemaGL

        public MAcctSchemaGL(Properties ctx, String C_AcctSchema_GL_UU, String trxName)
        UUID based Constructor
        Parameters:
        ctx - Context
        C_AcctSchema_GL_UU - UUID key
        trxName - Transaction
      • MAcctSchemaGL

        public MAcctSchemaGL(Properties ctx, int C_AcctSchema_ID, String trxName)
        Load Constructor
        Parameters:
        ctx - context
        C_AcctSchema_ID - AcctSchema
        trxName - transaction
      • MAcctSchemaGL

        public MAcctSchemaGL(Properties ctx, ResultSet rs, String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MAcctSchemaGL

        public MAcctSchemaGL(MAcctSchemaGL copy)
        Copy constructor
        Parameters:
        copy -
      • MAcctSchemaGL

        public MAcctSchemaGL(Properties ctx, MAcctSchemaGL copy)
        Copy constructor
        Parameters:
        ctx -
        copy -
      • MAcctSchemaGL

        public MAcctSchemaGL(Properties ctx, MAcctSchemaGL copy, String trxName)
        Copy constructor
        Parameters:
        ctx -
        copy -
        trxName -
    • Method Details

      • get

        public static MAcctSchemaGL get(Properties ctx, int C_AcctSchema_ID)
        Get Accounting Schema GL Info
        Parameters:
        ctx - context
        C_AcctSchema_ID - id
        Returns:
        defaults
      • getAcctInfo

        public ArrayList<KeyNamePair> getAcctInfo()
        Get value of all columns that ends with Acct
        Returns:
        KeyNamePair(id, column name) list
      • setValue

        public boolean setValue(String columnName, Integer value)
        Set Value (don't use)
        Parameters:
        columnName - column name
        value - value
        Returns:
        true if set
      • beforeSave

        protected boolean beforeSave(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new
        Returns:
        true
      • markImmutable

        public MAcctSchemaGL markImmutable()
        Description copied from interface: ImmutablePOSupport
        mark PO as immutable
        Specified by:
        markImmutable in interface ImmutablePOSupport
        Returns:
        PO