org.apache.openejb.jee.oejb2
Class SqlGeneratorType

java.lang.Object
  extended by org.apache.openejb.jee.oejb2.SqlGeneratorType

public class SqlGeneratorType
extends java.lang.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
protected  java.lang.String returnType
           
protected  java.lang.String sql
           
 
Constructor Summary
SqlGeneratorType()
           
 
Method Summary
 java.lang.String getReturnType()
          Gets the value of the returnType property.
 java.lang.String getSql()
          Gets the value of the sql property.
 void setReturnType(java.lang.String value)
          Sets the value of the returnType property.
 void setSql(java.lang.String value)
          Sets the value of the sql property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sql

protected java.lang.String sql

returnType

protected java.lang.String returnType
Constructor Detail

SqlGeneratorType

public SqlGeneratorType()
Method Detail

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

getReturnType

public java.lang.String getReturnType()
Gets the value of the returnType property.

Returns:
possible object is String

setReturnType

public void setReturnType(java.lang.String value)
Sets the value of the returnType property.

Parameters:
value - allowed object is String


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