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

Explain the regression testing, What is regression testing? Regression...

What is regression testing? Regression testing is the re-execution of some subject texts that have previously been conducted to make sure that changes have not propagated unin

What are the characteristics of the software, What are the characteristics ...

What are the characteristics of the software?  Software is engineered, not manufactured.  Software does not wear out.  Most software is custom built rather than being ass

Explain the boundary value analysis, What is Boundary value Analysis? ...

What is Boundary value Analysis? Boundary value analysis is a method in software testing where tests are designed for showing boundary values. The values will be on the edge of

Extract Caracthers froplat recognition, how to extract the characters from ...

how to extract the characters from the car plate image to the car plate recognition. matlab code

Preventive and protective strategies in Cyber Secur, After users are authe...

After users are authenticated, what measures can be employed in order to maintain security when users are away from their computers? 2. Discuss ways in which the use of strong au

What is error-based testing, Testing where information about programming st...

Testing where information about programming style, error-prone language constructs, and other programming knowledge is functional to select test data capable of detecting faults, e

Explain the quality assurance manager and project manager, How do you diffe...

How do you differentiate the roles of Quality Assurance Manager and Project Manager? Quality Assurance Manager (QA Manager) produces the process to be followed at every phase

What is requirement traceability matrix, Requirement traceability matrix ...

Requirement traceability matrix RTM is a matrix tying up needs with the testcases. It is a way of making sure that each requirement has a corresponding testcase which will be t

Define the drivers and stubs, Write about drivers and stubs. Drivers an...

Write about drivers and stubs. Drivers and stub software has to be developed to test incompatible software. The " driver" is a program that accepts the test data and prints

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