Intermediate software development, Software Engineering

Assignment Help:

Provide an abstract superclass called EnergyRecord and subclasses called Contract and Transaction with default constructors (no-arg) and full-arg, overloaded constructors. Collect abstract commonality in the superclass to be inherited into the subclasses.

Provide instance fields, instance accessor and mutator methods for all of the data fields in each record data files. If no value is provided in the FERC data, then set that characteristic to some default value.

Provide a toString() method to format all of the record data in each class.

Provide an interface called TransactionRelatable with four methods:

  • boolean isTransactionChargeSmaller(Object other );
  • double findTransactionChargeDifference(Object other);
  • boolean isTransactionQuantityGreater(Object other);
  • double findTransactionQuantityDifference(Object other);

Implement this interface in the EnergyRecord class.

Provide a driver class that includes the following features:

  • creates an instance of each energy record class for each row in the two files
  • collects all contract objects into an array of EnergyRecord called contracts
  • collects all transaction objects into an array of TransactionRelatable called transactions
  • displays all contract data using the toString() method in a loop
  • displays all contract and transaction data in a tabular format using accessor methods
  • displays the comparisons of the transaction_charge  of any two transactions
  • displays the comparisons of the transaction_quantity of any two transactions
  • displays the minimum price of all transactions
  • displays the maximum units of all transactions.

Provide a test script called test_mp1.bat in the test folder to execute the project and send its output to a file called test_mp1_out.txt.

Comment your code and provide a detailed README (pdf only) file that includes:

  • project description
  • installation, compile and run-time requirements
  • development and testing insights with expected results
  • screen captures demonstrating all application capabilities
  • generate project javadocs documentation
  • minimize your main() method code by using intuitive functions

Submit a file called mp1.zip (zip format only) of all project code and documentation to the Digital DropBox link on Blackboard by 09/18/11, 23:59/CST. Note that a completed submission requires the use of both the Add File button and the Send File button. A late mini-project will lose more points the later that it is submitted.


Related Discussions:- Intermediate software development

Define the load address for the first word of the program, Define the Load ...

Define the Load address for the first word of the program is known as Load address origin is called as a Load address for the first word of the program

What is coupling, What is coupling? Coupling is the measure of intercon...

What is coupling? Coupling is the measure of interconnection between modules in a program structure. It depends on the interface complexity among modules.

Explain respiratory quotient, Explain Respiratory quotient? Ans) Respira...

Explain Respiratory quotient? Ans) Respiratory quotient is the ratio among the carbon-dioxide used in photosynthesis to the quantity of oxygen liberated in respiration.

Test questions, Dear Sir/ Madam I have some remaining test questions need ...

Dear Sir/ Madam I have some remaining test questions need to be answered, from yesterday''s test bank can I get a solution please? Regards John

A frame diagram, We discussed the importance of framing a problem in order ...

We discussed the importance of framing a problem in order to understand the problem better and be able to develop a solution more quickly and easily. In this homework, you are aske

Explain about data coupling, Q. Explain about Data coupling? The depend...

Q. Explain about Data coupling? The dependency among module A and B is said to be data coupled if their dependency is based on the fact they communicate by merely passing of da

Write definition of dfd, Write definition of DFD? Data Flow Diagram sup...

Write definition of DFD? Data Flow Diagram supplies the information flow and the transforms that are used on the data as it moves from input to output.

SOFTWARE, EXPLAIN COMPONENTS OF DATABASE MANAGEMENT

EXPLAIN COMPONENTS OF DATABASE MANAGEMENT

Define object in software engineering, Q. Define Object in Software Enginee...

Q. Define Object in Software Engineering? Object:- An object is something which is capable of being seen, touched or sensed. Each object has certain distinctions or attributes

What is the use of architectural design, What is the use of Architectural d...

What is the use of Architectural design? The Architectural design explains the relationship among major structural elements of the software, the "design patterns" that can be u

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd