Package org.eclipse.persistence.queries
Class SQLResultSetMapping
- java.lang.Object
-
- org.eclipse.persistence.queries.SQLResultSetMapping
-
- All Implemented Interfaces:
Serializable
public class SQLResultSetMapping extends Object implements Serializable
Purpose: Concrete class to represent the SQLResultSetMapping structure as defined by the EJB 3.0 Persistence specification. This class is used by the ResultSetMappingQuery and is a component of the EclipsepLink Project
- See Also:
Project
, Serialized Form- Author:
- Gordon Yorke
- Since:
- TopLink Java Essentials
-
-
Constructor Summary
Constructors Constructor Description SQLResultSetMapping(Class resultClass)
Defaulting constructor.SQLResultSetMapping(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResult(SQLResult result)
void
convertClassNamesToClasses(ClassLoader classLoader)
INTERNAL: Convert all the class-name-based settings in this SQLResultSetMapping to actual class-based settings.String
getName()
List<SQLResult>
getResults()
Accessor for the internally stored list of ColumnResult.
-
-
-
Method Detail
-
convertClassNamesToClasses
public void convertClassNamesToClasses(ClassLoader classLoader)
INTERNAL: Convert all the class-name-based settings in this SQLResultSetMapping to actual class-based settings. This method is used when converting a project that has been built with class names to a project with classes.- Parameters:
classLoader
-
-
getName
public String getName()
-
addResult
public void addResult(SQLResult result)
-
-