All Packages This Package Previous Next
Class sqlj.runtime.profile.ref.ProfileDataImpl
java.lang.Object
|
+----sqlj.runtime.profile.ProfileData
|
+----sqlj.runtime.profile.ref.ProfileDataImpl
- public class ProfileDataImpl
- extends ProfileData
The profile data impl class provides a concrete implementation of the
profile data class. It manages a collection of profile entries, where
each entry describes a static sql operation. A profile data object
represents the sql resources of a particular connection context
defined within an application module.
-
ProfileDataImpl(EntryInfo[], Profile, String)
- Creates a new profile data object.
-
getEntryInfo(int)
-
-
getProfile()
-
-
getSourceFile()
- Returns the name of the source file from which this profile was
generated, or null if not available.
-
size()
-
ProfileDataImpl
public ProfileDataImpl(EntryInfo entries[],
Profile profile,
String sourceFile)
- Creates a new profile data object.
- Parameters:
- entries - the entires in the profile data
- profile - the base profile associated with this object
- sourceFile - the name of the source file producing this
profile, null if not available.
size
public int size()
- Returns:
- the number of entries in the profile
- Overrides:
- size in class ProfileData
getEntryInfo
public EntryInfo getEntryInfo(int ndx)
- Parameters:
- ndx - the index of the entry which is describe, range 0 to size()-1.
- Returns:
- a description of the entry at index "ndx" in the profile.
- Overrides:
- getEntryInfo in class ProfileData
getProfile
public Profile getProfile()
- Returns:
- the profile with which this object is associated
- Overrides:
- getProfile in class ProfileData
getSourceFile
public String getSourceFile()
- Returns the name of the source file from which this profile was
generated, or null if not available.
- Overrides:
- getSourceFile in class ProfileData
- See Also:
- getSourceFile
All Packages This Package Previous Next