Which design pattern should I use when I have a class representing a data structure (aka C-style struct) and I wish to have only a single class to be able to access it.I was thinking of simply declaring the class that represents a data structure as an inner class but wanted to know if there is a better way to design this. eg: class XXManager{getXX();setXXAtrtribute();}class XX{  String name;  String email;  String job;}Here I want to design a class XXManager which will handle the creation and managment of 'XX' objects and no one should be able to access XX other than through the XXManager. 
Which design pattern for a single class accessing an object representing a data structure?
design