← Back to Fala2Me

setter methods

[ˈsetər ˈmeθədz]
nounpl: setter methods
métodos setter
1. In object-oriented programming, methods used to set or assign values to the private properties or attributes of an object
The setter methods allow you to modify the object's internal state in a controlled way.
Os métodos setter permitem que você modifique o estado interno do objeto de forma controlada.
2. Functions that modify object state while potentially including validation or side effects
Good practice dictates that setter methods should validate input before assigning values.
A boa prática dita que os métodos setter devem validar a entrada antes de atribuir valores.
Synonyms
mutator methodsmutatorsproperty settersattribute setters
Antonyms
getter methodsaccessor methodsgetters

Regional Variations

General Brazilian
métodos setter
Standard technical terminology used in programming education and practice
Portugal
métodos setter
Same terminology; sometimes called 'métodos modificadores' in more formal contexts

Related Idioms & Phrases

encapsulation through setter methods
mutate state via setter methods
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →