Class MUserDefField

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

public class MUserDefField extends X_AD_UserDef_Field implements ImmutablePOSupport
User overrides for field model
Version:
$Id$
Author:
Dirk Niemeyer, action42 GmbH
See Also:
  • Constructor Details

    • MUserDefField

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

      public MUserDefField(Properties ctx, int ID, String trxName)
      Standard constructor. You must implement this constructor for Adempiere Persistency
      Parameters:
      ctx - context
      ID - the primary key ID
      trxName - transaction
    • MUserDefField

      public MUserDefField(Properties ctx, ResultSet rs, String trxName)
      Optional Load Constructor. You would use this constructor to load several business objects. SELECT * FROM MyModelExample WHERE ...
      Parameters:
      ctx - context
      rs - result set
      trxName - transaction
    • MUserDefField

      public MUserDefField(MUserDefField copy)
      Parameters:
      copy -
    • MUserDefField

      public MUserDefField(Properties ctx, MUserDefField copy)
      Parameters:
      ctx -
      copy -
    • MUserDefField

      public MUserDefField(Properties ctx, MUserDefField copy, String trxName)
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • get

      public static MUserDefField get(Properties ctx, int AD_Field_ID, int AD_Tab_ID, int AD_Window_ID)
      Get matching MUserDefField related to current field and user definition for window and tab
      Parameters:
      ctx -
      AD_Field_ID -
      AD_Tab_ID -
      AD_Window_ID -
      Returns:
    • get

      public static MUserDefField get(Properties ctx, int AD_Field_ID, int AD_Tab_ID, int AD_Window_ID, boolean reload)
      Get matching MUserDefField related to current field and user definition for window and tab
      Parameters:
      ctx -
      AD_Field_ID -
      AD_Tab_ID -
      AD_Window_ID -
      reload -
      Returns:
    • beforeSave

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

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