Package org.apache.openejb.jee.wls
Class SqlQuery
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected List<DatabaseSpecificSql>databaseSpecificSqlprotected Stringsqlprotected StringsqlShapeName
-
Constructor Summary
Constructors Constructor Description SqlQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DatabaseSpecificSql>getDatabaseSpecificSql()Gets the value of the databaseSpecificSql property.StringgetSql()Gets the value of the sql property.StringgetSqlShapeName()Gets the value of the sqlShapeName property.voidsetSql(String value)Sets the value of the sql property.voidsetSqlShapeName(String value)Sets the value of the sqlShapeName property.
-
-
-
Field Detail
-
sqlShapeName
protected String sqlShapeName
-
sql
protected String sql
-
databaseSpecificSql
protected List<DatabaseSpecificSql> databaseSpecificSql
-
-
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 isString
-
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 isString
-
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 asetmethod 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 listDatabaseSpecificSql
-
-