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

Indexing -micro cds/isis application, Indexing: The CDS/ISIS package i...

Indexing: The CDS/ISIS package indexes all fields selected for indexing into a single file. This file is known as 'inverted file'. There are indexing techniques for building i

What are the roles of glass-box and black-box testing tools, What are the r...

What are the roles of glass-box and black-box testing tools? Glass Box (or white box) testing is the method of giving i/p to the system and checking how the system processes i/

Find the decrement of failure intensity per failure, Q. Assume that a progr...

Q. Assume that a program will experience 200 failures in infinite time. It has now experienced 100. The initial failure intensity was 20 failures/CPU hr. (i) Determine the cur

Help me please, #include #include #include void ingresarnotas (float...

#include #include #include void ingresarnotas (float A[120][6], int m, int n) { int i, j; for (i=0; i for (j=0; i { printf ("ingrese

What are the characteristics of srs, What are the characteristics of SRS? ...

What are the characteristics of SRS? i. Correct - The SRS should be made up to date when appropriate needs are identified. ii. Unambiguous - When the needs are correctly un

Hardware requirements - inmagic plus software package, Hardware Requirement...

Hardware Requirements: INMAGIC Plus software package requires the following computer configuration:  i)  Micro : IBM PC or compatible with a minimum 640 K RAM.  ii)  Ope

Distinguish among alpha and beta testing, Distinguish between alpha and bet...

Distinguish between alpha and beta testing. Alpha and beta testing are the kinds of acceptance testing. Alpha test: The alpha testing is attesting in which the version of compl

What is open box testing, Open box testing is similar as white box testing....

Open box testing is similar as white box testing. It's a testing approach that consider the application's program structure, and derives test cases from the application's program l

Explain the iterative model, Explain the Iterative Model Every release ...

Explain the Iterative Model Every release of Iterative Model is developed in a specific, fixed time period known as iteration. Each iteration focuses on a certain set of requir

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