01: /*
02: * An XML document type.
03: * Localname: dataSourceMap
04: * Namespace: http://cbesb.bostechcorp.com/etl/dataSourceMap/1.0
05: * Java type: com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDocument
06: *
07: * Automatically generated - do not modify.
08: */
09: package com.bostechcorp.cbesb.etl.dataSourceMap.x10.impl;
10:
11: /**
12: * A document containing one dataSourceMap(@http://cbesb.bostechcorp.com/etl/dataSourceMap/1.0) element.
13: *
14: * This is a complex type.
15: */
16: public class DataSourceMapDocumentImpl extends
17: org.apache.xmlbeans.impl.values.XmlComplexContentImpl
18: implements
19: com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDocument {
20:
21: public DataSourceMapDocumentImpl(
22: org.apache.xmlbeans.SchemaType sType) {
23: super (sType);
24: }
25:
26: private static final javax.xml.namespace.QName DATASOURCEMAP$0 = new javax.xml.namespace.QName(
27: "http://cbesb.bostechcorp.com/etl/dataSourceMap/1.0",
28: "dataSourceMap");
29:
30: /**
31: * Gets the "dataSourceMap" element
32: */
33: public com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef getDataSourceMap() {
34: synchronized (monitor()) {
35: check_orphaned();
36: com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef target = null;
37: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef) get_store()
38: .find_element_user(DATASOURCEMAP$0, 0);
39: if (target == null) {
40: return null;
41: }
42: return target;
43: }
44: }
45:
46: /**
47: * Sets the "dataSourceMap" element
48: */
49: public void setDataSourceMap(
50: com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef dataSourceMap) {
51: synchronized (monitor()) {
52: check_orphaned();
53: com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef target = null;
54: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef) get_store()
55: .find_element_user(DATASOURCEMAP$0, 0);
56: if (target == null) {
57: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef) get_store()
58: .add_element_user(DATASOURCEMAP$0);
59: }
60: target.set(dataSourceMap);
61: }
62: }
63:
64: /**
65: * Appends and returns a new empty "dataSourceMap" element
66: */
67: public com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef addNewDataSourceMap() {
68: synchronized (monitor()) {
69: check_orphaned();
70: com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef target = null;
71: target = (com.bostechcorp.cbesb.etl.dataSourceMap.x10.DataSourceMapDef) get_store()
72: .add_element_user(DATASOURCEMAP$0);
73: return target;
74: }
75: }
76: }
|