| |
| |
About the Authors | |
| |
| |
Foreword | |
| |
| |
Preface | |
| |
| |
Acknowledgments | |
| |
| |
| |
Concepts | |
| |
| |
| |
COBOL and Objects? | |
| |
| |
Focus of This Chapter | |
| |
| |
Why Objects? | |
| |
| |
What Is an Object? | |
| |
| |
Why Object-Oriented COBOL? | |
| |
| |
A Brief History of Objects | |
| |
| |
| |
An Object-Oriented COBOL Model | |
| |
| |
Focus of This Chapter | |
| |
| |
Responsibility-Driven Design | |
| |
| |
The Components of Construction | |
| |
| |
Class Libraries | |
| |
| |
Object Technology--A Consistent Approach | |
| |
| |
| |
Constructs | |
| |
| |
| |
Classes-A Matter of Structure | |
| |
| |
Focus and Format of This Chapter | |
| |
| |
A Quick Look at the Syntax | |
| |
| |
The Class Program | |
| |
| |
The Class Definition | |
| |
| |
The Factory Object | |
| |
| |
The Factory Definition | |
| |
| |
Methods | |
| |
| |
The Method Definition | |
| |
| |
The Class Interface | |
| |
| |
Putting the Pieces Together | |
| |
| |
Classes in Applications | |
| |
| |
| |
Objects | |
| |
| |
Focus and Format of This Chapter | |
| |
| |
The Context of an Object Definition | |
| |
| |
The Object Definition | |
| |
| |
Methods | |
| |
| |
The Method Definition | |
| |
| |
Object Handles | |
| |
| |
Object Notation | |
| |
| |
The Evolution of Programming Languages | |
| |
| |
Responsibility-Driven Design and Objects | |
| |
| |
| |
Inheritance | |
| |
| |
Focus and Format of This Chapter | |
| |
| |
Inheritance | |
| |
| |
Abstract Classes | |
| |
| |
The Inheritance Hierarchy | |
| |
| |
Multiple Inheritance | |
| |
| |
Class Relationship Diagrams | |
| |
| |
| |
Objects in Action | |
| |
| |
| |
Messages | |
| |
| |
Focus and Format of This Chapter | |
| |
| |
Messages | |
| |
| |
The Invoke Statement | |
| |
| |
Specifying Object Behavior | |
| |
| |
Applying Responsibility-Driven Design | |
| |
| |
| |
Creating and Destroying Objects | |
| |
| |
Focus and Format of This Chapter | |
| |
| |
An Object's Life Span | |
| |
| |
Creating Objects | |
| |
| |
Creating Objects with Restrictions | |
| |
| |
Destroying Objects | |
| |
| |
Responsibility-Driven Design and Creating Objects | |
| |
| |
| |
Working with Objects | |
| |
| |
Focus and Format of This Chapter | |
| |
| |
The Scope of Variables | |
| |
| |
Object-Relation Conditions | |
| |
| |
Conformance | |
| |
| |
In-Line Method Invocation | |
| |
| |
Using In-Line Invocation | |
| |
| |
The Property Clause | |
| |
| |
The No-Set Attribute | |
| |
| |
The No-Get Attribute | |
| |
| |
Nested Properties | |
| |
| |
Applying In-Line Invocations and Properties | |
| |
| |
Working with Static Objects | |
| |
| |
| |
Collections | |
| |
| |
Focus and Format of This Chapter | |
| |
| |
Collection Classes--A Hierarchy | |
| |
| |
Creating Bag Instances: of References | |
| |
| |
Creating Character Array Instances | |
| |
| |
Creating Dictionary Instances | |
| |
| |
Collections in Action | |
| |
| |
| |
Putting Objects to Work | |
| |
| |
| |
Object-Oriented Analysis and Design | |
| |
| |
Focus and Format of This Chapter | |
| |
| |
Analysis and Design | |
| |
| |
Rolling Lifecycle Perspective | |
| |
| |
A Worked Example of Object-Oriented Analysis and Design | |
| |
| |
| |
Migrating Legacy Systems | |
| |
| |
Focus and Format of This Chapter | |
| |
| |
Legacy Options | |
| |
| |
| |
Do Nothing Object Oriented | |
| |
| |
| |
GUI Interfaces for Legacy Code | |
| |
| |
| |
Adding Object-Based Functionality to an Application | |
| |
| |
| |
Wrapping Programs | |
| |
| |
Legacy Applications and Distributed Computing | |
| |
| |
Appendixes | |
| |
| |
| |
Object-Oriented COBOL Vendors: Hitachi, IBM, and Micro Focus | |
| |
| |
Hitachi | |
| |
| |
IBM | |
| |
| |
Micro Focus | |
| |
| |
Other Features Not Supported by the Vendors | |
| |
| |
| |
The Library Application | |
| |
| |
Notes on Style | |
| |
| |
The Compiler | |
| |
| |
CRC Cards | |
| |
| |
Diagrams | |
| |
| |
The Library Application Code | |
| |
| |
| |
COBOL Reserved Words | |
| |
| |
| |
New COBOL Reserved Words | |
| |
| |
| |
Intrinsic Functions | |
| |
| |
| |
COBOL 85/89 Features | |
| |
| |
Nested Programs | |
| |
| |
Data Sharing | |
| |
| |
Flow of Control | |
| |
| |
Intrinsic Functions | |
| |
| |
Numeric Functions: Factorial and Sum | |
| |
| |
Date Functions: Current-Date, Day-Of-Integer, Date-Of-Integer, Integer-Of-Date, Integer-Of-Day | |
| |
| |
Miscellaneous | |
| |
| |
| |
The Proposed COBOL 97 Language Syntax | |
| |
| |
| |
Program Instruction Formats | |
| |
| |
Glossary | |
| |
| |
Index | |