"A wrapper is often explained as modification of an interface to another function with very little added functionality" - in OO terms, this is what's called an Adapter; there are other kinds of wrappers, though. I don't think there's a particular term that would encompass "non-Adapters". Adapters could also restrict available functionality (maybe you don't need all that a generic component provides). Another common type of wrapper is a Decorator - these preserve the interface so that you can transparently add functionality (that is, without affecting client code), and stack them together.
↧