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 * Indicates that an arbitrary SQL statement should be used to 20 * generate the next ID. 21 * 22 * 23 * <p>Java class for sql-generatorType complex type. 24 * 25 * <p>The following schema fragment specifies the expected content contained within this class. 26 * 27 * <pre> 28 * <complexType name="sql-generatorType"> 29 * <complexContent> 30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 31 * <sequence> 32 * <element name="sql" type="{http://www.w3.org/2001/XMLSchema}string"/> 33 * <element name="return-type" type="{http://www.w3.org/2001/XMLSchema}string"/> 34 * </sequence> 35 * </restriction> 36 * </complexContent> 37 * </complexType> 38 * </pre> 39 * 40 * 41 */ 42 @XmlAccessorType(XmlAccessType.FIELD) 43 @XmlType(name = "sql-generatorType", propOrder = { 44 "sql", 45 "returnType" 46 }) 47 public class SqlGeneratorType { 48 49 @XmlElement(required = true) 50 protected String sql; 51 @XmlElement(name = "return-type", required = true) 52 protected String returnType; 53 54 /** 55 * Gets the value of the sql property. 56 * 57 * @return 58 * possible object is 59 * {@link String } 60 * 61 */ 62 public String getSql() { 63 return sql; 64 } 65 66 /** 67 * Sets the value of the sql property. 68 * 69 * @param value 70 * allowed object is 71 * {@link String } 72 * 73 */ 74 public void setSql(String value) { 75 this.sql = value; 76 } 77 78 /** 79 * Gets the value of the returnType property. 80 * 81 * @return 82 * possible object is 83 * {@link String } 84 * 85 */ 86 public String getReturnType() { 87 return returnType; 88 } 89 90 /** 91 * Sets the value of the returnType property. 92 * 93 * @param value 94 * allowed object is 95 * {@link String } 96 * 97 */ 98 public void setReturnType(String value) { 99 this.returnType = value; 100 } 101 102 }