Preview

Java Oop

Powerful Essays
Open Document
Open Document
2558 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Java Oop
Contents

Introduction 3 System Functionality 3 Object Oriented Approach 3 Objects and Classes 4 Packaging 5 Inheritance 5 Class Inheritance 5 Interface Inheritance (Multiple Inheritances) 6 Encapsulation 6 Polymorphism 7 Design Patterns Implemented 8 The Strategy Pattern 8 Strategy for Success Pattern 11 UML Modeling 12 Use Case Diagram (Admin) 13 Specifications 14 Use Case Diagram (Staff and Admin) 16 Specifications 17 Class Diagram 19 Activity Diagram 20 Future Enhancements 21 Conclusion 21 References 22

Introduction

Java programming language has developed and become increasingly popular in the past few years due to its rich compatibility which allows it to operate on various types of machines and the object oriented approach implemented by the language. The concentration of the following project is based on the use of object oriented programming techniques combined with the implementation of design patterns in order to develop robust applications using the java platform. Secondly the project also focuses on unified modeling language design (UML) elements which form the core of java systems development, the report contains actual UML designs that have been utilized for the development of the following project. These include use case diagrams, class diagrams, activity diagrams and sequence diagrams.
System Functionality

The functionalities of the system included in this project are as followed: * Allow admin to add/delete user (Staff) * Allow admin to add room type * Allow admin to view financial report * Allow admin/staff to add customer * Allow admin/staff to add rooms * Allow admin/staff to make reservations (Check in) * Allow admin/staff to check out and collect payment
Object Oriented Approach

Object oriented programming paradigm gives the freedom to developers to take advantage of variety of tools in order to develop more user friendly and reliable applications.



References: Charles Barton, 2000 “Mapping UML Designs to Java” [Online] Available from: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.94.9170&rep=rep1&type=pdf [Accessed at 12 Jan 2013] David Geary, 2001 “The Strategy Pattern” [Online] Available from: http://www.javaworld.com/javaworld/jw-10-2001/jw-1012-designpatterns.html?page=3 [Accessed at 15 Jan 2013] David Geary, 2002 “Strategy For Success” [Online] Available from: http://www.javaworld.com/javaworld/jw-04-2002/jw-0426- designpatterns.html?page=2 [Accessed at 25 Jan 2013] Greg Lavender, 2003 “Inheritance in Java” [Online] Available from: http://www.cs.utexas.edu/~lavender/courses/tutorial/java-06.pdf [Accessed at 28 Jan 2012] Jedi, 2001 “Polymorphism” [Online] Available from: http://www.javacup.co.in/java/javapolymorphism.pdf [Accessed at 8 Feb 2013] jGuru, 2003 “Object Oriented Programming Basics With Java” [Online] Available from: http://www.cs.usfca.edu/~parrt/doc/java/OOProgWithJava-notes.pdf [Accessed at 9 Feb 2013]

You May Also Find These Documents Helpful

  • Powerful Essays

    Pt1420 Unit 1 Assignment 2

    • 1305 Words
    • 6 Pages

    Hosch, L., Liesandthem, G., Luebring, J.E., Pallardy, R., Young, G. (2014). Java. In Encyclopedia Britannica.…

    • 1305 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    6 8c Chapter Excercises

    • 515 Words
    • 2 Pages

    Polymorphism is the concept that a message gives different meanings to different objects. For example GOOD NIGHT message might produce different results depending if it is received by a child or the family dog. When received by the parent object the message causes the parent object to read a bedtime story. When received by the dog object it causes the dog to go to sleep and when received by the child object it causes the child to get ready for bed.…

    • 515 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Website Migration Project

    • 2957 Words
    • 12 Pages

    References: Brisolara de Brisolara, L., Kreutz, M. E., & Carro, L. (2010). UML as Front-End Language for Embedded Systems Design. In (Ed.), Behavioral Modeling for Embedded Systems and Technologies: Applications for Design and Implementation (pp. 1-23). Hershey, PA: doi:10.4018/978-1-60566-750-8.ch001. Retrieved on June 15, 2013, from http://www.igi-global.com.libdatab.strayer.edu/gateway/chapter/full-text-html/36336…

    • 2957 Words
    • 12 Pages
    Better Essays
  • Satisfactory Essays

    concepts of classes, objects, constructors, methods, access control, this keyword, overloading methods and constructors, parameter…

    • 414 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Prg420 Syllabus

    • 1691 Words
    • 7 Pages

    This course introduces object-oriented programming in the context of business applications development. The basics of the Java programming language are covered.…

    • 1691 Words
    • 7 Pages
    Satisfactory Essays
  • Best Essays

    Globus Report

    • 2855 Words
    • 12 Pages

    References: 1. Fundamentals of Strategy – Gerry Johnson (Ft Prenticehall; 2nd Student Manual/Study Guide edition, November 28, 2011)…

    • 2855 Words
    • 12 Pages
    Best Essays
  • Satisfactory Essays

    week 1 assignment

    • 1379 Words
    • 6 Pages

    Drake, E., & Venit, S. (2011). Prelude to programming: Concepts and design (5th ed.). Boston, MA: AddisonWesley.…

    • 1379 Words
    • 6 Pages
    Satisfactory Essays
  • Powerful Essays

    Corona Beer (Modelo)

    • 1476 Words
    • 6 Pages

    References: Thompson, A., Strickland, A., &Gamble, J. (2010). Crafting and executing strategy (17th ed.). New York: McGraw-Hill-Irvin.…

    • 1476 Words
    • 6 Pages
    Powerful Essays
  • Better Essays

    Mgt 431 Apple Case Analysis

    • 4661 Words
    • 19 Pages

    Thompson, A., Peteraf, M., Gamble, J., & Strickland, A. (2011). Crafting & executing strategy. (18th ed.). New York: McGraw-Hill/Irwin.…

    • 4661 Words
    • 19 Pages
    Better Essays
  • Good Essays

    Object-oriented programming is the predominant paradigm in the software development world. Thus, it is important to understand how object-oriented programming works. One useful exercise may be to compare and contrast object-oriented programming to more traditional structured programming. I will do just that in this essay. We will review some history, give a brief overview of both paradigms, and discuss how they are similar and different.…

    • 826 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Object Oriented Programming

    • 13874 Words
    • 63 Pages

    Apple Inc. All Rights Reserved. 4 Introduction An object-oriented approach to application development makes programs more intuitive to design, faster to develop, more amenable to modification, and easier to understand. Most object-oriented development environments consist of at least three parts: ● A library of objects ● A set of development tools ● An object-oriented…

    • 13874 Words
    • 63 Pages
    Powerful Essays
  • Powerful Essays

    This lecture notes covers unit1. 1. Introduction: M255 module: Object Oriented Programming with Java concerns on teaching the principles of Object Oriented such as objects, classes, inheritance, and polymorphism using Java language. You have two CDs in this module: • Online Application CD which has the StarOffice application, and • M255 CD that has the blueJ, microworld and others. When you install M255 CD be sure that all options are selected, just determine the folders you want to install on and follow instructions during the installation process. 2. Fundamental hardware and software concepts What is a computer? A device that accepts input, processes data, stores data, and produces output. These are the main basic tasks of a computer. Simply, any computer system is composed of computer hardware and software. The hardware components of a computer system are the electronic and mechanical parts. The software components of a computer system are the intangible parts: it is a general term of all the applications, programs, and systems that run on your computer. Software consists of sets of instructions that tell a computer how to perform a particular task. 2.1 Computer Hardware The main hardware devices are classified as: 1. Essential parts of a computer : CPU & main memory 2. Peripheral devices, which is any component of the computer that is not part of essential devices, such as: Input/Output devices, secondary storage (Storage devices). Some peripherals are mounted in the same case as processor such as hard disks, others such as printers are physically outside the computer. An input device gathers and translates input into a form that the computer can process, these are devices such as: keyboard, mouse, scanner, microphone, cardreader, and bar reader.…

    • 5210 Words
    • 21 Pages
    Powerful Essays
  • Good Essays

    “UML is defined using a meta-modeling approach. Meta-model is use to analyse, construct and develop the frames, rules, constraints, models and theories. While, a model is defined through the instantiation of model elements defined in a meta-model, the main purpose of a meta-model is to explain and define the relationships among the different components of the applied model itself using processing language. This meta-modeling approach can be applied in another models or system depending on specifications” (Guardia, Vêncio & de Farias, 2012). The UML is an object oriented language based on sematic underpinning which support notation, it generally, used to model complex systems.…

    • 745 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Class diagram

    • 649 Words
    • 3 Pages

    A class diagram is at the heart of UML. It represents the core purposes of UML because it separates the design elements from the coding of the system. UML was set up as a standardized model to describe an object-oriented programming approach. Since classes are the building block of objects, class diagrams are the building blocks of UML. The diagramming components in a class diagram can represent the classes that will actually be programmed, the main objects, or the interaction between class and object. The UML shape library in Lucidchart can help you create nearly any custom class diagram.…

    • 649 Words
    • 3 Pages
    Good Essays
  • Better Essays

    student

    • 6640 Words
    • 27 Pages

    17. Lange CFJ, Chaudron MRV, Muskens J (2006) In practice: UML software architecture and design description. Software IEEE 23: 40-46…

    • 6640 Words
    • 27 Pages
    Better Essays