Analyze the design of a java project

Assignment Help Software Engineering
Reference no: EM131680137

(1) Developing a UML Statechart

- Read the Background and Requirements sections for detailed information about the system.

- Create a UML Statechart diagram to express the behavior of the model. You must use a drawing tool to prepare your diagram, ensuring that it is clear and legible.

(2) Interpreting and Producing OCL Expressions

- You are provided a UML Class model that describes a certain scenario. Using this model, you must create OCL expressions, and also provide English interpretations for some OCL expressions.

Include all of your answers for both parts of the assignment in a single PDF file named statechart_ocl.pdf on T-Square. Your PDF must include your UML Statechart, your OCL Expressions, and any additional assumptions that you are making.

(1) UML Statechart Scenario: You have been asked to analyze and diagram the behavior of a specific model of home dehumidifiers. The company for which you are working has already produced a UML Statechart for an earlier, much more basic model of their dehumidifier. You have been tasked to model the behavior of the newer, proposed system, which is significantly more advanced. The system behavior is described in the System Requirements Section below, and you must provide a corresponding UML Statechart diagram that reflects these requirements.

System Requirements:

We've developed a very basic dehumidifier model already. This model was designed with a fixed, non-adjustable humidity level, a single fan speed, and an automatic shutoff if the water tank is full. The UML Statechart that we've provided you corresponds to this very basic model. The intent of providing the diagram is to help you get an intuitive feel for the basic dehumidifier functionality. You are welcome to use this diagram as a starting point for your own efforts, simply study it to gather useful ideas, or disregard it and start from scratch.

In contrast, you've been tasked to develop a UML Statechart for a more advanced model, which improves on the basic model by adding an adjustable humidity level, multiple fan speeds, and energy saver settings. The dehumidifier has a fan motor (to create airflow through the unit), and a separate compressor motor (to draw moisture from the air). We've attached a copy of the dehumidifier instructions that describe the control panel and the basic features,

Scenario: You have been asked to analyze the design of a Java Project in order to manage an online shopping cart system. Within the preliminary design that has been created, seven Java classes have been designed: User, Customer, Administrator, Shopping Cart, Orders, Order Details and Shipping Info.

- The shippingRegionId is used to represent certain geographic areas that might have various legal restrictions on certain items

- To simplify the problem, you may assume that there are functions that can be used to compare the date attributes (e.g. dateAdded, dateCreated, dateShipped) and determine if one precedes the other; also, dates can be converted to integers to support incrementing values by hours, days, etc.

Given this design, you must write the following constraints in OCL, in each case making the context clear:

1. If the shipping type for and order is "express", then the order must be shipped within 48 hours of the date it is created.

2. If a customer creates an order that includes more than $100 of merchandise, then they should receive free shipping for all of the included items.

3. Drones (represented by product IDs 50 through 99, inclusive) may not be shipped to Area 51 (represented by shipping region 19).

Also, another analyst generated the OCL expressions below. Provide a clear and concise interpretation for each of these expressions in English.

1. context Orders inv:

orders.dateShipped - orders.dateCreated >= 7 days implies orders.shippingCost = 0

2. context OrderDetails inv:

orderDetails.calcPrice >= orderDetails.quantity * orderDetails.unitPrice

Attachment:- Instructions.rar

Verified Expert

In this assignment we have discussed the system design for the given scenario. We have designed state chart diagram for scenario i.e. start of Motor and OCL constraint and class diagram for the given diagram of online shopping cart. So we have created the diagrams of whole program like how the system works and maintain themself .

Reference no: EM131680137

Questions Cloud

What would be your follow up plan for this patient : What would be your follow up plan for this patient? What future health concerns might this patient need to be aware of?
Adequate amounts of protein for growth : To calculate your personal RDA for protein. Most adults consume more than adequate amounts of protein for growth, repair and maintenance of the human body.
What significance level is the consumer using : The print on the packages of 100-watt General Electric soft-white lightbulbs states that these lightbulbs have an average life of 750 hours.
Calculate rda protein requirement : 1. Calculate your RDA protein requirement using the information on pages 226-228in your textbook.
Analyze the design of a java project : Create a UML Statechart diagram - drawing tool to prepare your diagram, ensuring that it is clear and legible - describes a certain scenario
Determine the appropriate null and alternative hypotheses : Thirty percent of all people who are inoculated with the current vaccine used to prevent a disease contract the disease within a year.
Journalize transactions using a perpetual inventory system : Question - Journalize the transactions using a perpetual inventory system. May 19 Paid freight on May 17 purchase $250
What is the amdr for fat in the diet : What is the AMDR for fat in the diet? What was your perception of dietary fat before reading this week's resources?
Prepare a project charter for the wellness intranet project : Prepare a project charter for the Recreation and Wellness Intranet Project using template provided. Prepare business case document using the template provided.

Reviews

inf1680137

1/17/2018 4:42:41 AM

Very good work. Much obliged to you for rolling out the improvements after I ask for update from the expert! Thanks to you for the nature of client administration that you give.

inf1680137

12/19/2017 5:32:36 AM

Java classes do not need to be designed separately. Here is a picture of UML that was provided 25614475_1Screen Shot 2017-10-16 at 25839 AM.png Please provide the question separately, As questions are not clear while looking at the document and please confirm that Are java classes need to be designed in this assignment? Pretty much. I care more about the state chart diagram. That's what i need the help on the most part. If the statechart is done can I get that. OCL isn't as important. Yes. I just need state diagram without OCL constraint. Just ignore the ocl part of the assignment. I needed the state diagram for the advanced dehumidifier which was part of the instructions.rar file. THe uml diagram was for the OCL which is what i dont need.

inf1680137

12/18/2017 5:31:50 AM

if you look at part one of the assignment it refers to advanced dehumidifier which is part of the attachment. I need the statechart for that hat was referring to the second part of the assignment and not the first part. The assignment has 2 parts Thank you. Looking forward to hearing from you soon Here is the advanced dehumidifier attachment just in case 25614442_1Advanced Dehumidifier Instructions.pdf thank you for all your help

inf1680137

12/18/2017 5:31:44 AM

Java classes do not need to be designed separately. Here is a picture of UML that was provided 25614475_1Screen Shot at 25839 AM.png Only state diagram is required without any OCL constraint?? Yes. I just need state diagram without OCL constraint. Just ignore the ocl part of the assignment I needed the state diagram for the advanced dehumidifier which was part of the instructions.rar file THe uml diagram was for the OCL which is what i dont need he asked for clarification for the second part about the java assignment. I shared the UML that was being referred. Then I later went on saying that I didnt need that part of the assignment and only needed the statechart for the dehumidifier. http://www.expertsmind.com/library/analyze-the-design-of-a-java-project-51680137.aspx

inf1680137

12/18/2017 5:15:40 AM

I do not want the class diagram. The class diagram was already mentioned in the assignment provided to me. I wanted the object constraint language for the question given. Also, the statechart diagram should be given separately. The assignment has asked to mention the guard statements.Statechart diagram already I have mentioned all states and for class diagram it's already written to add methods. The assignment does not asks for class diagram. Assignment has given the uml diagram and looking at it, object contraint language has be written and for the ocl that is provided in the assignment, concise english translation has to be done. The assignment states the requirement very clearly. the assignment clearly states that the diagram should contain all sub components and it should use concurrency too.

len1680137

10/14/2017 6:08:35 AM

transitions with events or guards; and, in general, produced a readable diagram. • One way that you can judge the quality of your answer is by (manually) simulating its behavior for common situations – for example, consider what happens when certain events transpire. Make sure to consider “edge cases”, including situations when multiple events occur at nearly the same time. • Don’t “overdesign” your solution: try to keep it as simple as possible, and use a minimum of components, states, etc. Grading Criteria: This portion of the assignment is worth 50 points. The majority of the points will be earned by ensuring that: • Your diagram represents the main system subcomponents – motors, sensors, control panel lights, buttons, etc.; • The functionality described in the Instructions and Clarifying Guidance is also represented; and, • Your UML Statechart correctly models the desired system behavior as closely as possible. Your system will be evaluated on the overall correctness, clarity and concise of your solution.

len1680137

10/14/2017 6:08:29 AM

Please refer to the assignment and provide the solution • Make sure that you’ve identified the basic subcomponents of the dehumidifier, to include the fan motor, the compressor motor, and the various buttons and lights of the control panel. You are also welcome to make reasonable assumptions about the existence of any other sensor, timers, etc. that are needed to implement the required functionality. • You should leverage concurrent and nested state machine concepts (as discussed in the Harel paper and various online websites) to model the different components. • Make sure that you have defined the default states for each concurrent machine; labeled transitions with events or guards; and, in general, produced a readable diagram.

Write a Review

Software Engineering Questions & Answers

  Determine how long data should be retained

Data classification labels determine how long data should be retained and the labels also determine how quickly the data should be recovered when lost.

  Creating a program using the move instruction

Create a program using the move instruction to manufacture the following results. Move the contents of register AX to registers BX, SI, and DS.

  What is a logical data flow diagram

Why do we need to document an Information System?- What is a physical data flow diagram (DFD)?- What is a logical data flow diagram (DFD)?

  Case study building an access control systemas a member of

case study building an access control systemas a member of the information security team at a small college you have

  Draw a good database schema for a club

What normal form is schema G in? Draw a good database schema for a club. (Remember that your design should satisfy stated query requirement!)

  Write a one page essay about three different process models

Write a one page essay about three different process Models: Waterfall, Spiral and Agile. How each model handles changes to requiremenets.

  Use the blue button feature to export their phr

In this assignment, you will interact with My Healthe-Vet after setting up an account to illustrate functionality.

  Develop a system architecture model

A customer can cancel the course by cancel method. Once customer purchase the course then account class maintain the customer no, course no, name of the course and customer.

  Why might system software upgrades not be installed

What are the differences between documentation for end users and system operators?

  Importance of documentation under an sdlc methodology

Describe the importance of documentation under an SDLC methodology. Briefly describe the elements of a business case for a new information systems project under the SDLC methodology

  Demonstrate an understanding of the systems development

using the internet or strayer university databases research health care organizations providers that have recently had

  Q1nbsp discuss the limitations of software testing how do

q1nbsp discuss the limitations of software testing. how do we say that complete testing is impossible?q2 define

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