001: /*
002: * XML Type: dataAddressDef
003: * Namespace: http://cbesb.bostechcorp.com/trn/1.0
004: * Java type: com.bostechcorp.cbesb.trn.x10.DataAddressDef
005: *
006: * Automatically generated - do not modify.
007: */
008: package com.bostechcorp.cbesb.trn.x10.impl;
009:
010: /**
011: * An XML dataAddressDef(@http://cbesb.bostechcorp.com/trn/1.0).
012: *
013: * This is a complex type.
014: */
015: public class DataAddressDefImpl extends
016: org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements
017: com.bostechcorp.cbesb.trn.x10.DataAddressDef {
018:
019: public DataAddressDefImpl(org.apache.xmlbeans.SchemaType sType) {
020: super (sType);
021: }
022:
023: private static final javax.xml.namespace.QName TYPE$0 = new javax.xml.namespace.QName(
024: "", "type");
025: private static final javax.xml.namespace.QName NAME$2 = new javax.xml.namespace.QName(
026: "", "name");
027: private static final javax.xml.namespace.QName PATH$4 = new javax.xml.namespace.QName(
028: "", "path");
029: private static final javax.xml.namespace.QName VALUE$6 = new javax.xml.namespace.QName(
030: "", "value");
031:
032: /**
033: * Gets the "type" attribute
034: */
035: public java.lang.String getType() {
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(TYPE$0);
041: if (target == null) {
042: return null;
043: }
044: return target.getStringValue();
045: }
046: }
047:
048: /**
049: * Gets (as xml) the "type" attribute
050: */
051: public org.apache.xmlbeans.XmlString xgetType() {
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(TYPE$0);
057: return target;
058: }
059: }
060:
061: /**
062: * Sets the "type" attribute
063: */
064: public void setType(java.lang.String type) {
065: synchronized (monitor()) {
066: check_orphaned();
067: org.apache.xmlbeans.SimpleValue target = null;
068: target = (org.apache.xmlbeans.SimpleValue) get_store()
069: .find_attribute_user(TYPE$0);
070: if (target == null) {
071: target = (org.apache.xmlbeans.SimpleValue) get_store()
072: .add_attribute_user(TYPE$0);
073: }
074: target.setStringValue(type);
075: }
076: }
077:
078: /**
079: * Sets (as xml) the "type" attribute
080: */
081: public void xsetType(org.apache.xmlbeans.XmlString type) {
082: synchronized (monitor()) {
083: check_orphaned();
084: org.apache.xmlbeans.XmlString target = null;
085: target = (org.apache.xmlbeans.XmlString) get_store()
086: .find_attribute_user(TYPE$0);
087: if (target == null) {
088: target = (org.apache.xmlbeans.XmlString) get_store()
089: .add_attribute_user(TYPE$0);
090: }
091: target.set(type);
092: }
093: }
094:
095: /**
096: * Gets the "name" attribute
097: */
098: public java.lang.String getName() {
099: synchronized (monitor()) {
100: check_orphaned();
101: org.apache.xmlbeans.SimpleValue target = null;
102: target = (org.apache.xmlbeans.SimpleValue) get_store()
103: .find_attribute_user(NAME$2);
104: if (target == null) {
105: return null;
106: }
107: return target.getStringValue();
108: }
109: }
110:
111: /**
112: * Gets (as xml) the "name" attribute
113: */
114: public org.apache.xmlbeans.XmlString xgetName() {
115: synchronized (monitor()) {
116: check_orphaned();
117: org.apache.xmlbeans.XmlString target = null;
118: target = (org.apache.xmlbeans.XmlString) get_store()
119: .find_attribute_user(NAME$2);
120: return target;
121: }
122: }
123:
124: /**
125: * True if has "name" attribute
126: */
127: public boolean isSetName() {
128: synchronized (monitor()) {
129: check_orphaned();
130: return get_store().find_attribute_user(NAME$2) != null;
131: }
132: }
133:
134: /**
135: * Sets the "name" attribute
136: */
137: public void setName(java.lang.String name) {
138: synchronized (monitor()) {
139: check_orphaned();
140: org.apache.xmlbeans.SimpleValue target = null;
141: target = (org.apache.xmlbeans.SimpleValue) get_store()
142: .find_attribute_user(NAME$2);
143: if (target == null) {
144: target = (org.apache.xmlbeans.SimpleValue) get_store()
145: .add_attribute_user(NAME$2);
146: }
147: target.setStringValue(name);
148: }
149: }
150:
151: /**
152: * Sets (as xml) the "name" attribute
153: */
154: public void xsetName(org.apache.xmlbeans.XmlString name) {
155: synchronized (monitor()) {
156: check_orphaned();
157: org.apache.xmlbeans.XmlString target = null;
158: target = (org.apache.xmlbeans.XmlString) get_store()
159: .find_attribute_user(NAME$2);
160: if (target == null) {
161: target = (org.apache.xmlbeans.XmlString) get_store()
162: .add_attribute_user(NAME$2);
163: }
164: target.set(name);
165: }
166: }
167:
168: /**
169: * Unsets the "name" attribute
170: */
171: public void unsetName() {
172: synchronized (monitor()) {
173: check_orphaned();
174: get_store().remove_attribute(NAME$2);
175: }
176: }
177:
178: /**
179: * Gets the "path" attribute
180: */
181: public java.lang.String getPath() {
182: synchronized (monitor()) {
183: check_orphaned();
184: org.apache.xmlbeans.SimpleValue target = null;
185: target = (org.apache.xmlbeans.SimpleValue) get_store()
186: .find_attribute_user(PATH$4);
187: if (target == null) {
188: return null;
189: }
190: return target.getStringValue();
191: }
192: }
193:
194: /**
195: * Gets (as xml) the "path" attribute
196: */
197: public org.apache.xmlbeans.XmlString xgetPath() {
198: synchronized (monitor()) {
199: check_orphaned();
200: org.apache.xmlbeans.XmlString target = null;
201: target = (org.apache.xmlbeans.XmlString) get_store()
202: .find_attribute_user(PATH$4);
203: return target;
204: }
205: }
206:
207: /**
208: * True if has "path" attribute
209: */
210: public boolean isSetPath() {
211: synchronized (monitor()) {
212: check_orphaned();
213: return get_store().find_attribute_user(PATH$4) != null;
214: }
215: }
216:
217: /**
218: * Sets the "path" attribute
219: */
220: public void setPath(java.lang.String path) {
221: synchronized (monitor()) {
222: check_orphaned();
223: org.apache.xmlbeans.SimpleValue target = null;
224: target = (org.apache.xmlbeans.SimpleValue) get_store()
225: .find_attribute_user(PATH$4);
226: if (target == null) {
227: target = (org.apache.xmlbeans.SimpleValue) get_store()
228: .add_attribute_user(PATH$4);
229: }
230: target.setStringValue(path);
231: }
232: }
233:
234: /**
235: * Sets (as xml) the "path" attribute
236: */
237: public void xsetPath(org.apache.xmlbeans.XmlString path) {
238: synchronized (monitor()) {
239: check_orphaned();
240: org.apache.xmlbeans.XmlString target = null;
241: target = (org.apache.xmlbeans.XmlString) get_store()
242: .find_attribute_user(PATH$4);
243: if (target == null) {
244: target = (org.apache.xmlbeans.XmlString) get_store()
245: .add_attribute_user(PATH$4);
246: }
247: target.set(path);
248: }
249: }
250:
251: /**
252: * Unsets the "path" attribute
253: */
254: public void unsetPath() {
255: synchronized (monitor()) {
256: check_orphaned();
257: get_store().remove_attribute(PATH$4);
258: }
259: }
260:
261: /**
262: * Gets the "value" attribute
263: */
264: public java.lang.String getValue() {
265: synchronized (monitor()) {
266: check_orphaned();
267: org.apache.xmlbeans.SimpleValue target = null;
268: target = (org.apache.xmlbeans.SimpleValue) get_store()
269: .find_attribute_user(VALUE$6);
270: if (target == null) {
271: return null;
272: }
273: return target.getStringValue();
274: }
275: }
276:
277: /**
278: * Gets (as xml) the "value" attribute
279: */
280: public org.apache.xmlbeans.XmlString xgetValue() {
281: synchronized (monitor()) {
282: check_orphaned();
283: org.apache.xmlbeans.XmlString target = null;
284: target = (org.apache.xmlbeans.XmlString) get_store()
285: .find_attribute_user(VALUE$6);
286: return target;
287: }
288: }
289:
290: /**
291: * True if has "value" attribute
292: */
293: public boolean isSetValue() {
294: synchronized (monitor()) {
295: check_orphaned();
296: return get_store().find_attribute_user(VALUE$6) != null;
297: }
298: }
299:
300: /**
301: * Sets the "value" attribute
302: */
303: public void setValue(java.lang.String value) {
304: synchronized (monitor()) {
305: check_orphaned();
306: org.apache.xmlbeans.SimpleValue target = null;
307: target = (org.apache.xmlbeans.SimpleValue) get_store()
308: .find_attribute_user(VALUE$6);
309: if (target == null) {
310: target = (org.apache.xmlbeans.SimpleValue) get_store()
311: .add_attribute_user(VALUE$6);
312: }
313: target.setStringValue(value);
314: }
315: }
316:
317: /**
318: * Sets (as xml) the "value" attribute
319: */
320: public void xsetValue(org.apache.xmlbeans.XmlString value) {
321: synchronized (monitor()) {
322: check_orphaned();
323: org.apache.xmlbeans.XmlString target = null;
324: target = (org.apache.xmlbeans.XmlString) get_store()
325: .find_attribute_user(VALUE$6);
326: if (target == null) {
327: target = (org.apache.xmlbeans.XmlString) get_store()
328: .add_attribute_user(VALUE$6);
329: }
330: target.set(value);
331: }
332: }
333:
334: /**
335: * Unsets the "value" attribute
336: */
337: public void unsetValue() {
338: synchronized (monitor()) {
339: check_orphaned();
340: get_store().remove_attribute(VALUE$6);
341: }
342: }
343: }
|