Class MTableAttributeSet

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

public class MTableAttributeSet extends X_AD_TableAttributeSet
See Also:
  • Constructor Details

    • MTableAttributeSet

      public MTableAttributeSet(Properties ctx, int AD_TableAttributeSet_ID, String trxName)
    • MTableAttributeSet

      public MTableAttributeSet(Properties ctx, ResultSet rs, String trxName)
  • Method Details

    • getMAttributes

      public static ArrayList<MAttribute> getMAttributes(int tableID, String trx_Name)
      Retrieves active attributes for a given table.
      Parameters:
      tableID - the ID of the table.
      trx_Name - the database transaction name.
      Returns:
      a list of MAttribute objects.
    • hasTableAttributeSet

      public static boolean hasTableAttributeSet(int ad_Table_ID)
      Checks if the specified table has an associated attribute set.
      Parameters:
      ad_Table_ID - the ID of the table.
      Returns:
      true if the table has an attribute set, false otherwise.
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - true if it is a new record
      Returns:
      true if record can be saved