Yes, you can set a property name by setName and get it by getName. But what about property like this in C#:
int Name{
get{return name;}
set{name = value;}
}
or
Name{get; set;}
(auto property)
I wonder if such thing exists in Scala. Googling around without any signals.