org.apache.openejb.jee.jpa
Class SqlResultSetMapping

java.lang.Object
  extended by org.apache.openejb.jee.jpa.SqlResultSetMapping

public class SqlResultSetMapping
extends Object


Field Summary
protected  List<ColumnResult> columnResult
           
protected  List<EntityResult> entityResult
           
protected  String name
           
 
Constructor Summary
SqlResultSetMapping()
           
 
Method Summary
 List<ColumnResult> getColumnResult()
          Gets the value of the columnResult property.
 List<EntityResult> getEntityResult()
          Gets the value of the entityResult property.
 String getName()
          Gets the value of the name property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityResult

protected List<EntityResult> entityResult

columnResult

protected List<ColumnResult> columnResult

name

protected String name
Constructor Detail

SqlResultSetMapping

public SqlResultSetMapping()
Method Detail

getEntityResult

public List<EntityResult> getEntityResult()
Gets the value of the entityResult property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the entityResult property.

For example, to add a new item, do as follows:

    getEntityResult().add(newItem);
 

Objects of the following type(s) are allowed in the list EntityResult


getColumnResult

public List<ColumnResult> getColumnResult()
Gets the value of the columnResult property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the columnResult property.

For example, to add a new item, do as follows:

    getColumnResult().add(newItem);
 

Objects of the following type(s) are allowed in the list ColumnResult


getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.