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 a class diagram with example, Q. Define a Class diagram with example...

Q. Define a Class diagram with example? Class diagram: A class diagram in the UML (Unified Modelling Language) is a type of static structure diagram that describes the struct

What is constant, What is Constant? In software or software testing, a c...

What is Constant? In software or software testing, a constant is a meaningful name that shown a number, or string, that does not alter. Constants are variables that remain the s

Case study – newsagent shop system, A newsagent shop employs several newspa...

A newsagent shop employs several newspaper deliverers to hand-deliver the morning newspapers to customers' houses. The customers all live fairly close to the shop and the delivere

What is scm, What is SCM? Software Configuration Management is a set of...

What is SCM? Software Configuration Management is a set of activities carried out for identifying, organizing and controlling alters throughout the lifecycle of computer softwa

Illustrate key process areas of cmm, Q. Illustrate key process areas of CMM...

Q. Illustrate key process areas of CMM? The key process areas of CMM are 1. Requirements management that establishes a common relationship between the customer and developer

What can be main reasons for a bug not being to reproduce, What can be main...

What can be main reasons for a bug not being to reproduce? What must be done if such a bug is found? A bug can't be reproduced for below reasons: 1. Low memory. 2. Things

What are the advantages and disadvantages of big-bang, What are the advanta...

What are the advantages and disadvantages of big-bang? Advantages: This approach is easy. Disadvantages: It is hard to debug. It is not simple to isolate errors while testin

Compare and contrast reliability and availability, Q. Compare and contrast ...

Q. Compare and contrast reliability and availability? Ans. Reliability: The probability of failure-free system operation over a specified time in a given environment for a gi

The majority charge carriers in p-type semiconductor, The majority charge c...

The majority charge carriers in p-type semiconductor are?? The majority charge carriers are  holes.

Enterprise resource planning system, 1. Please compare and contrast economi...

1. Please compare and contrast economic, market, and relevancy value. 2. Discuss uncertainty as it relates to the overall logistical performance cycle. How can performance cycle

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