public abstract class SQLResult
extends java.lang.Object
implements java.io.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(java.lang.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 java.lang.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(java.lang.ClassLoader classLoader)
classLoader
- public SQLResultSetMapping getSQLResultMapping()
public boolean isColumnResult()
public boolean isConstructorResult()
public boolean isEntityResult()
public void setSQLResultMapping(SQLResultSetMapping mapping)
public abstract java.lang.Object getValueFromRecord(DatabaseRecord record, ResultSetMappingQuery query)