01: /*
02: * XML Type: execType
03: * Namespace: http://cbesb.bostechcorp.com/alert/1.0
04: * Java type: com.bostechcorp.cbesb.alert.x10.ExecType
05: *
06: * Automatically generated - do not modify.
07: */
08: package com.bostechcorp.cbesb.alert.x10.impl;
09:
10: /**
11: * An XML execType(@http://cbesb.bostechcorp.com/alert/1.0).
12: *
13: * This is a complex type.
14: */
15: public class ExecTypeImpl extends
16: org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements
17: com.bostechcorp.cbesb.alert.x10.ExecType {
18:
19: public ExecTypeImpl(org.apache.xmlbeans.SchemaType sType) {
20: super (sType);
21: }
22:
23: private static final javax.xml.namespace.QName COMMAND$0 = new javax.xml.namespace.QName(
24: "http://cbesb.bostechcorp.com/alert/1.0", "command");
25:
26: /**
27: * Gets the "command" element
28: */
29: public java.lang.String getCommand() {
30: synchronized (monitor()) {
31: check_orphaned();
32: org.apache.xmlbeans.SimpleValue target = null;
33: target = (org.apache.xmlbeans.SimpleValue) get_store()
34: .find_element_user(COMMAND$0, 0);
35: if (target == null) {
36: return null;
37: }
38: return target.getStringValue();
39: }
40: }
41:
42: /**
43: * Gets (as xml) the "command" element
44: */
45: public org.apache.xmlbeans.XmlString xgetCommand() {
46: synchronized (monitor()) {
47: check_orphaned();
48: org.apache.xmlbeans.XmlString target = null;
49: target = (org.apache.xmlbeans.XmlString) get_store()
50: .find_element_user(COMMAND$0, 0);
51: return target;
52: }
53: }
54:
55: /**
56: * Sets the "command" element
57: */
58: public void setCommand(java.lang.String command) {
59: synchronized (monitor()) {
60: check_orphaned();
61: org.apache.xmlbeans.SimpleValue target = null;
62: target = (org.apache.xmlbeans.SimpleValue) get_store()
63: .find_element_user(COMMAND$0, 0);
64: if (target == null) {
65: target = (org.apache.xmlbeans.SimpleValue) get_store()
66: .add_element_user(COMMAND$0);
67: }
68: target.setStringValue(command);
69: }
70: }
71:
72: /**
73: * Sets (as xml) the "command" element
74: */
75: public void xsetCommand(org.apache.xmlbeans.XmlString command) {
76: synchronized (monitor()) {
77: check_orphaned();
78: org.apache.xmlbeans.XmlString target = null;
79: target = (org.apache.xmlbeans.XmlString) get_store()
80: .find_element_user(COMMAND$0, 0);
81: if (target == null) {
82: target = (org.apache.xmlbeans.XmlString) get_store()
83: .add_element_user(COMMAND$0);
84: }
85: target.set(command);
86: }
87: }
88: }
|