Using Caché Objects - InterSystems Documentation
Using Caché Objects - InterSystems Documentation
Using Caché Objects - InterSystems Documentation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Table of Contents<br />
1 Introduction to <strong>Caché</strong> <strong>Objects</strong> ....................................................................................... 1<br />
1.1 <strong>Caché</strong> <strong>Objects</strong> Architecture ...................................................................................... 2<br />
1.2 Class Definitions and the Class Dictionary ............................................................. 3<br />
1.2.1 Creating Class Definitions .............................................................................. 3<br />
1.2.2 The Class Dictionary ...................................................................................... 3<br />
1.3 The <strong>Caché</strong> Class Library .......................................................................................... 4<br />
1.4 Development Tools .................................................................................................. 5<br />
1.4.1 <strong>Caché</strong> Studio ................................................................................................... 5<br />
1.4.2 <strong>Caché</strong> RoseLink ............................................................................................. 6<br />
1.4.3 SQL-based Development ................................................................................ 6<br />
1.4.4 XML-based Development .............................................................................. 6<br />
1.5 Client Interoperability .............................................................................................. 6<br />
1.5.1 Java ................................................................................................................. 6<br />
1.5.2 ActiveX / COM / .net ...................................................................................... 7<br />
1.5.3 <strong>Caché</strong> Server Pages ........................................................................................ 7<br />
1.5.4 C++ ................................................................................................................. 7<br />
1.5.5 XML ............................................................................................................... 8<br />
1.5.6 The <strong>Caché</strong> SQL Gateway ............................................................................... 8<br />
1.5.7 The <strong>Caché</strong> Activate ActiveX Gateway ............................................................ 8<br />
2 Object-Oriented Database Development ....................................................................... 9<br />
2.1 Classes and <strong>Objects</strong> .................................................................................................. 9<br />
2.2 Abstraction and Modeling ...................................................................................... 10<br />
2.3 Inheritance and Polymorphism .............................................................................. 10<br />
2.4 Encapsulation ......................................................................................................... 11<br />
2.5 Extensibility ........................................................................................................... 12<br />
2.6 Object Persistence .................................................................................................. 12<br />
2.7 Object Binding ....................................................................................................... 12<br />
3 The <strong>Caché</strong> Object Model .............................................................................................. 13<br />
3.1 Referring to an Object — OREF, OID, and ID ...................................................... 14<br />
3.1.1 OID and ID Values ....................................................................................... 15<br />
3.1.2 OREFs and Reference Counting .................................................................. 15<br />
3.2 Types of Classes ..................................................................................................... 16<br />
3.2.1 Transient Object Classes .............................................................................. 17<br />
<strong>Using</strong> <strong>Caché</strong> <strong>Objects</strong><br />
iii