How to Import the Analytic Type Classes

The analytic type classes are not built-in classes, like Rowset, Field, Record, and so on. They are application classes. Before you can use these classes in your PeopleCode program, you must import them to your program.

An import statement names either all the classes in a package or one particular application class. For importing the analytic type classes, PeopleSoft recommends that you import all the classes in the application package.

The application package PT_ANALYTICTYPEDEFN contains the following subclasses:

  • AnalyticTypeDefn

  • AnalyticTypeModelDefn

  • AnalyticTypeRecordDefn

The import statement you should use should be as follows:


Using the asterisks after the package name makes all the application classes directly contained in the named package available.