public class ColumnResult extends SQLResult
Purpose: Concrete class to represent the ColumnResult structure as defined by the EJB 3.0 Persistence specification. This class is a subcomponent of the EntityResult
EntityResult
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected org.eclipse.persistence.internal.helper.DatabaseField |
column
Stores the Columns name from the result set
|
sqlResultSetMapping
Constructor and Description |
---|
ColumnResult(org.eclipse.persistence.internal.helper.DatabaseField column) |
ColumnResult(java.lang.String column) |
Modifier and Type | Method and Description |
---|---|
void |
convertClassNamesToClasses(java.lang.ClassLoader classLoader)
INTERNAL:
Convert all the class-name-based settings in this query to actual
class-based settings.
|
org.eclipse.persistence.internal.helper.DatabaseField |
getColumn() |
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.
|
getSQLResultMapping, isConstructorResult, isEntityResult, setSQLResultMapping
protected org.eclipse.persistence.internal.helper.DatabaseField column
public ColumnResult(org.eclipse.persistence.internal.helper.DatabaseField column)
public ColumnResult(java.lang.String column)
public void convertClassNamesToClasses(java.lang.ClassLoader classLoader)
convertClassNamesToClasses
in class SQLResult
classLoader
- public org.eclipse.persistence.internal.helper.DatabaseField getColumn()
public java.lang.Object getValueFromRecord(DatabaseRecord record, ResultSetMappingQuery query)
getValueFromRecord
in class SQLResult
public boolean isColumnResult()
SQLResult
isColumnResult
in class SQLResult