Class MHierarchy

    • Constructor Detail

      • MHierarchy

        public MHierarchy​(Properties ctx,
                          int PA_Hierarchy_ID,
                          String trxName)
        Default Constructor
        Parameters:
        ctx - context
        PA_Hierarchy_ID - id
        trxName - trx
      • MHierarchy

        public MHierarchy​(Properties ctx,
                          ResultSet rs,
                          String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - trx
      • MHierarchy

        public MHierarchy​(MHierarchy copy)
        Parameters:
        copy -
    • Method Detail

      • get

        public static MHierarchy get​(int PA_Hierarchy_ID)
        Get MHierarchy from Cache (immutable)
        Parameters:
        PA_Hierarchy_ID - id
        Returns:
        MHierarchy
      • get

        public static MHierarchy get​(Properties ctx,
                                     int PA_Hierarchy_ID)
        Get MHierarchy (Immutable) from Cache
        Parameters:
        ctx - context
        PA_Hierarchy_ID - id
        Returns:
        MHierarchy
      • getAD_Tree_ID

        public int getAD_Tree_ID​(String TreeType)
        Get AD_Tree_ID based on tree type
        Parameters:
        TreeType - Tree Type
        Returns:
        id or 0