The IS generator can produce two kinds of programming language declarations for the IS information types: classes which inherit the ISInfo (is.Info in Java) and also classes which inherit the ISNamedInfo (is.NamedInfo in Java). These classes are fully compatible - information which has been published in the IS using the ISInfo based class can be read using the ISNamedInfo based class and vice versa. The only difference is how these classes are used by the applications. From the programming point of view sometime it is more convenient to use one of them sometime another.
Appendix B shows two classes produced by the IS generator for the Person and Employee information types shown on See Person and Employee classes in the OKS Schema Editor. These classes are based on the ISInfo one. Appendix B shows classes for the same IS information types, but they are based on the ISNamedInfo. Next section explains the difference in their usage.
2 July 1998 - WebMaster | Copyright © CERN 1998 |