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 a user-provided generator. You deploy any old generator 20 * as a GBean, and then point to that GBean here. The generator 21 * should implement org.tranql.pkgenerator.PrimaryKeyGenerator. 22 * 23 * 24 * <p>Java class for custom-generatorType complex type. 25 * 26 * <p>The following schema fragment specifies the expected content contained within this class. 27 * 28 * <pre> 29 * <complexType name="custom-generatorType"> 30 * <complexContent> 31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 32 * <sequence> 33 * <element name="generator-name" type="{http://www.w3.org/2001/XMLSchema}string"/> 34 * <element name="primary-key-class" type="{http://www.w3.org/2001/XMLSchema}string"/> 35 * </sequence> 36 * </restriction> 37 * </complexContent> 38 * </complexType> 39 * </pre> 40 * 41 * 42 */ 43 @XmlAccessorType(XmlAccessType.FIELD) 44 @XmlType(name = "custom-generatorType", propOrder = { 45 "generatorName", 46 "primaryKeyClass" 47 }) 48 public class CustomGeneratorType { 49 50 @XmlElement(name = "generator-name", required = true) 51 protected String generatorName; 52 @XmlElement(name = "primary-key-class", required = true) 53 protected String primaryKeyClass; 54 55 /** 56 * Gets the value of the generatorName property. 57 * 58 * @return 59 * possible object is 60 * {@link String } 61 * 62 */ 63 public String getGeneratorName() { 64 return generatorName; 65 } 66 67 /** 68 * Sets the value of the generatorName property. 69 * 70 * @param value 71 * allowed object is 72 * {@link String } 73 * 74 */ 75 public void setGeneratorName(String value) { 76 this.generatorName = value; 77 } 78 79 /** 80 * Gets the value of the primaryKeyClass property. 81 * 82 * @return 83 * possible object is 84 * {@link String } 85 * 86 */ 87 public String getPrimaryKeyClass() { 88 return primaryKeyClass; 89 } 90 91 /** 92 * Sets the value of the primaryKeyClass property. 93 * 94 * @param value 95 * allowed object is 96 * {@link String } 97 * 98 */ 99 public void setPrimaryKeyClass(String value) { 100 this.primaryKeyClass = value; 101 } 102 103 }