Package org.apache.openejb.jee.oejb2
Class SqlGeneratorType
- java.lang.Object
-
- org.apache.openejb.jee.oejb2.SqlGeneratorType
-
public class SqlGeneratorType extends Object
Indicates that an arbitrary SQL statement should be used to generate the next ID.Java class for sql-generatorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="sql-generatorType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="sql" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="return-type" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringreturnTypeprotected Stringsql
-
Constructor Summary
Constructors Constructor Description SqlGeneratorType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetReturnType()Gets the value of the returnType property.StringgetSql()Gets the value of the sql property.voidsetReturnType(String value)Sets the value of the returnType property.voidsetSql(String value)Sets the value of the sql property.
-
-
-
Method Detail
-
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
-
getReturnType
public String getReturnType()
Gets the value of the returnType property.- Returns:
- possible object is
String
-
-