EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.queries
Class SQLResultSetMapping

java.lang.Object
  extended by org.eclipse.persistence.queries.SQLResultSetMapping

public class SQLResultSetMapping
extends java.lang.Object

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
Author:
Gordon Yorke
Since:
TopLink Java Essentials

Field Summary
protected  java.lang.String name
          Stores the name of this SQLResultSetMapping.
protected  java.util.List results
          Stores the list of SQLResult in the order they were added to the Mapping
 
Constructor Summary
SQLResultSetMapping(java.lang.String name)
           
 
Method Summary
 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 getResults()
          Accessor for the internally stored list of ColumnResult.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Stores the name of this SQLResultSetMapping. This name is unique within The project.


results

protected java.util.List results
Stores the list of SQLResult in the order they were added to the Mapping

Constructor Detail

SQLResultSetMapping

public SQLResultSetMapping(java.lang.String name)
Method Detail

convertClassNamesToClasses

public void convertClassNamesToClasses(java.lang.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 java.lang.String getName()

addResult

public void addResult(SQLResult result)

getResults

public java.util.List getResults()
Accessor for the internally stored list of ColumnResult. Calling this method will result in a collection being created to store the ColumnResult


EclipseLink 2.2.0, build 'v20110202-r8913' API Reference