Skip navigation links
oracle.toplink.queryframework
Class EntityResult
java.lang.Object
oracle.toplink.queryframework.SQLResult
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
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityResult
public EntityResult(java.lang.Class entityClass)
EntityResult
public EntityResult(java.lang.String entityClassName)
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
Skip navigation links