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
Project
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected String |
name
Stores the name of this SQLResultSetMapping.
|
protected List<SQLResult> |
results
Stores the list of SQLResult in the order they were
added to the Mapping
|
Constructor and Description |
---|
SQLResultSetMapping(Class resultClass)
Defaulting constructor.
|
SQLResultSetMapping(String name) |
Modifier and Type | Method and 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.
|
protected String name
public SQLResultSetMapping(Class resultClass)
public SQLResultSetMapping(String name)
public void convertClassNamesToClasses(ClassLoader classLoader)
classLoader
- public String getName()
public void addResult(SQLResult result)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.