public abstract class SQLResult extends Object implements Serializable
Purpose: An abstract superclass that represents the commonalities between the main result types of the SQLResultSetMapping
EntityResult
,
ColumnResult
,
ConstructorResult
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected SQLResultSetMapping |
sqlResultSetMapping |
Constructor and Description |
---|
SQLResult() |
Modifier and Type | Method and Description |
---|---|
void |
convertClassNamesToClasses(ClassLoader classLoader)
INTERNAL:
Convert all the class-name-based settings in this SQLResult to actual class-based
settings.
|
SQLResultSetMapping |
getSQLResultMapping()
INTERNAL:
Return the SQLResultSetMapping this SQLResult is part of.
|
abstract Object |
getValueFromRecord(DatabaseRecord record,
ResultSetMappingQuery query)
INTERNAL:
This method is a convenience method for extracting values from Results
|
boolean |
isColumnResult()
Return true if this is a column result.
|
boolean |
isConstructorResult()
Return true if this is a constructor result.
|
boolean |
isEntityResult()
Return true if this is an entity result.
|
void |
setSQLResultMapping(SQLResultSetMapping mapping)
INTERNAL:
Set the SQLResultSetMapping this SQLResult is part of.
|
protected SQLResultSetMapping sqlResultSetMapping
public void convertClassNamesToClasses(ClassLoader classLoader)
classLoader
- public SQLResultSetMapping getSQLResultMapping()
public boolean isColumnResult()
public boolean isConstructorResult()
public boolean isEntityResult()
public void setSQLResultMapping(SQLResultSetMapping mapping)
public abstract Object getValueFromRecord(DatabaseRecord record, ResultSetMappingQuery query)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.