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, role, organization or tenant 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.
      Parameters:
      ctx - context
      ID - the primary key ID
      trxName - transaction
    • MUserDefField

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

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

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

      public MUserDefField(Properties ctx, MUserDefField copy, String trxName)
      Copy constructor
      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 best matching MUserDefField for field, tab and window
      Parameters:
      ctx -
      AD_Field_ID -
      AD_Tab_ID -
      AD_Window_ID -
      Returns:
      MUserDefField or null
    • get

      public static MUserDefField get(Properties ctx, int AD_Field_ID, int AD_Tab_ID, int AD_Window_ID, boolean reload)
      Get best matching MUserDefField for field, tab and window
      Parameters:
      ctx -
      AD_Field_ID -
      AD_Tab_ID -
      AD_Window_ID -
      reload -
      Returns:
      MUserDefField or null
    • 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
    • markImmutable

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