encapsulation
All > Technology > Programming > Java
- Safeguarding the state of an objects by defining its attributes as
privateand channeling access to them through accessor and mutator methods.
David J. Barnes - Cite This Source - This Definition - The localization of knowledge within a module. Because objects encapsulate data and implementation, the user of an object can view the object as a black box that provides services. Instance variables and methods can be added, deleted, or changed, but as long as the services provided by the object remain the same, code that uses the object can continue to use it without being rewritten. See also instance variable, instance method.
Sun Microsystems - Cite This Source - This Definition - class, classpath, functional programming, global variable, imperative programming, lexicographic ordering, locale, method
- The veil of abstraction separating the "interface" from the "implementation" (whether enforced or not), which mandates that all access to an "object"'s state be through methods alone.
Perl - Cite This Source - This Definition - accessor method, class, class method, destroy, destructor, dispatch, global destruction, Handler, invocant, invocation, method, static method
In open systems, the technique used by layered protocols in which a lower layer protocol accepts a message from a higher layer protocol and places it in the data portion of a frame in the lower layer.

ATIS - Cite This Source - This Definition- Entity, F layer, interface data, layer, layer entity, layer function, layer interface, layer service, layer service primitives, layer user data, layered system, network layer relay, normal mode (presentation layer), packet layer reference event, protocol-control information, protocol hierarchy, unnumbered information (UI) frame
Also listed in: