setter function

[/ˈsetər ˈfʌŋkʃən/]
nounpl: setter functions
função setadora
1. A method or function in object-oriented programming that is used to assign or modify the value of a private or protected property of an object
The setter function allows you to validate the input before assigning it to the object's property.
A função setadora permite validar a entrada antes de atribuí-la à propriedade do objeto.
2. A special method that encapsulates the modification of an object's attributes, often used in conjunction with getter functions to implement property access control
In Java, you can use the @Setter annotation from Lombok to automatically generate setter functions.
Em Java, você pode usar a anotação @Setter do Lombok para gerar automaticamente funções setadoras.
This is technical jargon primarily used in software development communities. In Brazil, developers often use the English term 'setter function' directly or the Portuguese translation 'função setadora' interchangeably. The concept is fundamental to object-oriented programming education and practice across both Portuguese-speaking and English-speaking countries.
Synonyms / Sinônimos
setter methodmutator functionmutator methodproperty setter
Antonyms / Antônimos
getter functiongetter methodaccessor function

Regional Variations

General Brazilian
função setadora
Standard term used in Brazilian Portuguese technical documentation
São Paulo
função setadora / método setter
Both forms are commonly used in tech industry
Portugal
função estabelecedora / método setter
Portuguese often uses more literal translation or English term directly
USA/International
setter function
English term widely used in international programming communities

Related Words

getter functionencapsulationproperty accessobject-oriented programmingaccessor methodprivate property

Related Idioms & Phrases

setter and getter pattern
property encapsulation
accessor-mutator pattern
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →