001: /*
002: * XML Type: dataSourceMapDef
003: * Namespace: http://cbesb.bostechcorp.com/etl/dataSourceMap/1.0
004: * Java type: com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef
005: *
006: * Automatically generated - do not modify.
007: */
008: package com.bostechcorp.cbesb.etl.dataSourceMap.x10.impl;
009:
010: /**
011: * An XML dataSourceMapDef(@http://cbesb.bostechcorp.com/etl/dataSourceMap/1.0).
012: *
013: * This is a complex type.
014: */
015: public class DataSourceMapDefImpl extends
016: org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements
017: com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef {
018:
019: public DataSourceMapDefImpl(org.apache.xmlbeans.SchemaType sType) {
020: super (sType);
021: }
022:
023: private static final javax.xml.namespace.QName NAME$0 = new javax.xml.namespace.QName(
024: "http://cbesb.bostechcorp.com/etl/dataSourceMap/1.0",
025: "name");
026: private static final javax.xml.namespace.QName CONNECTION$2 = new javax.xml.namespace.QName(
027: "http://cbesb.bostechcorp.com/etl/dataSourceMap/1.0",
028: "connection");
029: private static final javax.xml.namespace.QName DATABASEDEF$4 = new javax.xml.namespace.QName(
030: "http://cbesb.bostechcorp.com/etl/dataSourceMap/1.0",
031: "databaseDef");
032: private static final javax.xml.namespace.QName MESSAGE$6 = new javax.xml.namespace.QName(
033: "http://cbesb.bostechcorp.com/etl/dataSourceMap/1.0",
034: "message");
035: private static final javax.xml.namespace.QName WHERECLAUSE$8 = new javax.xml.namespace.QName(
036: "http://cbesb.bostechcorp.com/etl/dataSourceMap/1.0",
037: "whereClause");
038:
039: /**
040: * Gets the "name" element
041: */
042: public java.lang.String getName() {
043: synchronized (monitor()) {
044: check_orphaned();
045: org.apache.xmlbeans.SimpleValue target = null;
046: target = (org.apache.xmlbeans.SimpleValue) get_store()
047: .find_element_user(NAME$0, 0);
048: if (target == null) {
049: return null;
050: }
051: return target.getStringValue();
052: }
053: }
054:
055: /**
056: * Gets (as xml) the "name" element
057: */
058: public org.apache.xmlbeans.XmlString xgetName() {
059: synchronized (monitor()) {
060: check_orphaned();
061: org.apache.xmlbeans.XmlString target = null;
062: target = (org.apache.xmlbeans.XmlString) get_store()
063: .find_element_user(NAME$0, 0);
064: return target;
065: }
066: }
067:
068: /**
069: * Sets the "name" element
070: */
071: public void setName(java.lang.String name) {
072: synchronized (monitor()) {
073: check_orphaned();
074: org.apache.xmlbeans.SimpleValue target = null;
075: target = (org.apache.xmlbeans.SimpleValue) get_store()
076: .find_element_user(NAME$0, 0);
077: if (target == null) {
078: target = (org.apache.xmlbeans.SimpleValue) get_store()
079: .add_element_user(NAME$0);
080: }
081: target.setStringValue(name);
082: }
083: }
084:
085: /**
086: * Sets (as xml) the "name" element
087: */
088: public void xsetName(org.apache.xmlbeans.XmlString name) {
089: synchronized (monitor()) {
090: check_orphaned();
091: org.apache.xmlbeans.XmlString target = null;
092: target = (org.apache.xmlbeans.XmlString) get_store()
093: .find_element_user(NAME$0, 0);
094: if (target == null) {
095: target = (org.apache.xmlbeans.XmlString) get_store()
096: .add_element_user(NAME$0);
097: }
098: target.set(name);
099: }
100: }
101:
102: /**
103: * Gets the "connection" element
104: */
105: public java.lang.String getConnection() {
106: synchronized (monitor()) {
107: check_orphaned();
108: org.apache.xmlbeans.SimpleValue target = null;
109: target = (org.apache.xmlbeans.SimpleValue) get_store()
110: .find_element_user(CONNECTION$2, 0);
111: if (target == null) {
112: return null;
113: }
114: return target.getStringValue();
115: }
116: }
117:
118: /**
119: * Gets (as xml) the "connection" element
120: */
121: public org.apache.xmlbeans.XmlString xgetConnection() {
122: synchronized (monitor()) {
123: check_orphaned();
124: org.apache.xmlbeans.XmlString target = null;
125: target = (org.apache.xmlbeans.XmlString) get_store()
126: .find_element_user(CONNECTION$2, 0);
127: return target;
128: }
129: }
130:
131: /**
132: * Sets the "connection" element
133: */
134: public void setConnection(java.lang.String connection) {
135: synchronized (monitor()) {
136: check_orphaned();
137: org.apache.xmlbeans.SimpleValue target = null;
138: target = (org.apache.xmlbeans.SimpleValue) get_store()
139: .find_element_user(CONNECTION$2, 0);
140: if (target == null) {
141: target = (org.apache.xmlbeans.SimpleValue) get_store()
142: .add_element_user(CONNECTION$2);
143: }
144: target.setStringValue(connection);
145: }
146: }
147:
148: /**
149: * Sets (as xml) the "connection" element
150: */
151: public void xsetConnection(org.apache.xmlbeans.XmlString connection) {
152: synchronized (monitor()) {
153: check_orphaned();
154: org.apache.xmlbeans.XmlString target = null;
155: target = (org.apache.xmlbeans.XmlString) get_store()
156: .find_element_user(CONNECTION$2, 0);
157: if (target == null) {
158: target = (org.apache.xmlbeans.XmlString) get_store()
159: .add_element_user(CONNECTION$2);
160: }
161: target.set(connection);
162: }
163: }
164:
165: /**
166: * Gets the "databaseDef" element
167: */
168: public java.lang.String getDatabaseDef() {
169: synchronized (monitor()) {
170: check_orphaned();
171: org.apache.xmlbeans.SimpleValue target = null;
172: target = (org.apache.xmlbeans.SimpleValue) get_store()
173: .find_element_user(DATABASEDEF$4, 0);
174: if (target == null) {
175: return null;
176: }
177: return target.getStringValue();
178: }
179: }
180:
181: /**
182: * Gets (as xml) the "databaseDef" element
183: */
184: public org.apache.xmlbeans.XmlString xgetDatabaseDef() {
185: synchronized (monitor()) {
186: check_orphaned();
187: org.apache.xmlbeans.XmlString target = null;
188: target = (org.apache.xmlbeans.XmlString) get_store()
189: .find_element_user(DATABASEDEF$4, 0);
190: return target;
191: }
192: }
193:
194: /**
195: * Sets the "databaseDef" element
196: */
197: public void setDatabaseDef(java.lang.String databaseDef) {
198: synchronized (monitor()) {
199: check_orphaned();
200: org.apache.xmlbeans.SimpleValue target = null;
201: target = (org.apache.xmlbeans.SimpleValue) get_store()
202: .find_element_user(DATABASEDEF$4, 0);
203: if (target == null) {
204: target = (org.apache.xmlbeans.SimpleValue) get_store()
205: .add_element_user(DATABASEDEF$4);
206: }
207: target.setStringValue(databaseDef);
208: }
209: }
210:
211: /**
212: * Sets (as xml) the "databaseDef" element
213: */
214: public void xsetDatabaseDef(
215: org.apache.xmlbeans.XmlString databaseDef) {
216: synchronized (monitor()) {
217: check_orphaned();
218: org.apache.xmlbeans.XmlString target = null;
219: target = (org.apache.xmlbeans.XmlString) get_store()
220: .find_element_user(DATABASEDEF$4, 0);
221: if (target == null) {
222: target = (org.apache.xmlbeans.XmlString) get_store()
223: .add_element_user(DATABASEDEF$4);
224: }
225: target.set(databaseDef);
226: }
227: }
228:
229: /**
230: * Gets the "message" element
231: */
232: public com.bostechcorp.cbesb.etl.dataSourceMap.x10.MessageDef getMessage() {
233: synchronized (monitor()) {
234: check_orphaned();
235: com.bostechcorp.cbesb.etl.dataSourceMap.x10.MessageDef target = null;
236: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.MessageDef) get_store()
237: .find_element_user(MESSAGE$6, 0);
238: if (target == null) {
239: return null;
240: }
241: return target;
242: }
243: }
244:
245: /**
246: * Sets the "message" element
247: */
248: public void setMessage(
249: com.bostechcorp.cbesb.etl.dataSourceMap.x10.MessageDef message) {
250: synchronized (monitor()) {
251: check_orphaned();
252: com.bostechcorp.cbesb.etl.dataSourceMap.x10.MessageDef target = null;
253: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.MessageDef) get_store()
254: .find_element_user(MESSAGE$6, 0);
255: if (target == null) {
256: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.MessageDef) get_store()
257: .add_element_user(MESSAGE$6);
258: }
259: target.set(message);
260: }
261: }
262:
263: /**
264: * Appends and returns a new empty "message" element
265: */
266: public com.bostechcorp.cbesb.etl.dataSourceMap.x10.MessageDef addNewMessage() {
267: synchronized (monitor()) {
268: check_orphaned();
269: com.bostechcorp.cbesb.etl.dataSourceMap.x10.MessageDef target = null;
270: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.MessageDef) get_store()
271: .add_element_user(MESSAGE$6);
272: return target;
273: }
274: }
275:
276: /**
277: * Gets the "whereClause" element
278: */
279: public com.bostechcorp.cbesb.etl.dataSourceMap.x10.WhereClauseDef getWhereClause() {
280: synchronized (monitor()) {
281: check_orphaned();
282: com.bostechcorp.cbesb.etl.dataSourceMap.x10.WhereClauseDef target = null;
283: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.WhereClauseDef) get_store()
284: .find_element_user(WHERECLAUSE$8, 0);
285: if (target == null) {
286: return null;
287: }
288: return target;
289: }
290: }
291:
292: /**
293: * Sets the "whereClause" element
294: */
295: public void setWhereClause(
296: com.bostechcorp.cbesb.etl.dataSourceMap.x10.WhereClauseDef whereClause) {
297: synchronized (monitor()) {
298: check_orphaned();
299: com.bostechcorp.cbesb.etl.dataSourceMap.x10.WhereClauseDef target = null;
300: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.WhereClauseDef) get_store()
301: .find_element_user(WHERECLAUSE$8, 0);
302: if (target == null) {
303: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.WhereClauseDef) get_store()
304: .add_element_user(WHERECLAUSE$8);
305: }
306: target.set(whereClause);
307: }
308: }
309:
310: /**
311: * Appends and returns a new empty "whereClause" element
312: */
313: public com.bostechcorp.cbesb.etl.dataSourceMap.x10.WhereClauseDef addNewWhereClause() {
314: synchronized (monitor()) {
315: check_orphaned();
316: com.bostechcorp.cbesb.etl.dataSourceMap.x10.WhereClauseDef target = null;
317: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.WhereClauseDef) get_store()
318: .add_element_user(WHERECLAUSE$8);
319: return target;
320: }
321: }
322: }
|