EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.queries
Class ColumnResult

java.lang.Object
  extended by org.eclipse.persistence.queries.SQLResult
      extended by 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  org.eclipse.persistence.internal.helper.DatabaseField column
          Stores the Columns name from the result set
 
Fields inherited from class org.eclipse.persistence.queries.SQLResult
sqlResultSetMapping
 
Constructor Summary
ColumnResult(org.eclipse.persistence.internal.helper.DatabaseField column)
           
ColumnResult(java.lang.String column)
           
 
Method Summary
 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.
 
Methods inherited from class org.eclipse.persistence.queries.SQLResult
convertClassNamesToClasses, getSQLResultMapping, isConstructorResult, isEntityResult, setSQLResultMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

column

protected org.eclipse.persistence.internal.helper.DatabaseField column
Stores the Columns name from the result set

Constructor Detail

ColumnResult

public ColumnResult(org.eclipse.persistence.internal.helper.DatabaseField column)

ColumnResult

public ColumnResult(java.lang.String column)
Method Detail

getColumn

public org.eclipse.persistence.internal.helper.DatabaseField getColumn()

getValueFromRecord

public java.lang.Object getValueFromRecord(DatabaseRecord record,
                                           ResultSetMappingQuery query)
INTERNAL: This method is a convenience method for extracting values from Results

Specified by:
getValueFromRecord in class SQLResult

isColumnResult

public boolean isColumnResult()
Description copied from class: SQLResult
Return true if this is a column result.

Overrides:
isColumnResult in class SQLResult

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference