25.01.2015 Views

Using Caché Objects - InterSystems Documentation

Using Caché Objects - InterSystems Documentation

Using Caché Objects - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

20.8 %OnNew ............................................................................................................ 175<br />

20.9 %OnOpen ........................................................................................................... 175<br />

20.10 %OnRollBack .................................................................................................. 176<br />

20.11 %OnValidateObject .......................................................................................... 176<br />

20.12 OnPopulate ....................................................................................................... 177<br />

21 Object-Specific ObjectScript Features .................................................................... 179<br />

21.1 .. Syntax ............................................................................................................. 179<br />

21.2 ##Class Syntax ................................................................................................... 180<br />

21.2.1 Invoking a Class Method .......................................................................... 180<br />

21.2.2 Casting a Method ...................................................................................... 180<br />

21.3 ##this Syntax ...................................................................................................... 181<br />

21.4 ##super Syntax ................................................................................................... 183<br />

21.5 i% Syntax ............................................................................... 184<br />

22 Dynamic Dispatch ...................................................................................................... 187<br />

22.1 How Dynamic Dispatch Happens ...................................................................... 187<br />

22.2 Content of Methods Implementing Dynamic Dispatch ..................................... 188<br />

22.2.1 Return Values ............................................................................................ 189<br />

22.3 The Dynamic Dispatch Methods ........................................................................ 189<br />

22.3.1 %DispatchMethod .................................................................................... 189<br />

22.3.2 %DispatchClassMethod ........................................................................... 190<br />

22.3.3 %DispatchGetProperty ............................................................................. 190<br />

22.3.4 %DispatchSetProperty .............................................................................. 190<br />

22.3.5 %DispatchSetMultidimProperty .............................................................. 191<br />

22.3.6 %DispatchGetModified ............................................................................ 191<br />

22.3.7 %DispatchSetModified ............................................................................ 191<br />

23 Class Definition Classes ............................................................................................ 193<br />

23.1 Browsing Class Definitions ............................................................................... 194<br />

23.2 Altering Class Definitions .................................................................................. 195<br />

24 Internet Classes .......................................................................................................... 197<br />

24.1 Email .................................................................................................................. 197<br />

24.1.1 Mail Messages .......................................................................................... 197<br />

24.1.2 Sending Email .......................................................................................... 198<br />

24.1.3 Receiving Email ....................................................................................... 198<br />

24.2 FTP ..................................................................................................................... 199<br />

24.3 HTTP .................................................................................................................. 199<br />

<strong>Using</strong> <strong>Caché</strong> <strong>Objects</strong><br />

ix

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!