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
org.eclipse.persistence.sessions.Project
| Modifier and Type | Field and Description |
|---|---|
| protected String | name
Stores the name of this SQLResultSetMapping. |
| protected List | results
Stores the list of SQLResult in the order they were added to the Mapping |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | convertClassNamesToClasses(ClassLoader classLoader)
INTERNAL: Convert all the class-name-based settings in this SQLResultSetMapping to actual class-based settings. |
| public String | |
| public List |
| name | back to summary |
|---|---|
| protected String name Stores the name of this SQLResultSetMapping. This name is unique within The project. | |
| results | back to summary |
|---|---|
| protected List<SQLResult> results Stores the list of SQLResult in the order they were added to the Mapping | |
| SQLResultSetMapping | back to summary |
|---|---|
| public SQLResultSetMapping(Class<?> resultClass) Defaulting constructor. Will set the name to the result class name and add an EntityResult for the result class. | |
| SQLResultSetMapping | back to summary |
|---|---|
| public SQLResultSetMapping(String name) | |
| addResult | back to summary |
|---|---|
| public void addResult(SQLResult result) | |
| convertClassNamesToClasses | back to summary |
|---|---|
| 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. | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getResults | back to summary |
|---|---|
| public List Accessor for the internally stored list of ColumnResult. Calling this method will result in a collection being created to store the ColumnResult | |