org.eclipse.persistence.queries
Class ColumnResult
java.lang.Object
org.eclipse.persistence.queries.SQLResult
org.eclipse.persistence.queries.ColumnResult
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
- See Also:
EntityResult
- Author:
- Gordon Yorke
- Since:
- TopLink Java Essentials
Field Summary |
protected java.lang.String |
columnName
Stores the Columns name from the result set |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
columnName
protected java.lang.String columnName
- Stores the Columns name from the result set
ColumnResult
public ColumnResult(java.lang.String column)
getColumnName
public java.lang.String getColumnName()
getValueFromRecord
public java.lang.Object getValueFromRecord(DatabaseRecord record,
ResultSetMappingQuery query)
- INTERNAL:
This method is a convience method for extracting values from Results
- Specified by:
getValueFromRecord
in class SQLResult
isColumnResult
public boolean isColumnResult()
- Overrides:
isColumnResult
in class SQLResult