Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.queryframework
Class EntityResult

java.lang.Object
  extended by oracle.toplink.queryframework.SQLResult
      extended by oracle.toplink.queryframework.EntityResult

public class EntityResult
extends SQLResult

Purpose: Concrete class to represent the EntityResult structure as defined by the EJB 3.0 Persistence specification. This class is a subcompent of the SQLResultSetMapping

Since:
TopLink Java Essentials
See Also:
SQLResultSetMapping

Constructor Summary
EntityResult(java.lang.Class entityClass)
           
EntityResult(java.lang.String entityClassName)
           
 
Method Summary
 void addFieldResult(FieldResult fieldResult)
           
 java.lang.String getDiscriminatorColumn()
          Returns the column name for the column that will store the value used to determine the subclass type if applicable.
 java.util.Map getFieldResults()
          Accessor for the internally stored list of FieldResult.
 boolean isEntityResult()
           
 void setDiscriminatorColumn(java.lang.String column)
          Sets the column name for the column that will store the value used to determine the subclass type if applicable.
 
Methods inherited from class oracle.toplink.queryframework.SQLResult
isColumnResult
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityResult

public EntityResult(java.lang.Class entityClass)

EntityResult

public EntityResult(java.lang.String entityClassName)
Method Detail

addFieldResult

public void addFieldResult(FieldResult fieldResult)

getFieldResults

public java.util.Map getFieldResults()
Accessor for the internally stored list of FieldResult. Calling this method will result in a collection being created to store the FieldResult


getDiscriminatorColumn

public java.lang.String getDiscriminatorColumn()
Returns the column name for the column that will store the value used to determine the subclass type if applicable.


setDiscriminatorColumn

public void setDiscriminatorColumn(java.lang.String column)
Sets the column name for the column that will store the value used to determine the subclass type if applicable.


isEntityResult

public boolean isEntityResult()
Overrides:
isEntityResult in class SQLResult

Copyright © 1998, 2010, Oracle. All Rights Reserved.