EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.queries
Class SQLResult

java.lang.Object
  extended by org.eclipse.persistence.queries.SQLResult
Direct Known Subclasses:
ColumnResult, EntityResult

public abstract class SQLResult
extends java.lang.Object

Purpose: An abstract superclass that represents the commonalities between the main result types of the SQLResultSetMapping

See Also:
EntityResult, ColumnResult
Author:
Gordon Yorke
Since:
TopLink Java Essentials

Constructor Summary
SQLResult()
           
 
Method Summary
 void convertClassNamesToClasses(java.lang.ClassLoader classLoader)
          INTERNAL: Convert all the class-name-based settings in this SQLResult to actual class-based settings.
abstract  java.lang.Object getValueFromRecord(DatabaseRecord record, ResultSetMappingQuery query)
          INTERNAL: This method is a convenience method for extracting values from Results
 boolean isColumnResult()
           
 boolean isEntityResult()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLResult

public SQLResult()
Method Detail

convertClassNamesToClasses

public void convertClassNamesToClasses(java.lang.ClassLoader classLoader)
INTERNAL: Convert all the class-name-based settings in this SQLResult 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 -

isColumnResult

public boolean isColumnResult()

isEntityResult

public boolean isEntityResult()

getValueFromRecord

public abstract java.lang.Object getValueFromRecord(DatabaseRecord record,
                                                    ResultSetMappingQuery query)
INTERNAL: This method is a convenience method for extracting values from Results


EclipseLink 2.2.0, build 'v20110202-r8913' API Reference