how did java get the "idea" of getter and setter functions?
I was doing that in Ada way before Java was invented.
I was doing that in C++ after Ada, but again - before Java.
I'm pretty sure Java didn't invent the "getter"/"setter" concept. It sort of borrowed it.
And given that PLSQL predates java... And I was doing this in version 7.3 of Oracle (released the same year java was....). That was the release of the database that allowed you to call PLSQL from SQL (if I recall correctly - it may have been earlier....) and had lots of people doing the getter stuff ;)
and if you are going to do that (call plsql from sql), please read:
http://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51asktom-453438.html