SlideShare a Scribd company logo
1 of 31
Broncos/build.xml
Builds, tests, and runs the project Broncos.
Broncos/manifest.mf
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
Broncos/nbproject/build-impl.xml
Must set src.dir
Must set test.src.dir
Must set build.dir
Must set dist.dir
Must set build.classes.dir
Must set dist.javadoc.dir
Must set build.test.classes.dir
Must set build.test.results.dir
Must set build.classes.excludes
Must set dist.jar
Must set javac.includes
No tests executed.
Must set JVM to use for profiling in profiler.info.jvm
Must set profiler agent JVM arguments in
profiler.info.jvmargs.agent
Broncos/nbproject/genfiles.properties
build.xml.data.CRC32=dd03dd72
build.xml.script.CRC32=ab548cbe
[email protected]
# This file is used by a NetBeans-based IDE to track changes in
generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will
never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=dd03dd72
nbproject/build-impl.xml.script.CRC32=24a063c6
nbproject/[email protected]
Broncos/nbproject/project.properties
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processor.options=
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.
dir}/ap-source-output
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned:
build.dir=build
build.generated.dir=${build.dir}/generated
build.generated.sources.dir=${build.dir}/generated-sources
# Only compile against the classpath explicitly listed here:
build.sysclasspath=ignore
build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results
# Uncomment to specify the preferred debugger connection
transport:
#debug.transport=dt_socket
debug.classpath=
${run.classpath}
debug.modulepath=
${run.modulepath}
debug.test.classpath=
${run.test.classpath}
debug.test.modulepath=
${run.test.modulepath}
# Files in build.classes.dir which should be excluded from
distribution jar
dist.archive.excludes=
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/Broncos.jar
dist.javadoc.dir=${dist.dir}/javadoc
excludes=
includes=**
jar.compress=false
javac.classpath=
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.external.vm=true
javac.modulepath=
javac.processormodulepath=
javac.processorpath=
${javac.classpath}
javac.source=1.8
javac.target=1.8
javac.test.classpath=
${javac.classpath}:
${build.classes.dir}:
${libs.junit_4.classpath}:
${libs.hamcrest.classpath}
javac.test.modulepath=
${javac.modulepath}
javac.test.processorpath=
${javac.test.classpath}
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=${source.encoding}
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.private=false
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
main.class=broncos.MonthCollection
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false
platform.active=default_platform
run.classpath=
${javac.classpath}:
${build.classes.dir}
# Space-separated list of JVM arguments used when running the
project.
# You may also define separate properties like run-sys-
prop.name=value instead of -Dname=value.
# To set system properties for unit tests define test-sys-
prop.name=value:
run.jvmargs=
run.modulepath=
${javac.modulepath}
run.test.classpath=
${javac.test.classpath}:
${build.test.classes.dir}
run.test.modulepath=
${javac.test.modulepath}
source.encoding=UTF-8
src.dir=src
test.src.dir=test
Broncos/nbproject/project.xml
org.netbeans.modules.java.j2seproject
Broncos
Broncos/src/broncos/Month.javaBroncos/src/broncos/Month.jav
apackage broncos;
publicclassMonth<T>{
private T month;
publicvoid add(T month){
this.month = month;
}
public T get(){
return month;
}
}
Broncos/src/broncos/MonthCollection.javaBroncos/src/broncos/
MonthCollection.javapackage broncos;
import java.util.ArrayList;
publicclassMonthCollection{
publicstaticvoid main(String[] args){
// add 12 months in integer format and 12 months in string form
at
ArrayList<Month> intMonths =newArrayList<>();
ArrayList<Month> stringMonths =newArrayList<>();
String[] calendarMonths =newString[]{"January","February","M
arch",
"April","May","June","July","August","September","October",
"November","December"};
Month intMonth, stringMonth;
for(int i =1; i <=12; i++){
//add integer months to collection
intMonth =newMonth();
intMonth.add(i);
intMonths.add(intMonth);
//add string months to collection
stringMonth =newMonth();
stringMonth.add(calendarMonths[i -1]);
stringMonths.add(stringMonth);
}
//print out string months
printMonths(stringMonths);
//print our all integer months
printMonths(intMonths);
}
privatestaticvoid printMonths(ArrayList<Month> months){
for(Month month: months){
System.out.println("Month = "+ month.get()
+" type= "+ month.get().getClass());
}
System.out.println();
}
}
Broncos/test/broncos/MonthTest.javaBroncos/test/broncos/Mont
hTest.java/*
* To change this license header, choose License Headers in Pro
ject Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package broncos;
import org.junit.Test;
importstatic org.junit.Assert.*;
/**
*
* @author fumba
*/
publicclassMonthTest{
/**
* Test of add method, make sure that Integer months are sav
ed as Integers
*/
@Test
publicvoid testAddInteger(){
Month instance =newMonth();
instance.add(1);
assertEquals(Integer.class, instance.get().getClass());
}
/**
* Test of add method, make sure that String months are save
d as Strings
*/
@Test
publicvoid testAddString(){
Month instance =newMonth();
instance.add("January");
assertEquals(String.class, instance.get().getClass());
}
/**
* Test of get method, of class Month.
*/
@Test
publicvoid testGetString(){
Month instance =newMonth();
instance.add("january");
assertEquals(instance.get(),"january");
}
/**
* Test of get method, of class Month.
*/
@Test
publicvoid testGetInteger(){
Month instance =newMonth();
instance.add(1);
assertEquals(instance.get(),1);
}
}
PURPOSE OF ASSIGNMENT
The University has a need to develop an Object-Oriented
Parking System. Each assignment will build towards creating
the parking system.
1. The University has several parking lots and the parking fees
are different for each parking lot.
1. Customers must have registered with the University parking
office in order to use any parking lot. Customers can use any
parking lot. Each parking transaction will incur a charge to their
account.
1. Customers can have more than one car, and so they may
request more than one parking permit for each car.
1. The University provides a 20% discount to compact cars
compare to SUV cars.
1. For simplicity, assume that the Parking Office sends a
monthly bill to customer and customer pays it outside of the
parking system.
1. Each week you will need to submit an updated Class Diagram
along with the other deliverables for the assignment.
The goal of this assignment is to create ParkingOffice and
ParkingLot classes that demonstrate the use of Java Generics
and Collections. You will also need to lookup the Java Enum
type and use it to describe the type of the car.
ASSIGNMENT INSTRUCTIONS
Develop Java code for the ParkingOffice, ParkingLot and
Money classes, and the CarType enum, shown in the diagram
below. The data attributes and methods are provided as a guide,
please feel free to add more as you feel necessary. Explain your
choices in the write-up. Note that the ParkingLot and Money
classes should be immutable; once created with values they
cannot be modified.
Class: Money
1. Data Attributes
0. amount : long
0. currency : String
Enum: CarType
1. Values
0. COMPACT
0. SUV
Class: ParkingLot
1. Data Attributes
0. id : String
0. name : String
0. address : Address
1. Behaviors
1. getDailyRate(CarType) : Money
Class: ParkingOffice
1. Data Attributes
0. parkingOfficeName : String
0. listOfCustomers : List<Customer>
0. listOfParkingLots : List<ParkingLot>
0. parkingOfficeAddress : Address
1. Behaviors
1. getParkingOfficeName() : String
1. register(Customer) : void
Create a 500-word write-up that explains your assignment. You
may address some of the below questions.
1. What did you find difficult or easy?
1. What helped you?
1. What you wish you knew before?
1. Outline any implementation decisions and the reasoning
behind those.
1. Include screenshots of the successful code compilation and
test execution.
Submit a zip file that includes Class diagrams, write-up, Source
java files, and Unit Test java files. In your write-up include
screen shots of successful unit tests.
FORMATTING AND STYLE REQUIREMENTS
1. Write-ups should be between 400 and 500 words.
1. Where applicable, refer to the UCOL Format and Style
Requirements (Links to an external site.) on the Course
Homepage, and be sure to properly cite your sources
using Turabian Author-Date style citations (Links to an external
site.).
1.
1.
1.
1.
1.
1. Rubric
Programming Rubric
Programming Rubric
Criteria
Ratings
Pts
This criterion is linked to a Learning OutcomeCode
Functionality and Efficiency
The class(es) created meet the design specification and
therefore accomplishes the task at hand. It/they are written with
proper OOP techniques applied. The class(es) are set up with
proper interfaces so they can collaborate with other classes and
execute the necessary tasks. The code compiles without errors.
60.0 pts
This criterion is linked to a Learning OutcomeCode Testing
The test code is written to test the class(es) and is designed and
implemented properly.
20.0 pts
This criterion is linked to a Learning OutcomeCode Quality
The code contains only the necessary variables. Variable names
are meaningful. The code is well-formatted, easy to read and
appropriately commented. The code includes proper error and
exception handling.
10.0 pts
This criterion is linked to a Learning OutcomeWrite-Up
The write-up summarizes lessons learned and any difficulty the
student may have encountered. It also outlines any
implementation decision and reasoning behind those.
Screenshots of the successful code compilation and test
execution are included.
10.0 pts
Total Points: 100.0

More Related Content

Similar to Broncosbuild.xmlBuilds, tests, and runs the project Broncos..docx

Debug and Fix If Statements In this assessment, you will d.docx
Debug and Fix If Statements In this assessment, you will d.docxDebug and Fix If Statements In this assessment, you will d.docx
Debug and Fix If Statements In this assessment, you will d.docx
edwardmarivel
 

Similar to Broncosbuild.xmlBuilds, tests, and runs the project Broncos..docx (20)

Angularjs2 presentation
Angularjs2 presentationAngularjs2 presentation
Angularjs2 presentation
 
Cis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comCis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.com
 
Cis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comCis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.com
 
Cis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comCis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.com
 
CIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.comCIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.com
 
Java interview questions and answers
Java interview questions and answersJava interview questions and answers
Java interview questions and answers
 
CIS 406 Inspiring Innovation/tutorialrank.com
 CIS 406 Inspiring Innovation/tutorialrank.com CIS 406 Inspiring Innovation/tutorialrank.com
CIS 406 Inspiring Innovation/tutorialrank.com
 
CIS 406 Entire Course NEW
CIS 406 Entire Course NEWCIS 406 Entire Course NEW
CIS 406 Entire Course NEW
 
CIS 406 Imagine Your Future/newtonhelp.com   
CIS 406 Imagine Your Future/newtonhelp.com   CIS 406 Imagine Your Future/newtonhelp.com   
CIS 406 Imagine Your Future/newtonhelp.com   
 
CIS 406 Focus Dreams/newtonhelp.com
CIS 406 Focus Dreams/newtonhelp.comCIS 406 Focus Dreams/newtonhelp.com
CIS 406 Focus Dreams/newtonhelp.com
 
CIS 406 Life of the Mind/newtonhelp.com   
CIS 406 Life of the Mind/newtonhelp.com   CIS 406 Life of the Mind/newtonhelp.com   
CIS 406 Life of the Mind/newtonhelp.com   
 
Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com  Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com
 
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex ScenariosUnit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
 
PRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comPRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.com
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to Java
 
Debug and Fix If Statements In this assessment, you will d.docx
Debug and Fix If Statements In this assessment, you will d.docxDebug and Fix If Statements In this assessment, you will d.docx
Debug and Fix If Statements In this assessment, you will d.docx
 
Spring boot
Spring bootSpring boot
Spring boot
 
Angularj2.0
Angularj2.0Angularj2.0
Angularj2.0
 
PRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.comPRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.com
 
Spring Framework
Spring FrameworkSpring Framework
Spring Framework
 

More from curwenmichaela

BUS310ASSIGNMENTImagine that you work for a company with an ag.docx
BUS310ASSIGNMENTImagine that you work for a company with an ag.docxBUS310ASSIGNMENTImagine that you work for a company with an ag.docx
BUS310ASSIGNMENTImagine that you work for a company with an ag.docx
curwenmichaela
 
BUS357 Copyright © 2020 Singapore University of Social Science.docx
BUS357 Copyright © 2020 Singapore University of Social Science.docxBUS357 Copyright © 2020 Singapore University of Social Science.docx
BUS357 Copyright © 2020 Singapore University of Social Science.docx
curwenmichaela
 
BUS308 – Week 1 Lecture 2 Describing Data Expected Out.docx
BUS308 – Week 1 Lecture 2 Describing Data Expected Out.docxBUS308 – Week 1 Lecture 2 Describing Data Expected Out.docx
BUS308 – Week 1 Lecture 2 Describing Data Expected Out.docx
curwenmichaela
 
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docxBUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
curwenmichaela
 
BUS308 – Week 1 Lecture 1 Statistics Expected Outcomes.docx
BUS308 – Week 1 Lecture 1 Statistics Expected Outcomes.docxBUS308 – Week 1 Lecture 1 Statistics Expected Outcomes.docx
BUS308 – Week 1 Lecture 1 Statistics Expected Outcomes.docx
curwenmichaela
 
BUS308 Statistics for ManagersDiscussions To participate in .docx
BUS308 Statistics for ManagersDiscussions To participate in .docxBUS308 Statistics for ManagersDiscussions To participate in .docx
BUS308 Statistics for ManagersDiscussions To participate in .docx
curwenmichaela
 
BUS308 Week 4 Lecture 1 Examining Relationships Expect.docx
BUS308 Week 4 Lecture 1 Examining Relationships Expect.docxBUS308 Week 4 Lecture 1 Examining Relationships Expect.docx
BUS308 Week 4 Lecture 1 Examining Relationships Expect.docx
curwenmichaela
 
BUS225 Group Assignment1. Service BlueprintCustomer acti.docx
BUS225 Group Assignment1. Service BlueprintCustomer acti.docxBUS225 Group Assignment1. Service BlueprintCustomer acti.docx
BUS225 Group Assignment1. Service BlueprintCustomer acti.docx
curwenmichaela
 
BUS301 Memo Rubric Spring 2020 - Student.docxBUS301 Writing Ru.docx
BUS301 Memo Rubric Spring 2020 - Student.docxBUS301 Writing Ru.docxBUS301 Memo Rubric Spring 2020 - Student.docxBUS301 Writing Ru.docx
BUS301 Memo Rubric Spring 2020 - Student.docxBUS301 Writing Ru.docx
curwenmichaela
 
BUS1431Introduction and PreferencesBUS143 Judgmen.docx
BUS1431Introduction and PreferencesBUS143 Judgmen.docxBUS1431Introduction and PreferencesBUS143 Judgmen.docx
BUS1431Introduction and PreferencesBUS143 Judgmen.docx
curwenmichaela
 
BUS210 analysis – open question codesQ7a01 Monthly OK02 Not .docx
BUS210 analysis – open question codesQ7a01 Monthly OK02 Not .docxBUS210 analysis – open question codesQ7a01 Monthly OK02 Not .docx
BUS210 analysis – open question codesQ7a01 Monthly OK02 Not .docx
curwenmichaela
 
Bus101 quiz (Business Organizations)The due time is in 1hrs1 .docx
Bus101 quiz (Business Organizations)The due time is in 1hrs1 .docxBus101 quiz (Business Organizations)The due time is in 1hrs1 .docx
Bus101 quiz (Business Organizations)The due time is in 1hrs1 .docx
curwenmichaela
 
BUS 625 Week 4 Response to Discussion 2Guided Response Your.docx
BUS 625 Week 4 Response to Discussion 2Guided Response Your.docxBUS 625 Week 4 Response to Discussion 2Guided Response Your.docx
BUS 625 Week 4 Response to Discussion 2Guided Response Your.docx
curwenmichaela
 
BUS 625 Week 2 Response for Discussion 1 & 2Week 2 Discussion 1 .docx
BUS 625 Week 2 Response for Discussion 1 & 2Week 2 Discussion 1 .docxBUS 625 Week 2 Response for Discussion 1 & 2Week 2 Discussion 1 .docx
BUS 625 Week 2 Response for Discussion 1 & 2Week 2 Discussion 1 .docx
curwenmichaela
 
Bus 626 Week 6 - Discussion Forum 1Guided Response Respon.docx
Bus 626 Week 6 - Discussion Forum 1Guided Response Respon.docxBus 626 Week 6 - Discussion Forum 1Guided Response Respon.docx
Bus 626 Week 6 - Discussion Forum 1Guided Response Respon.docx
curwenmichaela
 
BUS 499, Week 8 Corporate Governance Slide #TopicNarration.docx
BUS 499, Week 8 Corporate Governance Slide #TopicNarration.docxBUS 499, Week 8 Corporate Governance Slide #TopicNarration.docx
BUS 499, Week 8 Corporate Governance Slide #TopicNarration.docx
curwenmichaela
 
BUS 499, Week 6 Acquisition and Restructuring StrategiesSlide #.docx
BUS 499, Week 6 Acquisition and Restructuring StrategiesSlide #.docxBUS 499, Week 6 Acquisition and Restructuring StrategiesSlide #.docx
BUS 499, Week 6 Acquisition and Restructuring StrategiesSlide #.docx
curwenmichaela
 
BUS 499, Week 4 Business-Level Strategy, Competitive Rivalry, and.docx
BUS 499, Week 4 Business-Level Strategy, Competitive Rivalry, and.docxBUS 499, Week 4 Business-Level Strategy, Competitive Rivalry, and.docx
BUS 499, Week 4 Business-Level Strategy, Competitive Rivalry, and.docx
curwenmichaela
 
BUS 437 Project Procurement Management Discussion QuestionsWe.docx
BUS 437 Project Procurement Management  Discussion QuestionsWe.docxBUS 437 Project Procurement Management  Discussion QuestionsWe.docx
BUS 437 Project Procurement Management Discussion QuestionsWe.docx
curwenmichaela
 
BUS 480.01HY Case Study Assignment Instructions .docx
BUS 480.01HY Case Study Assignment Instructions     .docxBUS 480.01HY Case Study Assignment Instructions     .docx
BUS 480.01HY Case Study Assignment Instructions .docx
curwenmichaela
 

More from curwenmichaela (20)

BUS310ASSIGNMENTImagine that you work for a company with an ag.docx
BUS310ASSIGNMENTImagine that you work for a company with an ag.docxBUS310ASSIGNMENTImagine that you work for a company with an ag.docx
BUS310ASSIGNMENTImagine that you work for a company with an ag.docx
 
BUS357 Copyright © 2020 Singapore University of Social Science.docx
BUS357 Copyright © 2020 Singapore University of Social Science.docxBUS357 Copyright © 2020 Singapore University of Social Science.docx
BUS357 Copyright © 2020 Singapore University of Social Science.docx
 
BUS308 – Week 1 Lecture 2 Describing Data Expected Out.docx
BUS308 – Week 1 Lecture 2 Describing Data Expected Out.docxBUS308 – Week 1 Lecture 2 Describing Data Expected Out.docx
BUS308 – Week 1 Lecture 2 Describing Data Expected Out.docx
 
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docxBUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
 
BUS308 – Week 1 Lecture 1 Statistics Expected Outcomes.docx
BUS308 – Week 1 Lecture 1 Statistics Expected Outcomes.docxBUS308 – Week 1 Lecture 1 Statistics Expected Outcomes.docx
BUS308 – Week 1 Lecture 1 Statistics Expected Outcomes.docx
 
BUS308 Statistics for ManagersDiscussions To participate in .docx
BUS308 Statistics for ManagersDiscussions To participate in .docxBUS308 Statistics for ManagersDiscussions To participate in .docx
BUS308 Statistics for ManagersDiscussions To participate in .docx
 
BUS308 Week 4 Lecture 1 Examining Relationships Expect.docx
BUS308 Week 4 Lecture 1 Examining Relationships Expect.docxBUS308 Week 4 Lecture 1 Examining Relationships Expect.docx
BUS308 Week 4 Lecture 1 Examining Relationships Expect.docx
 
BUS225 Group Assignment1. Service BlueprintCustomer acti.docx
BUS225 Group Assignment1. Service BlueprintCustomer acti.docxBUS225 Group Assignment1. Service BlueprintCustomer acti.docx
BUS225 Group Assignment1. Service BlueprintCustomer acti.docx
 
BUS301 Memo Rubric Spring 2020 - Student.docxBUS301 Writing Ru.docx
BUS301 Memo Rubric Spring 2020 - Student.docxBUS301 Writing Ru.docxBUS301 Memo Rubric Spring 2020 - Student.docxBUS301 Writing Ru.docx
BUS301 Memo Rubric Spring 2020 - Student.docxBUS301 Writing Ru.docx
 
BUS1431Introduction and PreferencesBUS143 Judgmen.docx
BUS1431Introduction and PreferencesBUS143 Judgmen.docxBUS1431Introduction and PreferencesBUS143 Judgmen.docx
BUS1431Introduction and PreferencesBUS143 Judgmen.docx
 
BUS210 analysis – open question codesQ7a01 Monthly OK02 Not .docx
BUS210 analysis – open question codesQ7a01 Monthly OK02 Not .docxBUS210 analysis – open question codesQ7a01 Monthly OK02 Not .docx
BUS210 analysis – open question codesQ7a01 Monthly OK02 Not .docx
 
Bus101 quiz (Business Organizations)The due time is in 1hrs1 .docx
Bus101 quiz (Business Organizations)The due time is in 1hrs1 .docxBus101 quiz (Business Organizations)The due time is in 1hrs1 .docx
Bus101 quiz (Business Organizations)The due time is in 1hrs1 .docx
 
BUS 625 Week 4 Response to Discussion 2Guided Response Your.docx
BUS 625 Week 4 Response to Discussion 2Guided Response Your.docxBUS 625 Week 4 Response to Discussion 2Guided Response Your.docx
BUS 625 Week 4 Response to Discussion 2Guided Response Your.docx
 
BUS 625 Week 2 Response for Discussion 1 & 2Week 2 Discussion 1 .docx
BUS 625 Week 2 Response for Discussion 1 & 2Week 2 Discussion 1 .docxBUS 625 Week 2 Response for Discussion 1 & 2Week 2 Discussion 1 .docx
BUS 625 Week 2 Response for Discussion 1 & 2Week 2 Discussion 1 .docx
 
Bus 626 Week 6 - Discussion Forum 1Guided Response Respon.docx
Bus 626 Week 6 - Discussion Forum 1Guided Response Respon.docxBus 626 Week 6 - Discussion Forum 1Guided Response Respon.docx
Bus 626 Week 6 - Discussion Forum 1Guided Response Respon.docx
 
BUS 499, Week 8 Corporate Governance Slide #TopicNarration.docx
BUS 499, Week 8 Corporate Governance Slide #TopicNarration.docxBUS 499, Week 8 Corporate Governance Slide #TopicNarration.docx
BUS 499, Week 8 Corporate Governance Slide #TopicNarration.docx
 
BUS 499, Week 6 Acquisition and Restructuring StrategiesSlide #.docx
BUS 499, Week 6 Acquisition and Restructuring StrategiesSlide #.docxBUS 499, Week 6 Acquisition and Restructuring StrategiesSlide #.docx
BUS 499, Week 6 Acquisition and Restructuring StrategiesSlide #.docx
 
BUS 499, Week 4 Business-Level Strategy, Competitive Rivalry, and.docx
BUS 499, Week 4 Business-Level Strategy, Competitive Rivalry, and.docxBUS 499, Week 4 Business-Level Strategy, Competitive Rivalry, and.docx
BUS 499, Week 4 Business-Level Strategy, Competitive Rivalry, and.docx
 
BUS 437 Project Procurement Management Discussion QuestionsWe.docx
BUS 437 Project Procurement Management  Discussion QuestionsWe.docxBUS 437 Project Procurement Management  Discussion QuestionsWe.docx
BUS 437 Project Procurement Management Discussion QuestionsWe.docx
 
BUS 480.01HY Case Study Assignment Instructions .docx
BUS 480.01HY Case Study Assignment Instructions     .docxBUS 480.01HY Case Study Assignment Instructions     .docx
BUS 480.01HY Case Study Assignment Instructions .docx
 

Recently uploaded

Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 

Broncosbuild.xmlBuilds, tests, and runs the project Broncos..docx

  • 1. Broncos/build.xml Builds, tests, and runs the project Broncos. Broncos/manifest.mf Manifest-Version: 1.0 X-COMMENT: Main-Class will be added automatically by build Broncos/nbproject/build-impl.xml Must set src.dir Must set test.src.dir Must set build.dir Must set dist.dir Must set build.classes.dir Must set dist.javadoc.dir Must set build.test.classes.dir Must set build.test.results.dir Must set build.classes.excludes Must set dist.jar
  • 2.
  • 3.
  • 4.
  • 5.
  • 7.
  • 8.
  • 9.
  • 10.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. Must set JVM to use for profiling in profiler.info.jvm Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. Broncos/nbproject/genfiles.properties build.xml.data.CRC32=dd03dd72 build.xml.script.CRC32=ab548cbe [email protected] # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=dd03dd72 nbproject/build-impl.xml.script.CRC32=24a063c6 nbproject/[email protected] Broncos/nbproject/project.properties annotation.processing.enabled=true annotation.processing.enabled.in.editor=false annotation.processing.processor.options= annotation.processing.processors.list= annotation.processing.run.all.processors=true annotation.processing.source.output=${build.generated.sources. dir}/ap-source-output build.classes.dir=${build.dir}/classes build.classes.excludes=**/*.java,**/*.form # This directory is removed when the project is cleaned: build.dir=build build.generated.dir=${build.dir}/generated build.generated.sources.dir=${build.dir}/generated-sources # Only compile against the classpath explicitly listed here: build.sysclasspath=ignore build.test.classes.dir=${build.dir}/test/classes build.test.results.dir=${build.dir}/test/results # Uncomment to specify the preferred debugger connection transport:
  • 22. #debug.transport=dt_socket debug.classpath= ${run.classpath} debug.modulepath= ${run.modulepath} debug.test.classpath= ${run.test.classpath} debug.test.modulepath= ${run.test.modulepath} # Files in build.classes.dir which should be excluded from distribution jar dist.archive.excludes= # This directory is removed when the project is cleaned: dist.dir=dist dist.jar=${dist.dir}/Broncos.jar dist.javadoc.dir=${dist.dir}/javadoc excludes= includes=** jar.compress=false javac.classpath= # Space-separated list of extra javac options javac.compilerargs= javac.deprecation=false javac.external.vm=true javac.modulepath= javac.processormodulepath= javac.processorpath= ${javac.classpath} javac.source=1.8 javac.target=1.8 javac.test.classpath= ${javac.classpath}: ${build.classes.dir}: ${libs.junit_4.classpath}: ${libs.hamcrest.classpath} javac.test.modulepath=
  • 23. ${javac.modulepath} javac.test.processorpath= ${javac.test.classpath} javadoc.additionalparam= javadoc.author=false javadoc.encoding=${source.encoding} javadoc.noindex=false javadoc.nonavbar=false javadoc.notree=false javadoc.private=false javadoc.splitindex=true javadoc.use=true javadoc.version=false javadoc.windowtitle= main.class=broncos.MonthCollection manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF mkdist.disabled=false platform.active=default_platform run.classpath= ${javac.classpath}: ${build.classes.dir} # Space-separated list of JVM arguments used when running the project. # You may also define separate properties like run-sys- prop.name=value instead of -Dname=value. # To set system properties for unit tests define test-sys- prop.name=value: run.jvmargs= run.modulepath= ${javac.modulepath} run.test.classpath= ${javac.test.classpath}: ${build.test.classes.dir} run.test.modulepath= ${javac.test.modulepath}
  • 25. Broncos/src/broncos/MonthCollection.javaBroncos/src/broncos/ MonthCollection.javapackage broncos; import java.util.ArrayList; publicclassMonthCollection{ publicstaticvoid main(String[] args){ // add 12 months in integer format and 12 months in string form at ArrayList<Month> intMonths =newArrayList<>(); ArrayList<Month> stringMonths =newArrayList<>(); String[] calendarMonths =newString[]{"January","February","M arch", "April","May","June","July","August","September","October", "November","December"}; Month intMonth, stringMonth; for(int i =1; i <=12; i++){ //add integer months to collection intMonth =newMonth(); intMonth.add(i); intMonths.add(intMonth); //add string months to collection stringMonth =newMonth(); stringMonth.add(calendarMonths[i -1]); stringMonths.add(stringMonth); } //print out string months printMonths(stringMonths); //print our all integer months printMonths(intMonths);
  • 26. } privatestaticvoid printMonths(ArrayList<Month> months){ for(Month month: months){ System.out.println("Month = "+ month.get() +" type= "+ month.get().getClass()); } System.out.println(); } } Broncos/test/broncos/MonthTest.javaBroncos/test/broncos/Mont hTest.java/* * To change this license header, choose License Headers in Pro ject Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package broncos; import org.junit.Test; importstatic org.junit.Assert.*; /** * * @author fumba */ publicclassMonthTest{ /** * Test of add method, make sure that Integer months are sav ed as Integers */ @Test
  • 27. publicvoid testAddInteger(){ Month instance =newMonth(); instance.add(1); assertEquals(Integer.class, instance.get().getClass()); } /** * Test of add method, make sure that String months are save d as Strings */ @Test publicvoid testAddString(){ Month instance =newMonth(); instance.add("January"); assertEquals(String.class, instance.get().getClass()); } /** * Test of get method, of class Month. */ @Test publicvoid testGetString(){ Month instance =newMonth(); instance.add("january"); assertEquals(instance.get(),"january"); } /** * Test of get method, of class Month. */ @Test publicvoid testGetInteger(){ Month instance =newMonth(); instance.add(1); assertEquals(instance.get(),1);
  • 28. } } PURPOSE OF ASSIGNMENT The University has a need to develop an Object-Oriented Parking System. Each assignment will build towards creating the parking system. 1. The University has several parking lots and the parking fees are different for each parking lot. 1. Customers must have registered with the University parking office in order to use any parking lot. Customers can use any parking lot. Each parking transaction will incur a charge to their account. 1. Customers can have more than one car, and so they may request more than one parking permit for each car. 1. The University provides a 20% discount to compact cars compare to SUV cars. 1. For simplicity, assume that the Parking Office sends a monthly bill to customer and customer pays it outside of the parking system. 1. Each week you will need to submit an updated Class Diagram along with the other deliverables for the assignment. The goal of this assignment is to create ParkingOffice and ParkingLot classes that demonstrate the use of Java Generics and Collections. You will also need to lookup the Java Enum type and use it to describe the type of the car. ASSIGNMENT INSTRUCTIONS Develop Java code for the ParkingOffice, ParkingLot and Money classes, and the CarType enum, shown in the diagram below. The data attributes and methods are provided as a guide, please feel free to add more as you feel necessary. Explain your choices in the write-up. Note that the ParkingLot and Money
  • 29. classes should be immutable; once created with values they cannot be modified. Class: Money 1. Data Attributes 0. amount : long 0. currency : String Enum: CarType 1. Values 0. COMPACT 0. SUV Class: ParkingLot 1. Data Attributes 0. id : String 0. name : String 0. address : Address 1. Behaviors 1. getDailyRate(CarType) : Money Class: ParkingOffice 1. Data Attributes 0. parkingOfficeName : String 0. listOfCustomers : List<Customer> 0. listOfParkingLots : List<ParkingLot> 0. parkingOfficeAddress : Address 1. Behaviors 1. getParkingOfficeName() : String 1. register(Customer) : void Create a 500-word write-up that explains your assignment. You may address some of the below questions. 1. What did you find difficult or easy? 1. What helped you? 1. What you wish you knew before? 1. Outline any implementation decisions and the reasoning behind those. 1. Include screenshots of the successful code compilation and test execution. Submit a zip file that includes Class diagrams, write-up, Source
  • 30. java files, and Unit Test java files. In your write-up include screen shots of successful unit tests. FORMATTING AND STYLE REQUIREMENTS 1. Write-ups should be between 400 and 500 words. 1. Where applicable, refer to the UCOL Format and Style Requirements (Links to an external site.) on the Course Homepage, and be sure to properly cite your sources using Turabian Author-Date style citations (Links to an external site.). 1. 1. 1. 1. 1. 1. Rubric Programming Rubric Programming Rubric Criteria Ratings Pts This criterion is linked to a Learning OutcomeCode Functionality and Efficiency The class(es) created meet the design specification and therefore accomplishes the task at hand. It/they are written with proper OOP techniques applied. The class(es) are set up with proper interfaces so they can collaborate with other classes and execute the necessary tasks. The code compiles without errors. 60.0 pts This criterion is linked to a Learning OutcomeCode Testing The test code is written to test the class(es) and is designed and implemented properly. 20.0 pts This criterion is linked to a Learning OutcomeCode Quality
  • 31. The code contains only the necessary variables. Variable names are meaningful. The code is well-formatted, easy to read and appropriately commented. The code includes proper error and exception handling. 10.0 pts This criterion is linked to a Learning OutcomeWrite-Up The write-up summarizes lessons learned and any difficulty the student may have encountered. It also outlines any implementation decision and reasoning behind those. Screenshots of the successful code compilation and test execution are included. 10.0 pts Total Points: 100.0