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.

<strong>Caché</strong> Classes<br />

Internally, this works as follows: the validation methods for the standard data type classes<br />

are all implemented as method generators and use their various class parameters to control<br />

the generation of these validation methods. In this example, this property definition generates<br />

content for a NumKidsIsValidDT method that tests whether the value of NumKids exceeds<br />

10. Without the use of class parameters, creating this functionality would require the definition<br />

of an IntegerLessThanTen class.<br />

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

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

Saved successfully!

Ooh no, something went wrong!