Class COM.odi.PersistentTypeSummary
java.lang.Object
|
+----COM.odi.PersistentTypeSummary
- public class PersistentTypeSummary
- extends Object
The COM.odi.PersistentTypeSummary class allows the types used by a Java
application or library to be identified.
An application can create instances of this class or extend this class,
as is done by the postprocessor to create a version with
a no-arguments constructor.
-
PersistentTypeSummary(String[], String[])
- Constructs a persistent type summary object.
-
getIncludedLibrarySummaries()
- Obtains an array of class names that are expected to name subclasses
of PersistentTypeSummary.
-
getPersistentClasses()
- Obtains an array of class names that the application or library
has identified as being potentially persistent.
PersistentTypeSummary
public PersistentTypeSummary(String persistentClasses[],
String includedLibrarySummaries[])
- Constructs a persistent type summary object.
- Parameters:
- persistentClasses - An array of class names that have been
identified as potentially persistent.
- includedLibrarySummaries - An array of class names, each of which
should be a class that extends PersistentTypeSummary. These classes
are typically summary classes for libraries used by an application
or library. These classes are normally generated by the postprocessor as
the result of using the -summary option and must have
a no-argument constructor available.
getPersistentClasses
public String[] getPersistentClasses()
- Obtains an array of class names that the application or library
has identified as being potentially persistent.
getIncludedLibrarySummaries
public String[] getIncludedLibrarySummaries()
- Obtains an array of class names that are expected to name subclasses
of PersistentTypeSummary. These are expected to be the library
summaries for the libraries that the application uses and that
might have persistent classes. The library summaries are separated
from the persistent classes so that a library used by the
application can be extended without requiring regeneration of the
application type summary.
Copyright © 1996, 1997, 1998 Object Design, Inc. All rights reserved.