You don't need getX() and setX() methods for everything, just for the properties that you wan't exposed publicly or to subclasses. If your are ending up with gets and sets for every property, that is probably an artifact of Visual Age (which I will assume is the useless GUI tool you mentioned, since you also mentioned IBM).
As for naming standards, they are not enforced by the compiler. If you want to name a variable My_Var or _my$var, go right ahead. If you build a JavaBean, though, the property names must correspond to the set and get method names according to a given pattern: foo => setFoo, getFoo. However, you can even get around this restriction if you write a BeanInfo class.
The Democrats and the media are screaming about how all those votes for Buchanan in Palm Beach can't be possible. What you won't hear about this (except on the Neal Boortz show on WSB 750 AM in Atlanta) is that Palm Beach, according to the Florida supervisor of elections, has well over 14,000 members of the Independent Party. And, as a matter of fact, Palm Beach County has the highest Independent registration in Florida. So, it's quite plausible that as many people voted for Buchanan as the count indicates.
Also, here are some things for you to ponder about the Florida ballot:
At least 96% of the people were not confused by the ballot.
The ballot was designed by a Democratic Party official.
The people of Palm Beach County had an opportunity to view the ballot and comment on it before the election. No objections were entered.
The Florida Democratic Party approved the ballot before the vote.
I used one of these type of ballots for the first time in Fulton County, GA, two years ago and didn't have any problem with it. Prior to that, I had only used the fill-in-the-bubble type and an actual voting machine (the kind with levers).
You don't need getX() and setX() methods for everything, just for the properties that you wan't exposed publicly or to subclasses. If your are ending up with gets and sets for every property, that is probably an artifact of Visual Age (which I will assume is the useless GUI tool you mentioned, since you also mentioned IBM).
As for naming standards, they are not enforced by the compiler. If you want to name a variable My_Var or _my$var, go right ahead. If you build a JavaBean, though, the property names must correspond to the set and get method names according to a given pattern: foo => setFoo, getFoo. However, you can even get around this restriction if you write a BeanInfo class.
~ bytethoven
Also, here are some things for you to ponder about the Florida ballot:
- At least 96% of the people were not confused by the ballot.
- The ballot was designed by a Democratic Party official.
- The people of Palm Beach County had an opportunity to view the ballot and comment on it before the election. No objections were entered.
- The Florida Democratic Party approved the ballot before the vote.
I used one of these type of ballots for the first time in Fulton County, GA, two years ago and didn't have any problem with it. Prior to that, I had only used the fill-in-the-bubble type and an actual voting machine (the kind with levers).~ bytethoven