A Class of Integrable and Nonintegrable Mappings and their Dynamics