Self Encapsulate Field
From CSSEMediaWiki
This refactoring is essentially the act of taking direct accesses to a field and changing them to instead be accessed via a getter or setter method.
This leads to the decisions of indirect variable access versus direct variable access, with their various advantages. Fowler prefers to use direct access until it "gets in the way", and changing when things become awkward.
See Also