I am hoping you may be able to give me some advice on class design and what would be best for the program I’m currently writing. This is being done in Java and the goal is to generate letter data fields for the mainframe to read and run through a program for further action. Imagine there are 50 different letters, 40 of them use the same fields and are considered standard, where 10 of them may have special fields.
The guidelines to pass the file to the mainframe for consumption are the following; basically they are looking for fixed width positions for the letter fields, all fields should be passed per line. If the fields are not being used then they should be padded with either spaces or zeros. So if I’m always supposed to be writing out the same number of fields I have kind of a thinking point or quandry.
The way that I’ve structured my calculations functions and properties, once I have the values I set them to the appropriate property and that’s all that is needed.
-One person on my team suggested I have one class for the common fields and then other classes for specific letters. There are several setup fields that are common no matter what such as the SEND TO address. There was an idea to create a common letter, then create a specific letter and copy properties existing since inheriting does not inherit the values from the parent object.
-The more I think about it I feel it may be easier to have one Letter class. The fields in this would be the common ones in addition to the specific ones. This would be a one-to-one match of what is set in the constructor by default, and then also a match when I write the fields out to a file. This would certainly make the whole design and structure of the program simpler with less classes
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!