![]() |
|||||||||||||||||
| |
|
|
|||||||||||||||
|
OO Concepts
Analysis look in the world for objects e.g. object bank cccount properties - tell you about the object - shouldn't change operations - what the object can do - deposit, withdraw, etc Design/Code bank acount object attributes - data methods - functions Both properties and operations are mentods data and implimentation of methods are hidden in objects all data has a getdata() and a setdata() method Objects Java code doesn't include variables but supplies getvar() and setvar() methods (getters and setters ) A lot of the WebObjects classes you use are in a framework so there variables are not directly accessible EOEnterpriseObjects interface is just a set of methods Java class has to implement each method unless inherited Framework uses these methods DON'T FIGHT THE FRAMEWORK - UNDERSTAND IT!
Page updated September 7, 2004
|
||||||||||||||||
|
|
|||||||||||||||||