1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2009.07.17 at 01:03:24 AM CST 6 // 7 8 9 package org.openejb.xml.ns.pkgen_2; 10 11 import javax.xml.bind.annotation.XmlAccessType; 12 import javax.xml.bind.annotation.XmlAccessorType; 13 import javax.xml.bind.annotation.XmlElement; 14 import javax.xml.bind.annotation.XmlType; 15 16 17 /** 18 * 19 * Handles the case where an arbitrary SQL statement is executed, 20 * and the JDBC driver returns a new automatically generated ID. 21 * This should not be used when the destination table itself 22 * generates the ID (see database-generatedType), but it could be 23 * used for a web session ID or something where there is no 24 * naturally matching database table (but you could create one 25 * with an AUTO_INCREMENT key, specify an insert statement here, 26 * and then capture the newly returned ID and use it as your 27 * web session ID). 28 * 29 * 30 * <p>Java class for auto-increment-tableType complex type. 31 * 32 * <p>The following schema fragment specifies the expected content contained within this class. 33 * 34 * <pre> 35 * <complexType name="auto-increment-tableType"> 36 * <complexContent> 37 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 38 * <sequence> 39 * <element name="sql" type="{http://www.w3.org/2001/XMLSchema}string"/> 40 * <element name="return-type" type="{http://www.w3.org/2001/XMLSchema}string"/> 41 * </sequence> 42 * </restriction> 43 * </complexContent> 44 * </complexType> 45 * </pre> 46 * 47 * 48 */ 49 @XmlAccessorType(XmlAccessType.FIELD) 50 @XmlType(name = "auto-increment-tableType", propOrder = { 51 "sql", 52 "returnType" 53 }) 54 public class AutoIncrementTableType { 55 56 @XmlElement(required = true) 57 protected String sql; 58 @XmlElement(name = "return-type", required = true) 59 protected String returnType; 60 61 /** 62 * Gets the value of the sql property. 63 * 64 * @return 65 * possible object is 66 * {@link String } 67 * 68 */ 69 public String getSql() { 70 return sql; 71 } 72 73 /** 74 * Sets the value of the sql property. 75 * 76 * @param value 77 * allowed object is 78 * {@link String } 79 * 80 */ 81 public void setSql(String value) { 82 this.sql = value; 83 } 84 85 /** 86 * Gets the value of the returnType property. 87 * 88 * @return 89 * possible object is 90 * {@link String } 91 * 92 */ 93 public String getReturnType() { 94 return returnType; 95 } 96 97 /** 98 * Sets the value of the returnType property. 99 * 100 * @param value 101 * allowed object is 102 * {@link String } 103 * 104 */ 105 public void setReturnType(String value) { 106 this.returnType = value; 107 } 108 109 }