org.apache.openejb.jee.wls
Class SqlQuery

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

public class SqlQuery
extends java.lang.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  java.util.List<DatabaseSpecificSql> databaseSpecificSql
           
protected  java.lang.String sql
           
protected  java.lang.String sqlShapeName
           
 
Constructor Summary
SqlQuery()
           
 
Method Summary
 java.util.List<DatabaseSpecificSql> getDatabaseSpecificSql()
          Gets the value of the databaseSpecificSql property.
 java.lang.String getSql()
          Gets the value of the sql property.
 java.lang.String getSqlShapeName()
          Gets the value of the sqlShapeName property.
 void setSql(java.lang.String value)
          Sets the value of the sql property.
 void setSqlShapeName(java.lang.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 java.lang.String sqlShapeName

sql

protected java.lang.String sql

databaseSpecificSql

protected java.util.List<DatabaseSpecificSql> databaseSpecificSql
Constructor Detail

SqlQuery

public SqlQuery()
Method Detail

getSqlShapeName

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

Returns:
possible object is String

setSqlShapeName

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

Parameters:
value - allowed object is String

getSql

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

Returns:
possible object is String

setSql

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

Parameters:
value - allowed object is String

getDatabaseSpecificSql

public java.util.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-2011 The Apache OpenEJB development community. All Rights Reserved.