001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.jee.jba.cmp;
017:
018: import javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlElement;
021: import javax.xml.bind.annotation.XmlRootElement;
022: import javax.xml.bind.annotation.XmlType;
023:
024: /**
025: * <p>Java class for anonymous complex type.
026: *
027: * <p>The following schema fragment specifies the expected content contained within this class.
028: *
029: * <pre>
030: * <complexType>
031: * <complexContent>
032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033: * <sequence>
034: * <element ref="{http://jboss.org}key-generator-factory" minOccurs="0"/>
035: * <element ref="{http://jboss.org}unknown-pk-class"/>
036: * <element ref="{http://jboss.org}field-name" minOccurs="0"/>
037: * <element ref="{http://jboss.org}read-only" minOccurs="0"/>
038: * <element ref="{http://jboss.org}read-time-out" minOccurs="0"/>
039: * <element ref="{http://jboss.org}column-name" minOccurs="0"/>
040: * <sequence minOccurs="0">
041: * <element ref="{http://jboss.org}jdbc-type"/>
042: * <element ref="{http://jboss.org}sql-type"/>
043: * </sequence>
044: * <element ref="{http://jboss.org}auto-increment" minOccurs="0"/>
045: * </sequence>
046: * </restriction>
047: * </complexContent>
048: * </complexType>
049: * </pre>
050: *
051: *
052: */
053: @XmlAccessorType(XmlAccessType.FIELD)
054: @XmlType(name="",propOrder={"keyGeneratorFactory","unknownPkClass","fieldName","readOnly","readTimeOut","columnName","jdbcType","sqlType","autoIncrement"})
055: @XmlRootElement(name="unknown-pk")
056: public class UnknownPk {
057:
058: @XmlElement(name="key-generator-factory")
059: protected KeyGeneratorFactory keyGeneratorFactory;
060: @XmlElement(name="unknown-pk-class",required=true)
061: protected UnknownPkClass unknownPkClass;
062: @XmlElement(name="field-name")
063: protected FieldName fieldName;
064: @XmlElement(name="read-only")
065: protected ReadOnly readOnly;
066: @XmlElement(name="read-time-out")
067: protected ReadTimeOut readTimeOut;
068: @XmlElement(name="column-name")
069: protected ColumnName columnName;
070: @XmlElement(name="jdbc-type")
071: protected JdbcType jdbcType;
072: @XmlElement(name="sql-type")
073: protected SqlType sqlType;
074: @XmlElement(name="auto-increment")
075: protected AutoIncrement autoIncrement;
076:
077: /**
078: * Gets the value of the keyGeneratorFactory property.
079: *
080: * @return
081: * possible object is
082: * {@link KeyGeneratorFactory }
083: *
084: */
085: public KeyGeneratorFactory getKeyGeneratorFactory() {
086: return keyGeneratorFactory;
087: }
088:
089: /**
090: * Sets the value of the keyGeneratorFactory property.
091: *
092: * @param value
093: * allowed object is
094: * {@link KeyGeneratorFactory }
095: *
096: */
097: public void setKeyGeneratorFactory(KeyGeneratorFactory value) {
098: this .keyGeneratorFactory = value;
099: }
100:
101: /**
102: * Gets the value of the unknownPkClass property.
103: *
104: * @return
105: * possible object is
106: * {@link UnknownPkClass }
107: *
108: */
109: public UnknownPkClass getUnknownPkClass() {
110: return unknownPkClass;
111: }
112:
113: /**
114: * Sets the value of the unknownPkClass property.
115: *
116: * @param value
117: * allowed object is
118: * {@link UnknownPkClass }
119: *
120: */
121: public void setUnknownPkClass(UnknownPkClass value) {
122: this .unknownPkClass = value;
123: }
124:
125: /**
126: * Gets the value of the fieldName property.
127: *
128: * @return
129: * possible object is
130: * {@link FieldName }
131: *
132: */
133: public FieldName getFieldName() {
134: return fieldName;
135: }
136:
137: /**
138: * Sets the value of the fieldName property.
139: *
140: * @param value
141: * allowed object is
142: * {@link FieldName }
143: *
144: */
145: public void setFieldName(FieldName value) {
146: this .fieldName = value;
147: }
148:
149: /**
150: * Gets the value of the readOnly property.
151: *
152: * @return
153: * possible object is
154: * {@link ReadOnly }
155: *
156: */
157: public ReadOnly getReadOnly() {
158: return readOnly;
159: }
160:
161: /**
162: * Sets the value of the readOnly property.
163: *
164: * @param value
165: * allowed object is
166: * {@link ReadOnly }
167: *
168: */
169: public void setReadOnly(ReadOnly value) {
170: this .readOnly = value;
171: }
172:
173: /**
174: * Gets the value of the readTimeOut property.
175: *
176: * @return
177: * possible object is
178: * {@link ReadTimeOut }
179: *
180: */
181: public ReadTimeOut getReadTimeOut() {
182: return readTimeOut;
183: }
184:
185: /**
186: * Sets the value of the readTimeOut property.
187: *
188: * @param value
189: * allowed object is
190: * {@link ReadTimeOut }
191: *
192: */
193: public void setReadTimeOut(ReadTimeOut value) {
194: this .readTimeOut = value;
195: }
196:
197: /**
198: * Gets the value of the columnName property.
199: *
200: * @return
201: * possible object is
202: * {@link ColumnName }
203: *
204: */
205: public ColumnName getColumnName() {
206: return columnName;
207: }
208:
209: /**
210: * Sets the value of the columnName property.
211: *
212: * @param value
213: * allowed object is
214: * {@link ColumnName }
215: *
216: */
217: public void setColumnName(ColumnName value) {
218: this .columnName = value;
219: }
220:
221: /**
222: * Gets the value of the jdbcType property.
223: *
224: * @return
225: * possible object is
226: * {@link JdbcType }
227: *
228: */
229: public JdbcType getJdbcType() {
230: return jdbcType;
231: }
232:
233: /**
234: * Sets the value of the jdbcType property.
235: *
236: * @param value
237: * allowed object is
238: * {@link JdbcType }
239: *
240: */
241: public void setJdbcType(JdbcType value) {
242: this .jdbcType = value;
243: }
244:
245: /**
246: * Gets the value of the sqlType property.
247: *
248: * @return
249: * possible object is
250: * {@link SqlType }
251: *
252: */
253: public SqlType getSqlType() {
254: return sqlType;
255: }
256:
257: /**
258: * Sets the value of the sqlType property.
259: *
260: * @param value
261: * allowed object is
262: * {@link SqlType }
263: *
264: */
265: public void setSqlType(SqlType value) {
266: this .sqlType = value;
267: }
268:
269: /**
270: * Gets the value of the autoIncrement property.
271: *
272: * @return
273: * possible object is
274: * {@link AutoIncrement }
275: *
276: */
277: public AutoIncrement getAutoIncrement() {
278: return autoIncrement;
279: }
280:
281: /**
282: * Sets the value of the autoIncrement property.
283: *
284: * @param value
285: * allowed object is
286: * {@link AutoIncrement }
287: *
288: */
289: public void setAutoIncrement(AutoIncrement value) {
290: this.autoIncrement = value;
291: }
292:
293: }
|