Class MUserDefField

    • Constructor Detail

      • 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 -
    • Method Detail

      • 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