DOC PREVIEW
UNF COP 2551 - Introduction to Object Orientation

This preview shows page 1-2-3-4-25-26-27-51-52-53-54 out of 54 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Object Oriented Analysis and Design Using the UMLObjectives: Introduction to Object OrientationIntroduction to Object Orientation Topics1. Basic Principles of Object OrientationWhat is Abstraction?What is Encapsulation?What is Modularity?What is Hierarchy?Slide 92. Basic Concepts of Object OrientationA More Formal DefinitionRepresenting ObjectsBasic Concepts of Object OrientationWhat is a Class?Representing ClassesClass CompartmentsThe Relationship Between Classes and ObjectsSlide 18What is an Attribute?Slide 20What is an Operation?Slide 22What is Polymorphism?What is an Interface?Interface RepresentationsSlide 26What is a Component?Slide 28What is a Package?Slide 30What is a Subsystem?Subsystems and ComponentsSlide 33Relationships Relationships: AssociationRelationships: AggregationRelationships: CompositionAssociation: Multiplicity and NavigationAssociation: MultiplicityExample: Multiplicity and Navigation Relationships: Dependency Relationships: GeneralizationExample: Single InheritanceExample: Multiple InheritanceWhat Gets Inherited?Example: What Gets InheritedRelationships: RealizationSlide 494. StereotypesNotesTagged ValuesConstraintsReview: Introduction to Object OrientationReview: Introduction to Object Orientation (cont.)OOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved1Object Oriented Analysis and Design Using the UMLIntroduction to Object OrientationOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved2Objectives: Introduction to Object OrientationUnderstand the basic principles of object orientation Understand the basic concepts and terms of object orientation and the associated UML notationAppreciate the strengths of object orientation Understand some basic UML modeling mechanismsOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved3Introduction to Object Orientation Topics1. Basic Principles of Object Orientation2. Basic Concepts of Object Orientation3. Strengths of Object Orientation4. General UML Modeling MechanismsOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved4Object OrientationEncapsulationAbstractionHierarchyModularity1. Basic Principles of Object OrientationOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved5SalespersonNot saying which salesperson – just a salesperson in general!!!CustomerProductManages ComplexityWhat is Abstraction?OOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved6Improves ResiliencyWhat is Encapsulation?Hide implementation from clientsClients depend on interface – only!Clients do not need to know ‘how’ the server operates or provides the services!How does an object encapsulate?What does it encapsulate?DISCUSS!!!!!OOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved7Order Processing SystemBillingOrderEntryOrderFulfillmentManages ComplexityWhat is Modularity?The breaking up of something complex into manageable piecesOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved8Decreasing abstractionIncreasing abstractionAssetRealEstateSavingsBankAccountCheckingStockSecurityBondElements at the same level of the hierarchy should be at the same level of abstractionWhat is Hierarchy? Levels of abstractionOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved9Introduction to Object Orientation TopicsBasic Principles of Object OrientationBasic Concepts of Object OrientationStrengths of Object OrientationGeneral UML Modeling MechanismsOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved102. Basic Concepts of Object OrientationObjectClassAttributeOperationInterface (Polymorphism)ComponentPackageSubsystemRelationshipsOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved11A More Formal Definition An object is a concept, abstraction, or thing with sharp boundaries and meaning for an application An object is something that has:StateBehaviorIdentityOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved12: ProfessorProfessor Clarka + b = 10ProfessorClark : ProfessorProfessorClarkClass Name OnlyObject Name OnlyClass and Object Name(stay tuned for classes)Representing ObjectsAn object is represented as rectangles with underlined namesOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved13Basic Concepts of Object OrientationObjectClassAttributeOperationInterface (Polymorphism)ComponentPackageSubsystemRelationshipsOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved14OO Principle: AbstractionWhat is a Class?A class is a description of a group of objects with common properties (attributes), behavior (operations), relationships, and semanticsA class is an ‘abstraction’ of objects….An object is an instance of a classA class is an abstraction in that it:Emphasizes relevant characteristicsSuppresses other characteristicsOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved15ProfessorProfessor Clarka + b = 10Representing ClassesA class is represented using a compartmented rectangleOOAD Using the UML - Introduction to Object Orientation, v 4.2Copyright  1998-1999 Rational Software, all rights reserved16ProfessornameempIDcreate( )save( )delete( )change( )Class NameAttributesOperationsClass CompartmentsA class is comprised of three sectionsThe first section contains the class nameThe second section shows the structure (attributes)The third section shows the behavior (operations)OOAD Using the UML - Introduction to Object


View Full Document

UNF COP 2551 - Introduction to Object Orientation

Download Introduction to Object Orientation
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Introduction to Object Orientation and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Introduction to Object Orientation 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?