When you move representation detail into a set of access functions, you are said to be practicing data abstraction, and you are said to be hiding behind a data abstraction barrier the details of how data are represented.
Good programmers carefully design into their programs appropriate access functions to create data-abstraction barriers.