Class MNote

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

public class MNote extends X_AD_Note
Note Model
Version:
$Id: MNote.java,v 1.3 2006/07/30 00:58:37 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MNote

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

      public MNote(Properties ctx, int AD_Note_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      AD_Note_ID - id
      trxName - transaction
    • MNote

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

      public MNote(Properties ctx, int AD_Message_ID, int AD_User_ID, String trxName)
      New Mandatory Constructor
      Parameters:
      ctx - context
      AD_Message_ID - message
      AD_User_ID - targeted user
      trxName - transaction
    • MNote

      public MNote(Properties ctx, String AD_MessageValue, int AD_User_ID, String trxName)
      New Mandatory Constructor
      Parameters:
      ctx - context
      AD_MessageValue - message
      AD_User_ID - targeted user
      trxName - transaction
    • MNote

      public MNote(Properties ctx, int AD_Message_ID, int AD_User_ID, int AD_Table_ID, int Record_ID, String Reference, String TextMsg, String trxName)
      Create Note
      Parameters:
      ctx - context
      AD_Message_ID - message
      AD_User_ID - user
      AD_Table_ID - table
      Record_ID - record
      TextMsg - text message
      Reference - reference
      trxName - transaction
    • MNote

      public MNote(Properties ctx, String AD_MessageValue, int AD_User_ID, int AD_Client_ID, int AD_Org_ID, String trxName)
      New Constructor
      Parameters:
      ctx - context
      AD_MessageValue - message
      AD_User_ID - targeted user
      AD_Client_ID - client
      AD_Org_ID - org
      trxName - transaction
  • Method Details

    • setAD_Message_ID

      public void setAD_Message_ID(String AD_Message)
      Set AD_Message_ID via Value
      Parameters:
      AD_Message - AD_Message
    • setAD_Message_ID

      public void setAD_Message_ID(int AD_Message_ID)
      Set AD_Message_ID. Looks up NoMessageFound if argument is 0.
      Specified by:
      setAD_Message_ID in interface I_AD_Note
      Overrides:
      setAD_Message_ID in class X_AD_Note
      Parameters:
      AD_Message_ID - id
    • getMessage

      public String getMessage()
      Get Message
      Returns:
      message text
    • setClientOrg

      public void setClientOrg(int AD_Client_ID, int AD_Org_ID)
      Set Client Org
      Overrides:
      setClientOrg in class PO
      Parameters:
      AD_Client_ID - client
      AD_Org_ID - org
    • setRecord

      public void setRecord(int AD_Table_ID, int Record_ID)
      Set Record
      Parameters:
      AD_Table_ID - table
      Record_ID - record
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class X_AD_Note
      Returns:
      info