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 * Primary Key generation element. 20 * 21 * If this is present, a key generator GBean will be created 22 * and configured to generate IDs for the surrounding object. 23 * 24 * 25 * <p>Java class for key-generatorType complex type. 26 * 27 * <p>The following schema fragment specifies the expected content contained within this class. 28 * 29 * <pre> 30 * <complexType name="key-generatorType"> 31 * <complexContent> 32 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 33 * <choice> 34 * <element name="sequence-table" type="{http://www.openejb.org/xml/ns/pkgen-2.0}sequence-tableType"/> 35 * <element name="auto-increment-table" type="{http://www.openejb.org/xml/ns/pkgen-2.0}auto-increment-tableType"/> 36 * <element name="sql-generator" type="{http://www.openejb.org/xml/ns/pkgen-2.0}sql-generatorType"/> 37 * <element name="custom-generator" type="{http://www.openejb.org/xml/ns/pkgen-2.0}custom-generatorType"/> 38 * </choice> 39 * </restriction> 40 * </complexContent> 41 * </complexType> 42 * </pre> 43 * 44 * 45 */ 46 @XmlAccessorType(XmlAccessType.FIELD) 47 @XmlType(name = "key-generatorType", propOrder = { 48 "sequenceTable", 49 "autoIncrementTable", 50 "sqlGenerator", 51 "customGenerator" 52 }) 53 public class KeyGeneratorType { 54 55 @XmlElement(name = "sequence-table") 56 protected SequenceTableType sequenceTable; 57 @XmlElement(name = "auto-increment-table") 58 protected AutoIncrementTableType autoIncrementTable; 59 @XmlElement(name = "sql-generator") 60 protected SqlGeneratorType sqlGenerator; 61 @XmlElement(name = "custom-generator") 62 protected CustomGeneratorType customGenerator; 63 64 /** 65 * Gets the value of the sequenceTable property. 66 * 67 * @return 68 * possible object is 69 * {@link SequenceTableType } 70 * 71 */ 72 public SequenceTableType getSequenceTable() { 73 return sequenceTable; 74 } 75 76 /** 77 * Sets the value of the sequenceTable property. 78 * 79 * @param value 80 * allowed object is 81 * {@link SequenceTableType } 82 * 83 */ 84 public void setSequenceTable(SequenceTableType value) { 85 this.sequenceTable = value; 86 } 87 88 /** 89 * Gets the value of the autoIncrementTable property. 90 * 91 * @return 92 * possible object is 93 * {@link AutoIncrementTableType } 94 * 95 */ 96 public AutoIncrementTableType getAutoIncrementTable() { 97 return autoIncrementTable; 98 } 99 100 /** 101 * Sets the value of the autoIncrementTable property. 102 * 103 * @param value 104 * allowed object is 105 * {@link AutoIncrementTableType } 106 * 107 */ 108 public void setAutoIncrementTable(AutoIncrementTableType value) { 109 this.autoIncrementTable = value; 110 } 111 112 /** 113 * Gets the value of the sqlGenerator property. 114 * 115 * @return 116 * possible object is 117 * {@link SqlGeneratorType } 118 * 119 */ 120 public SqlGeneratorType getSqlGenerator() { 121 return sqlGenerator; 122 } 123 124 /** 125 * Sets the value of the sqlGenerator property. 126 * 127 * @param value 128 * allowed object is 129 * {@link SqlGeneratorType } 130 * 131 */ 132 public void setSqlGenerator(SqlGeneratorType value) { 133 this.sqlGenerator = value; 134 } 135 136 /** 137 * Gets the value of the customGenerator property. 138 * 139 * @return 140 * possible object is 141 * {@link CustomGeneratorType } 142 * 143 */ 144 public CustomGeneratorType getCustomGenerator() { 145 return customGenerator; 146 } 147 148 /** 149 * Sets the value of the customGenerator property. 150 * 151 * @param value 152 * allowed object is 153 * {@link CustomGeneratorType } 154 * 155 */ 156 public void setCustomGenerator(CustomGeneratorType value) { 157 this.customGenerator = value; 158 } 159 160 }