1
2
3
4
5
6
7
8
9 package gov.grants.apply.forms.sf424V10.impl;
10
11
12
13
14
15 public class IndividualDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.IndividualDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public IndividualDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName INDIVIDUAL$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "Individual");
26
27
28
29
30
31 public gov.grants.apply.forms.sf424V10.IndividualDocument.Individual getIndividual()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.forms.sf424V10.IndividualDocument.Individual target = null;
37 target = (gov.grants.apply.forms.sf424V10.IndividualDocument.Individual)get_store().find_element_user(INDIVIDUAL$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setIndividual(gov.grants.apply.forms.sf424V10.IndividualDocument.Individual individual)
50 {
51 generatedSetterHelperImpl(individual, INDIVIDUAL$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.forms.sf424V10.IndividualDocument.Individual addNewIndividual()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.forms.sf424V10.IndividualDocument.Individual target = null;
63 target = (gov.grants.apply.forms.sf424V10.IndividualDocument.Individual)get_store().add_element_user(INDIVIDUAL$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class IndividualImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.IndividualDocument.Individual
73 {
74 private static final long serialVersionUID = 1L;
75
76 public IndividualImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName CONTACT$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "Contact");
83 private static final javax.xml.namespace.QName AUTHORIZEDREPRESENTATIVE$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "AuthorizedRepresentative");
85
86
87
88
89
90 public gov.grants.apply.forms.sf424V10.ContactDocument.Contact getContact()
91 {
92 synchronized (monitor())
93 {
94 check_orphaned();
95 gov.grants.apply.forms.sf424V10.ContactDocument.Contact target = null;
96 target = (gov.grants.apply.forms.sf424V10.ContactDocument.Contact)get_store().find_element_user(CONTACT$0, 0);
97 if (target == null)
98 {
99 return null;
100 }
101 return target;
102 }
103 }
104
105
106
107
108 public boolean isSetContact()
109 {
110 synchronized (monitor())
111 {
112 check_orphaned();
113 return get_store().count_elements(CONTACT$0) != 0;
114 }
115 }
116
117
118
119
120 public void setContact(gov.grants.apply.forms.sf424V10.ContactDocument.Contact contact)
121 {
122 generatedSetterHelperImpl(contact, CONTACT$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
123 }
124
125
126
127
128 public gov.grants.apply.forms.sf424V10.ContactDocument.Contact addNewContact()
129 {
130 synchronized (monitor())
131 {
132 check_orphaned();
133 gov.grants.apply.forms.sf424V10.ContactDocument.Contact target = null;
134 target = (gov.grants.apply.forms.sf424V10.ContactDocument.Contact)get_store().add_element_user(CONTACT$0);
135 return target;
136 }
137 }
138
139
140
141
142 public void unsetContact()
143 {
144 synchronized (monitor())
145 {
146 check_orphaned();
147 get_store().remove_element(CONTACT$0, 0);
148 }
149 }
150
151
152
153
154 public gov.grants.apply.forms.sf424V10.AuthorizedRepresentativeDocument.AuthorizedRepresentative getAuthorizedRepresentative()
155 {
156 synchronized (monitor())
157 {
158 check_orphaned();
159 gov.grants.apply.forms.sf424V10.AuthorizedRepresentativeDocument.AuthorizedRepresentative target = null;
160 target = (gov.grants.apply.forms.sf424V10.AuthorizedRepresentativeDocument.AuthorizedRepresentative)get_store().find_element_user(AUTHORIZEDREPRESENTATIVE$2, 0);
161 if (target == null)
162 {
163 return null;
164 }
165 return target;
166 }
167 }
168
169
170
171
172 public void setAuthorizedRepresentative(gov.grants.apply.forms.sf424V10.AuthorizedRepresentativeDocument.AuthorizedRepresentative authorizedRepresentative)
173 {
174 generatedSetterHelperImpl(authorizedRepresentative, AUTHORIZEDREPRESENTATIVE$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
175 }
176
177
178
179
180 public gov.grants.apply.forms.sf424V10.AuthorizedRepresentativeDocument.AuthorizedRepresentative addNewAuthorizedRepresentative()
181 {
182 synchronized (monitor())
183 {
184 check_orphaned();
185 gov.grants.apply.forms.sf424V10.AuthorizedRepresentativeDocument.AuthorizedRepresentative target = null;
186 target = (gov.grants.apply.forms.sf424V10.AuthorizedRepresentativeDocument.AuthorizedRepresentative)get_store().add_element_user(AUTHORIZEDREPRESENTATIVE$2);
187 return target;
188 }
189 }
190 }
191 }