1
2
3
4
5
6
7
8
9 package gov.grants.apply.system.agencyManagePackageV10.impl;
10
11
12
13
14
15 public class EmailInfoDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.agencyManagePackageV10.EmailInfoDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public EmailInfoDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName EMAILINFO$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/system/AgencyManagePackage-V1.0", "EmailInfo");
26
27
28
29
30
31 public gov.grants.apply.system.agencyManagePackageV10.EmailInfoDocument.EmailInfo getEmailInfo()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.system.agencyManagePackageV10.EmailInfoDocument.EmailInfo target = null;
37 target = (gov.grants.apply.system.agencyManagePackageV10.EmailInfoDocument.EmailInfo)get_store().find_element_user(EMAILINFO$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setEmailInfo(gov.grants.apply.system.agencyManagePackageV10.EmailInfoDocument.EmailInfo emailInfo)
50 {
51 generatedSetterHelperImpl(emailInfo, EMAILINFO$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.system.agencyManagePackageV10.EmailInfoDocument.EmailInfo addNewEmailInfo()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.system.agencyManagePackageV10.EmailInfoDocument.EmailInfo target = null;
63 target = (gov.grants.apply.system.agencyManagePackageV10.EmailInfoDocument.EmailInfo)get_store().add_element_user(EMAILINFO$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class EmailInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.agencyManagePackageV10.EmailInfoDocument.EmailInfo
73 {
74 private static final long serialVersionUID = 1L;
75
76 public EmailInfoImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName SENDCHANGENOTIFICATIONEMAIL$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "SendChangeNotificationEmail");
83 private static final javax.xml.namespace.QName MODIFICATIONCOMMENTS$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "ModificationComments");
85
86
87
88
89
90 public gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail.Enum getSendChangeNotificationEmail()
91 {
92 synchronized (monitor())
93 {
94 check_orphaned();
95 org.apache.xmlbeans.SimpleValue target = null;
96 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SENDCHANGENOTIFICATIONEMAIL$0, 0);
97 if (target == null)
98 {
99 return null;
100 }
101 return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail.Enum)target.getEnumValue();
102 }
103 }
104
105
106
107
108 public gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail xgetSendChangeNotificationEmail()
109 {
110 synchronized (monitor())
111 {
112 check_orphaned();
113 gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail target = null;
114 target = (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail)get_store().find_element_user(SENDCHANGENOTIFICATIONEMAIL$0, 0);
115 return target;
116 }
117 }
118
119
120
121
122 public boolean isSetSendChangeNotificationEmail()
123 {
124 synchronized (monitor())
125 {
126 check_orphaned();
127 return get_store().count_elements(SENDCHANGENOTIFICATIONEMAIL$0) != 0;
128 }
129 }
130
131
132
133
134 public void setSendChangeNotificationEmail(gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail.Enum sendChangeNotificationEmail)
135 {
136 synchronized (monitor())
137 {
138 check_orphaned();
139 org.apache.xmlbeans.SimpleValue target = null;
140 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SENDCHANGENOTIFICATIONEMAIL$0, 0);
141 if (target == null)
142 {
143 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SENDCHANGENOTIFICATIONEMAIL$0);
144 }
145 target.setEnumValue(sendChangeNotificationEmail);
146 }
147 }
148
149
150
151
152 public void xsetSendChangeNotificationEmail(gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail sendChangeNotificationEmail)
153 {
154 synchronized (monitor())
155 {
156 check_orphaned();
157 gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail target = null;
158 target = (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail)get_store().find_element_user(SENDCHANGENOTIFICATIONEMAIL$0, 0);
159 if (target == null)
160 {
161 target = (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail)get_store().add_element_user(SENDCHANGENOTIFICATIONEMAIL$0);
162 }
163 target.set(sendChangeNotificationEmail);
164 }
165 }
166
167
168
169
170 public void unsetSendChangeNotificationEmail()
171 {
172 synchronized (monitor())
173 {
174 check_orphaned();
175 get_store().remove_element(SENDCHANGENOTIFICATIONEMAIL$0, 0);
176 }
177 }
178
179
180
181
182 public java.lang.String getModificationComments()
183 {
184 synchronized (monitor())
185 {
186 check_orphaned();
187 org.apache.xmlbeans.SimpleValue target = null;
188 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MODIFICATIONCOMMENTS$2, 0);
189 if (target == null)
190 {
191 return null;
192 }
193 return target.getStringValue();
194 }
195 }
196
197
198
199
200 public gov.grants.apply.system.grantsCommonElementsV10.ModificationCommentsDocument.ModificationComments xgetModificationComments()
201 {
202 synchronized (monitor())
203 {
204 check_orphaned();
205 gov.grants.apply.system.grantsCommonElementsV10.ModificationCommentsDocument.ModificationComments target = null;
206 target = (gov.grants.apply.system.grantsCommonElementsV10.ModificationCommentsDocument.ModificationComments)get_store().find_element_user(MODIFICATIONCOMMENTS$2, 0);
207 return target;
208 }
209 }
210
211
212
213
214 public void setModificationComments(java.lang.String modificationComments)
215 {
216 synchronized (monitor())
217 {
218 check_orphaned();
219 org.apache.xmlbeans.SimpleValue target = null;
220 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MODIFICATIONCOMMENTS$2, 0);
221 if (target == null)
222 {
223 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MODIFICATIONCOMMENTS$2);
224 }
225 target.setStringValue(modificationComments);
226 }
227 }
228
229
230
231
232 public void xsetModificationComments(gov.grants.apply.system.grantsCommonElementsV10.ModificationCommentsDocument.ModificationComments modificationComments)
233 {
234 synchronized (monitor())
235 {
236 check_orphaned();
237 gov.grants.apply.system.grantsCommonElementsV10.ModificationCommentsDocument.ModificationComments target = null;
238 target = (gov.grants.apply.system.grantsCommonElementsV10.ModificationCommentsDocument.ModificationComments)get_store().find_element_user(MODIFICATIONCOMMENTS$2, 0);
239 if (target == null)
240 {
241 target = (gov.grants.apply.system.grantsCommonElementsV10.ModificationCommentsDocument.ModificationComments)get_store().add_element_user(MODIFICATIONCOMMENTS$2);
242 }
243 target.set(modificationComments);
244 }
245 }
246 }
247 }