com.caucho.amber.cfg
Class EntityResultConfig

java.lang.Object
  extended by com.caucho.amber.cfg.EntityResultConfig

public class EntityResultConfig
extends java.lang.Object

The tag in orm.xml


Constructor Summary
EntityResultConfig()
           
 
Method Summary
 void addFieldResult(FieldResultConfig fieldResult)
          Adds a new .
 java.lang.String getDiscriminatorColumn()
           
 java.lang.String getEntityClass()
           
 java.util.ArrayList<FieldResultConfig> getFieldResults()
          Returns all elements.
 Entity load(AmberConnection aConn, java.sql.ResultSet rs)
           
 void setDiscriminatorColumn(java.lang.String discriminatorColumn)
           
 void setEntityClass(java.lang.String entityClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityResultConfig

public EntityResultConfig()
Method Detail

getEntityClass

public java.lang.String getEntityClass()

setEntityClass

public void setEntityClass(java.lang.String entityClass)

getDiscriminatorColumn

public java.lang.String getDiscriminatorColumn()

setDiscriminatorColumn

public void setDiscriminatorColumn(java.lang.String discriminatorColumn)

addFieldResult

public void addFieldResult(FieldResultConfig fieldResult)
Adds a new .


getFieldResults

public java.util.ArrayList<FieldResultConfig> getFieldResults()
Returns all elements.


load

public Entity load(AmberConnection aConn,
                   java.sql.ResultSet rs)
            throws java.sql.SQLException
Throws:
java.sql.SQLException