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.wls;
017:
018: import java.util.ArrayList;
019: import java.util.List;
020: import javax.xml.bind.annotation.XmlAccessType;
021: import javax.xml.bind.annotation.XmlAccessorType;
022: import javax.xml.bind.annotation.XmlAttribute;
023: import javax.xml.bind.annotation.XmlElement;
024: import javax.xml.bind.annotation.XmlID;
025: import javax.xml.bind.annotation.XmlType;
026: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
027: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
028:
029: /**
030: * <p>Java class for weblogic-rdbms-jar complex type.
031: *
032: * <p>The following schema fragment specifies the expected content contained within this class.
033: *
034: * <pre>
035: * <complexType name="weblogic-rdbms-jar">
036: * <complexContent>
037: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
038: * <sequence>
039: * <element name="weblogic-rdbms-bean" type="{http://www.bea.com/ns/weblogic/90}weblogic-rdbms-bean" maxOccurs="unbounded"/>
040: * <element name="weblogic-rdbms-relation" type="{http://www.bea.com/ns/weblogic/90}weblogic-rdbms-relation" maxOccurs="unbounded" minOccurs="0"/>
041: * <element name="order-database-operations" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
042: * <element name="enable-batch-operations" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
043: * <element name="create-default-dbms-tables" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
044: * <element name="validate-db-schema-with" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
045: * <element name="database-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
046: * <element name="default-dbms-tables-ddl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
047: * <element name="compatibility" type="{http://www.bea.com/ns/weblogic/90}compatibility" minOccurs="0"/>
048: * </sequence>
049: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
050: * </restriction>
051: * </complexContent>
052: * </complexType>
053: * </pre>
054: *
055: *
056: */
057: @XmlAccessorType(XmlAccessType.FIELD)
058: @XmlType(name="weblogic-rdbms-jar",propOrder={"weblogicRdbmsBean","weblogicRdbmsRelation","orderDatabaseOperations","enableBatchOperations","createDefaultDbmsTables","validateDbSchemaWith","databaseType","defaultDbmsTablesDdl","compatibility"})
059: public class WeblogicRdbmsJar {
060:
061: @XmlElement(name="weblogic-rdbms-bean",required=true)
062: protected List<WeblogicRdbmsBean> weblogicRdbmsBean;
063: @XmlElement(name="weblogic-rdbms-relation")
064: protected List<WeblogicRdbmsRelation> weblogicRdbmsRelation;
065: @XmlElement(name="order-database-operations")
066: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
067: protected Boolean orderDatabaseOperations;
068: @XmlElement(name="enable-batch-operations")
069: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
070: protected Boolean enableBatchOperations;
071: @XmlElement(name="create-default-dbms-tables")
072: protected String createDefaultDbmsTables;
073: @XmlElement(name="validate-db-schema-with")
074: protected String validateDbSchemaWith;
075: @XmlElement(name="database-type")
076: protected String databaseType;
077: @XmlElement(name="default-dbms-tables-ddl")
078: protected String defaultDbmsTablesDdl;
079: protected Compatibility compatibility;
080: @XmlAttribute
081: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
082: @XmlID
083: protected String id;
084:
085: /**
086: * Gets the value of the weblogicRdbmsBean property.
087: *
088: * <p>
089: * This accessor method returns a reference to the live list,
090: * not a snapshot. Therefore any modification you make to the
091: * returned list will be present inside the JAXB object.
092: * This is why there is not a <CODE>set</CODE> method for the weblogicRdbmsBean property.
093: *
094: * <p>
095: * For example, to add a new item, do as follows:
096: * <pre>
097: * getWeblogicRdbmsBean().add(newItem);
098: * </pre>
099: *
100: *
101: * <p>
102: * Objects of the following type(s) are allowed in the list
103: * {@link WeblogicRdbmsBean }
104: *
105: *
106: */
107: public List<WeblogicRdbmsBean> getWeblogicRdbmsBean() {
108: if (weblogicRdbmsBean == null) {
109: weblogicRdbmsBean = new ArrayList<WeblogicRdbmsBean>();
110: }
111: return this .weblogicRdbmsBean;
112: }
113:
114: /**
115: * Gets the value of the weblogicRdbmsRelation property.
116: *
117: * <p>
118: * This accessor method returns a reference to the live list,
119: * not a snapshot. Therefore any modification you make to the
120: * returned list will be present inside the JAXB object.
121: * This is why there is not a <CODE>set</CODE> method for the weblogicRdbmsRelation property.
122: *
123: * <p>
124: * For example, to add a new item, do as follows:
125: * <pre>
126: * getWeblogicRdbmsRelation().add(newItem);
127: * </pre>
128: *
129: *
130: * <p>
131: * Objects of the following type(s) are allowed in the list
132: * {@link WeblogicRdbmsRelation }
133: *
134: *
135: */
136: public List<WeblogicRdbmsRelation> getWeblogicRdbmsRelation() {
137: if (weblogicRdbmsRelation == null) {
138: weblogicRdbmsRelation = new ArrayList<WeblogicRdbmsRelation>();
139: }
140: return this .weblogicRdbmsRelation;
141: }
142:
143: /**
144: * Gets the value of the orderDatabaseOperations property.
145: *
146: * @return
147: * possible object is
148: * {@link Boolean }
149: *
150: */
151: public Boolean getOrderDatabaseOperations() {
152: return orderDatabaseOperations;
153: }
154:
155: /**
156: * Sets the value of the orderDatabaseOperations property.
157: *
158: * @param value
159: * allowed object is
160: * {@link Boolean }
161: *
162: */
163: public void setOrderDatabaseOperations(Boolean value) {
164: this .orderDatabaseOperations = value;
165: }
166:
167: /**
168: * Gets the value of the enableBatchOperations property.
169: *
170: * @return
171: * possible object is
172: * {@link Boolean }
173: *
174: */
175: public Boolean getEnableBatchOperations() {
176: return enableBatchOperations;
177: }
178:
179: /**
180: * Sets the value of the enableBatchOperations property.
181: *
182: * @param value
183: * allowed object is
184: * {@link Boolean }
185: *
186: */
187: public void setEnableBatchOperations(Boolean value) {
188: this .enableBatchOperations = value;
189: }
190:
191: /**
192: * Gets the value of the createDefaultDbmsTables property.
193: *
194: * @return
195: * possible object is
196: * {@link String }
197: *
198: */
199: public String getCreateDefaultDbmsTables() {
200: return createDefaultDbmsTables;
201: }
202:
203: /**
204: * Sets the value of the createDefaultDbmsTables property.
205: *
206: * @param value
207: * allowed object is
208: * {@link String }
209: *
210: */
211: public void setCreateDefaultDbmsTables(String value) {
212: this .createDefaultDbmsTables = value;
213: }
214:
215: /**
216: * Gets the value of the validateDbSchemaWith property.
217: *
218: * @return
219: * possible object is
220: * {@link String }
221: *
222: */
223: public String getValidateDbSchemaWith() {
224: return validateDbSchemaWith;
225: }
226:
227: /**
228: * Sets the value of the validateDbSchemaWith property.
229: *
230: * @param value
231: * allowed object is
232: * {@link String }
233: *
234: */
235: public void setValidateDbSchemaWith(String value) {
236: this .validateDbSchemaWith = value;
237: }
238:
239: /**
240: * Gets the value of the databaseType property.
241: *
242: * @return
243: * possible object is
244: * {@link String }
245: *
246: */
247: public String getDatabaseType() {
248: return databaseType;
249: }
250:
251: /**
252: * Sets the value of the databaseType property.
253: *
254: * @param value
255: * allowed object is
256: * {@link String }
257: *
258: */
259: public void setDatabaseType(String value) {
260: this .databaseType = value;
261: }
262:
263: /**
264: * Gets the value of the defaultDbmsTablesDdl property.
265: *
266: * @return
267: * possible object is
268: * {@link String }
269: *
270: */
271: public String getDefaultDbmsTablesDdl() {
272: return defaultDbmsTablesDdl;
273: }
274:
275: /**
276: * Sets the value of the defaultDbmsTablesDdl property.
277: *
278: * @param value
279: * allowed object is
280: * {@link String }
281: *
282: */
283: public void setDefaultDbmsTablesDdl(String value) {
284: this .defaultDbmsTablesDdl = value;
285: }
286:
287: /**
288: * Gets the value of the compatibility property.
289: *
290: * @return
291: * possible object is
292: * {@link Compatibility }
293: *
294: */
295: public Compatibility getCompatibility() {
296: return compatibility;
297: }
298:
299: /**
300: * Sets the value of the compatibility property.
301: *
302: * @param value
303: * allowed object is
304: * {@link Compatibility }
305: *
306: */
307: public void setCompatibility(Compatibility value) {
308: this .compatibility = value;
309: }
310:
311: /**
312: * Gets the value of the id property.
313: *
314: * @return
315: * possible object is
316: * {@link String }
317: *
318: */
319: public String getId() {
320: return id;
321: }
322:
323: /**
324: * Sets the value of the id property.
325: *
326: * @param value
327: * allowed object is
328: * {@link String }
329: *
330: */
331: public void setId(String value) {
332: this.id = value;
333: }
334:
335: }
|