001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 003// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2018.12.10 at 03:02:30 PM PST 006// 007 008 009package org.microbean.jpa.jaxb; 010 011import javax.xml.bind.annotation.XmlAccessType; 012import javax.xml.bind.annotation.XmlAccessorType; 013import javax.xml.bind.annotation.XmlAttribute; 014import javax.xml.bind.annotation.XmlType; 015 016 017/** 018 * 019 * 020 * @Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME) 021 * public @interface SequenceGenerator { 022 * String name(); 023 * String sequenceName() default ""; 024 * String catalog() default ""; 025 * String schema() default ""; 026 * int initialValue() default 1; 027 * int allocationSize() default 50; 028 * } 029 * 030 * 031 * 032 * <p>Java class for sequence-generator complex type. 033 * 034 * <p>The following schema fragment specifies the expected content contained within this class. 035 * 036 * <pre> 037 * <complexType name="sequence-generator"> 038 * <complexContent> 039 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 040 * <sequence> 041 * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 042 * </sequence> 043 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 044 * <attribute name="sequence-name" type="{http://www.w3.org/2001/XMLSchema}string" /> 045 * <attribute name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" /> 046 * <attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" /> 047 * <attribute name="initial-value" type="{http://www.w3.org/2001/XMLSchema}int" /> 048 * <attribute name="allocation-size" type="{http://www.w3.org/2001/XMLSchema}int" /> 049 * </restriction> 050 * </complexContent> 051 * </complexType> 052 * </pre> 053 * 054 * 055 */ 056@XmlAccessorType(XmlAccessType.FIELD) 057@XmlType(name = "sequence-generator", propOrder = { 058 "description" 059}) 060public class SequenceGenerator { 061 062 protected String description; 063 @XmlAttribute(name = "name", required = true) 064 protected String name; 065 @XmlAttribute(name = "sequence-name") 066 protected String sequenceName; 067 @XmlAttribute(name = "catalog") 068 protected String catalog; 069 @XmlAttribute(name = "schema") 070 protected String schema; 071 @XmlAttribute(name = "initial-value") 072 protected Integer initialValue; 073 @XmlAttribute(name = "allocation-size") 074 protected Integer allocationSize; 075 076 /** 077 * Gets the value of the description property. 078 * 079 * @return 080 * possible object is 081 * {@link String } 082 * 083 */ 084 public String getDescription() { 085 return description; 086 } 087 088 /** 089 * Sets the value of the description property. 090 * 091 * @param value 092 * allowed object is 093 * {@link String } 094 * 095 */ 096 public void setDescription(String value) { 097 this.description = value; 098 } 099 100 /** 101 * Gets the value of the name property. 102 * 103 * @return 104 * possible object is 105 * {@link String } 106 * 107 */ 108 public String getName() { 109 return name; 110 } 111 112 /** 113 * Sets the value of the name property. 114 * 115 * @param value 116 * allowed object is 117 * {@link String } 118 * 119 */ 120 public void setName(String value) { 121 this.name = value; 122 } 123 124 /** 125 * Gets the value of the sequenceName property. 126 * 127 * @return 128 * possible object is 129 * {@link String } 130 * 131 */ 132 public String getSequenceName() { 133 return sequenceName; 134 } 135 136 /** 137 * Sets the value of the sequenceName property. 138 * 139 * @param value 140 * allowed object is 141 * {@link String } 142 * 143 */ 144 public void setSequenceName(String value) { 145 this.sequenceName = value; 146 } 147 148 /** 149 * Gets the value of the catalog property. 150 * 151 * @return 152 * possible object is 153 * {@link String } 154 * 155 */ 156 public String getCatalog() { 157 return catalog; 158 } 159 160 /** 161 * Sets the value of the catalog property. 162 * 163 * @param value 164 * allowed object is 165 * {@link String } 166 * 167 */ 168 public void setCatalog(String value) { 169 this.catalog = value; 170 } 171 172 /** 173 * Gets the value of the schema property. 174 * 175 * @return 176 * possible object is 177 * {@link String } 178 * 179 */ 180 public String getSchema() { 181 return schema; 182 } 183 184 /** 185 * Sets the value of the schema property. 186 * 187 * @param value 188 * allowed object is 189 * {@link String } 190 * 191 */ 192 public void setSchema(String value) { 193 this.schema = value; 194 } 195 196 /** 197 * Gets the value of the initialValue property. 198 * 199 * @return 200 * possible object is 201 * {@link Integer } 202 * 203 */ 204 public Integer getInitialValue() { 205 return initialValue; 206 } 207 208 /** 209 * Sets the value of the initialValue property. 210 * 211 * @param value 212 * allowed object is 213 * {@link Integer } 214 * 215 */ 216 public void setInitialValue(Integer value) { 217 this.initialValue = value; 218 } 219 220 /** 221 * Gets the value of the allocationSize property. 222 * 223 * @return 224 * possible object is 225 * {@link Integer } 226 * 227 */ 228 public Integer getAllocationSize() { 229 return allocationSize; 230 } 231 232 /** 233 * Sets the value of the allocationSize property. 234 * 235 * @param value 236 * allowed object is 237 * {@link Integer } 238 * 239 */ 240 public void setAllocationSize(Integer value) { 241 this.allocationSize = value; 242 } 243 244}