FileDocCategorySizeDatePackage
ResultFieldDesc.javaAPI DocGlassfish v2 API3133Fri May 04 22:35:12 BST 2007com.sun.jdo.spi.persistence.support.sqlstore.sql

ResultFieldDesc

public class ResultFieldDesc extends Object
This class is used to associated a field to the position of a column in a JDBC resultset.

Fields Summary
private com.sun.jdo.spi.persistence.support.sqlstore.model.LocalFieldDesc
fieldDesc
field descriptor for the field that is the recipient of the column value from the resultset
private com.sun.jdo.spi.persistence.support.sqlstore.sql.generator.ColumnRef
columnRef
holds the index to the column in the resultset.
Constructors Summary
public ResultFieldDesc(com.sun.jdo.spi.persistence.support.sqlstore.model.LocalFieldDesc fieldDesc, com.sun.jdo.spi.persistence.support.sqlstore.sql.generator.ColumnRef columnRef)

        this.fieldDesc = fieldDesc;
        this.columnRef = columnRef;
        //this.projection = projection;
    
Methods Summary
public com.sun.jdo.spi.persistence.support.sqlstore.sql.generator.ColumnRefgetColumnRef()
Return the column reference

return
the column reference

        return columnRef;
    
public com.sun.jdo.spi.persistence.support.sqlstore.model.LocalFieldDescgetFieldDesc()
Return the field descriptor.

return
the field descriptor

        return fieldDesc;