public class SQLResultSetMapping
extends java.lang.Object
implements java.io.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
Project,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name
Stores the name of this SQLResultSetMapping.
|
protected java.util.List<SQLResult> |
results
Stores the list of SQLResult in the order they were
added to the Mapping
|
| Constructor and Description |
|---|
SQLResultSetMapping(java.lang.Class resultClass)
Defaulting constructor.
|
SQLResultSetMapping(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResult(SQLResult result) |
void |
convertClassNamesToClasses(java.lang.ClassLoader classLoader)
INTERNAL:
Convert all the class-name-based settings in this SQLResultSetMapping to actual class-based
settings.
|
java.lang.String |
getName() |
java.util.List<SQLResult> |
getResults()
Accessor for the internally stored list of ColumnResult.
|
protected java.lang.String name
protected java.util.List<SQLResult> results
public SQLResultSetMapping(java.lang.Class resultClass)
public SQLResultSetMapping(java.lang.String name)
public void convertClassNamesToClasses(java.lang.ClassLoader classLoader)
classLoader - public java.lang.String getName()
public void addResult(SQLResult result)
public java.util.List<SQLResult> getResults()