método getter
1. A programming method that retrieves or returns the value of a private or protected property/attribute of an object
The get method allows you to access the private variable without directly modifying it.
O método getter permite que você acesse a variável privada sem modificá-la diretamente.
2. In object-oriented programming, a function that provides read-only access to an object's data
Use the getName() get method to retrieve the user's name.
Use o método getter getName() para recuperar o nome do usuário.
3. A standard practice in encapsulation to control how private attributes are accessed
The get method is part of the accessor pattern in object-oriented design.
O método getter é parte do padrão acessor no design orientado a objetos.
This is technical jargon specific to software development and object-oriented programming. It is used identically in both Brazilian and American programming communities, though Portuguese translations vary slightly. In Brazil, 'método getter' is the predominant term, while 'método de acesso' is sometimes used as an alternative.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →