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