org.apache.openejb.jee.wls
Class SqlQuery

java.lang.Object
  extended by org.apache.openejb.jee.wls.SqlQuery

public class SqlQuery
extends Object

Java class for sql-query complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="sql-query">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="sql-shape-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="sql" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="database-specific-sql" type="{http://www.bea.com/ns/weblogic/90}database-specific-sql" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<DatabaseSpecificSql> databaseSpecificSql
           
protected  String sql
           
protected  String sqlShapeName
           
 
Constructor Summary
SqlQuery()
           
 
Method Summary
 List<DatabaseSpecificSql> getDatabaseSpecificSql()
          Gets the value of the databaseSpecificSql property.
 String getSql()
          Gets the value of the sql property.
 String getSqlShapeName()
          Gets the value of the sqlShapeName property.
 void setSql(String value)
          Sets the value of the sql property.
 void setSqlShapeName(String value)
          Sets the value of the sqlShapeName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sqlShapeName

protected String sqlShapeName

sql

protected String sql

databaseSpecificSql

protected List<DatabaseSpecificSql> databaseSpecificSql
Constructor Detail

SqlQuery

public SqlQuery()
Method Detail

getSqlShapeName

public String getSqlShapeName()
Gets the value of the sqlShapeName property.

Returns:
possible object is String

setSqlShapeName

public void setSqlShapeName(String value)
Sets the value of the sqlShapeName property.

Parameters:
value - allowed object is String

getSql

public String getSql()
Gets the value of the sql property.

Returns:
possible object is String

setSql

public void setSql(String value)
Sets the value of the sql property.

Parameters:
value - allowed object is String

getDatabaseSpecificSql

public List<DatabaseSpecificSql> getDatabaseSpecificSql()
Gets the value of the databaseSpecificSql 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 databaseSpecificSql property.

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

    getDatabaseSpecificSql().add(newItem);
 

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



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