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 subcompent of the EntityResult
EntityResult| Modifier and Type | Field and Description |
|---|---|
protected String |
columnName
Stores the Columns name from the result set
|
| Constructor and Description |
|---|
ColumnResult(String column) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnName() |
Object |
getValueFromRecord(DatabaseRecord record,
ResultSetMappingQuery query)
INTERNAL:
This method is a convience method for extracting values from Results
|
boolean |
isColumnResult() |
convertClassNamesToClasses, isEntityResultprotected String columnName
public ColumnResult(String column)
public String getColumnName()
public Object getValueFromRecord(DatabaseRecord record, ResultSetMappingQuery query)
getValueFromRecord in class SQLResultpublic boolean isColumnResult()
isColumnResult in class SQLResultCopyright © 2023. All rights reserved.