Class MRecordAccess

    • Constructor Detail

      • MRecordAccess

        public MRecordAccess​(Properties ctx,
                             int ignored,
                             String trxName)
        Persistency Constructor
        Parameters:
        ctx - context
        ignored - ignored
        trxName - transaction
      • MRecordAccess

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

        public MRecordAccess​(Properties ctx,
                             int AD_Role_ID,
                             int AD_Table_ID,
                             int Record_ID,
                             String trxName)
        Full New Constructor
        Parameters:
        ctx - context
        AD_Role_ID - role
        AD_Table_ID - table
        Record_ID - record
        trxName - transaction
    • Method Detail

      • getKeyColumnName

        public String getKeyColumnName()
        Get Key Column Name
        Returns:
        Key Column Name
      • getSynonym

        public String getSynonym()
        Get Synonym of Column
        Returns:
        Synonym Column Name
      • isSynonym

        public boolean isSynonym()
        Key Column has a Synonym
        Returns:
        true if Key Column has Synonym
      • isReadWrite

        public boolean isReadWrite()
        Is Read Write
        Returns:
        rw - false if exclude
      • getKeyColumnName

        public String getKeyColumnName​(AccessSqlParser.TableInfo[] tableInfo)
        Get Key Column Name with consideration of Synonym
        Parameters:
        tableInfo -
        Returns:
        key column name
      • toStringX

        public String toStringX​(Properties ctx)
        Extended String Representation
        Parameters:
        ctx - context
        Returns:
        extended info
      • getTableName

        public String getTableName​(Properties ctx)
        Get Table Name
        Parameters:
        ctx - context
        Returns:
        table name