001    /*
002     * XML Type:  identityTokenTypeList
003     * Namespace: http://openejb.apache.org/xml/ns/corba-tss-config-2.1
004     * Java type: org.apache.geronimo.corba.xbeans.csiv2.tss.TSSIdentityTokenTypeList
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.corba.xbeans.csiv2.tss.impl;
009    /**
010     * An XML identityTokenTypeList(@http://openejb.apache.org/xml/ns/corba-tss-config-2.1).
011     *
012     * This is a complex type.
013     */
014    public class TSSIdentityTokenTypeListImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.geronimo.corba.xbeans.csiv2.tss.TSSIdentityTokenTypeList
015    {
016        
017        public TSSIdentityTokenTypeListImpl(org.apache.xmlbeans.SchemaType sType)
018        {
019            super(sType);
020        }
021        
022        private static final javax.xml.namespace.QName ITTABSENT$0 = 
023            new javax.xml.namespace.QName("http://openejb.apache.org/xml/ns/corba-tss-config-2.1", "ITTAbsent");
024        private static final javax.xml.namespace.QName ITTANONYMOUS$2 = 
025            new javax.xml.namespace.QName("http://openejb.apache.org/xml/ns/corba-tss-config-2.1", "ITTAnonymous");
026        private static final javax.xml.namespace.QName ITTPRINCIPALNAMEGSSUP$4 = 
027            new javax.xml.namespace.QName("http://openejb.apache.org/xml/ns/corba-tss-config-2.1", "ITTPrincipalNameGSSUP");
028        private static final javax.xml.namespace.QName ITTDISTINGUISHEDNAME$6 = 
029            new javax.xml.namespace.QName("http://openejb.apache.org/xml/ns/corba-tss-config-2.1", "ITTDistinguishedName");
030        private static final javax.xml.namespace.QName ITTX509CERTCHAIN$8 = 
031            new javax.xml.namespace.QName("http://openejb.apache.org/xml/ns/corba-tss-config-2.1", "ITTX509CertChain");
032        
033        
034        /**
035         * Gets the "ITTAbsent" element
036         */
037        public org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAbsentType getITTAbsent()
038        {
039            synchronized (monitor())
040            {
041                check_orphaned();
042                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAbsentType target = null;
043                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAbsentType)get_store().find_element_user(ITTABSENT$0, 0);
044                if (target == null)
045                {
046                    return null;
047                }
048                return target;
049            }
050        }
051        
052        /**
053         * True if has "ITTAbsent" element
054         */
055        public boolean isSetITTAbsent()
056        {
057            synchronized (monitor())
058            {
059                check_orphaned();
060                return get_store().count_elements(ITTABSENT$0) != 0;
061            }
062        }
063        
064        /**
065         * Sets the "ITTAbsent" element
066         */
067        public void setITTAbsent(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAbsentType ittAbsent)
068        {
069            synchronized (monitor())
070            {
071                check_orphaned();
072                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAbsentType target = null;
073                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAbsentType)get_store().find_element_user(ITTABSENT$0, 0);
074                if (target == null)
075                {
076                    target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAbsentType)get_store().add_element_user(ITTABSENT$0);
077                }
078                target.set(ittAbsent);
079            }
080        }
081        
082        /**
083         * Appends and returns a new empty "ITTAbsent" element
084         */
085        public org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAbsentType addNewITTAbsent()
086        {
087            synchronized (monitor())
088            {
089                check_orphaned();
090                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAbsentType target = null;
091                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAbsentType)get_store().add_element_user(ITTABSENT$0);
092                return target;
093            }
094        }
095        
096        /**
097         * Unsets the "ITTAbsent" element
098         */
099        public void unsetITTAbsent()
100        {
101            synchronized (monitor())
102            {
103                check_orphaned();
104                get_store().remove_element(ITTABSENT$0, 0);
105            }
106        }
107        
108        /**
109         * Gets the "ITTAnonymous" element
110         */
111        public org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAnonymousType getITTAnonymous()
112        {
113            synchronized (monitor())
114            {
115                check_orphaned();
116                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAnonymousType target = null;
117                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAnonymousType)get_store().find_element_user(ITTANONYMOUS$2, 0);
118                if (target == null)
119                {
120                    return null;
121                }
122                return target;
123            }
124        }
125        
126        /**
127         * True if has "ITTAnonymous" element
128         */
129        public boolean isSetITTAnonymous()
130        {
131            synchronized (monitor())
132            {
133                check_orphaned();
134                return get_store().count_elements(ITTANONYMOUS$2) != 0;
135            }
136        }
137        
138        /**
139         * Sets the "ITTAnonymous" element
140         */
141        public void setITTAnonymous(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAnonymousType ittAnonymous)
142        {
143            synchronized (monitor())
144            {
145                check_orphaned();
146                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAnonymousType target = null;
147                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAnonymousType)get_store().find_element_user(ITTANONYMOUS$2, 0);
148                if (target == null)
149                {
150                    target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAnonymousType)get_store().add_element_user(ITTANONYMOUS$2);
151                }
152                target.set(ittAnonymous);
153            }
154        }
155        
156        /**
157         * Appends and returns a new empty "ITTAnonymous" element
158         */
159        public org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAnonymousType addNewITTAnonymous()
160        {
161            synchronized (monitor())
162            {
163                check_orphaned();
164                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAnonymousType target = null;
165                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTAnonymousType)get_store().add_element_user(ITTANONYMOUS$2);
166                return target;
167            }
168        }
169        
170        /**
171         * Unsets the "ITTAnonymous" element
172         */
173        public void unsetITTAnonymous()
174        {
175            synchronized (monitor())
176            {
177                check_orphaned();
178                get_store().remove_element(ITTANONYMOUS$2, 0);
179            }
180        }
181        
182        /**
183         * Gets the "ITTPrincipalNameGSSUP" element
184         */
185        public org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTPrincipalNameGSSUPType getITTPrincipalNameGSSUP()
186        {
187            synchronized (monitor())
188            {
189                check_orphaned();
190                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTPrincipalNameGSSUPType target = null;
191                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTPrincipalNameGSSUPType)get_store().find_element_user(ITTPRINCIPALNAMEGSSUP$4, 0);
192                if (target == null)
193                {
194                    return null;
195                }
196                return target;
197            }
198        }
199        
200        /**
201         * True if has "ITTPrincipalNameGSSUP" element
202         */
203        public boolean isSetITTPrincipalNameGSSUP()
204        {
205            synchronized (monitor())
206            {
207                check_orphaned();
208                return get_store().count_elements(ITTPRINCIPALNAMEGSSUP$4) != 0;
209            }
210        }
211        
212        /**
213         * Sets the "ITTPrincipalNameGSSUP" element
214         */
215        public void setITTPrincipalNameGSSUP(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTPrincipalNameGSSUPType ittPrincipalNameGSSUP)
216        {
217            synchronized (monitor())
218            {
219                check_orphaned();
220                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTPrincipalNameGSSUPType target = null;
221                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTPrincipalNameGSSUPType)get_store().find_element_user(ITTPRINCIPALNAMEGSSUP$4, 0);
222                if (target == null)
223                {
224                    target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTPrincipalNameGSSUPType)get_store().add_element_user(ITTPRINCIPALNAMEGSSUP$4);
225                }
226                target.set(ittPrincipalNameGSSUP);
227            }
228        }
229        
230        /**
231         * Appends and returns a new empty "ITTPrincipalNameGSSUP" element
232         */
233        public org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTPrincipalNameGSSUPType addNewITTPrincipalNameGSSUP()
234        {
235            synchronized (monitor())
236            {
237                check_orphaned();
238                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTPrincipalNameGSSUPType target = null;
239                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTPrincipalNameGSSUPType)get_store().add_element_user(ITTPRINCIPALNAMEGSSUP$4);
240                return target;
241            }
242        }
243        
244        /**
245         * Unsets the "ITTPrincipalNameGSSUP" element
246         */
247        public void unsetITTPrincipalNameGSSUP()
248        {
249            synchronized (monitor())
250            {
251                check_orphaned();
252                get_store().remove_element(ITTPRINCIPALNAMEGSSUP$4, 0);
253            }
254        }
255        
256        /**
257         * Gets the "ITTDistinguishedName" element
258         */
259        public org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTDistinguishedNameType getITTDistinguishedName()
260        {
261            synchronized (monitor())
262            {
263                check_orphaned();
264                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTDistinguishedNameType target = null;
265                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTDistinguishedNameType)get_store().find_element_user(ITTDISTINGUISHEDNAME$6, 0);
266                if (target == null)
267                {
268                    return null;
269                }
270                return target;
271            }
272        }
273        
274        /**
275         * True if has "ITTDistinguishedName" element
276         */
277        public boolean isSetITTDistinguishedName()
278        {
279            synchronized (monitor())
280            {
281                check_orphaned();
282                return get_store().count_elements(ITTDISTINGUISHEDNAME$6) != 0;
283            }
284        }
285        
286        /**
287         * Sets the "ITTDistinguishedName" element
288         */
289        public void setITTDistinguishedName(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTDistinguishedNameType ittDistinguishedName)
290        {
291            synchronized (monitor())
292            {
293                check_orphaned();
294                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTDistinguishedNameType target = null;
295                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTDistinguishedNameType)get_store().find_element_user(ITTDISTINGUISHEDNAME$6, 0);
296                if (target == null)
297                {
298                    target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTDistinguishedNameType)get_store().add_element_user(ITTDISTINGUISHEDNAME$6);
299                }
300                target.set(ittDistinguishedName);
301            }
302        }
303        
304        /**
305         * Appends and returns a new empty "ITTDistinguishedName" element
306         */
307        public org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTDistinguishedNameType addNewITTDistinguishedName()
308        {
309            synchronized (monitor())
310            {
311                check_orphaned();
312                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTDistinguishedNameType target = null;
313                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTDistinguishedNameType)get_store().add_element_user(ITTDISTINGUISHEDNAME$6);
314                return target;
315            }
316        }
317        
318        /**
319         * Unsets the "ITTDistinguishedName" element
320         */
321        public void unsetITTDistinguishedName()
322        {
323            synchronized (monitor())
324            {
325                check_orphaned();
326                get_store().remove_element(ITTDISTINGUISHEDNAME$6, 0);
327            }
328        }
329        
330        /**
331         * Gets the "ITTX509CertChain" element
332         */
333        public org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType getITTX509CertChain()
334        {
335            synchronized (monitor())
336            {
337                check_orphaned();
338                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType target = null;
339                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType)get_store().find_element_user(ITTX509CERTCHAIN$8, 0);
340                if (target == null)
341                {
342                    return null;
343                }
344                return target;
345            }
346        }
347        
348        /**
349         * True if has "ITTX509CertChain" element
350         */
351        public boolean isSetITTX509CertChain()
352        {
353            synchronized (monitor())
354            {
355                check_orphaned();
356                return get_store().count_elements(ITTX509CERTCHAIN$8) != 0;
357            }
358        }
359        
360        /**
361         * Sets the "ITTX509CertChain" element
362         */
363        public void setITTX509CertChain(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType ittx509CertChain)
364        {
365            synchronized (monitor())
366            {
367                check_orphaned();
368                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType target = null;
369                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType)get_store().find_element_user(ITTX509CERTCHAIN$8, 0);
370                if (target == null)
371                {
372                    target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType)get_store().add_element_user(ITTX509CERTCHAIN$8);
373                }
374                target.set(ittx509CertChain);
375            }
376        }
377        
378        /**
379         * Appends and returns a new empty "ITTX509CertChain" element
380         */
381        public org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType addNewITTX509CertChain()
382        {
383            synchronized (monitor())
384            {
385                check_orphaned();
386                org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType target = null;
387                target = (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSITTX509CertChainType)get_store().add_element_user(ITTX509CERTCHAIN$8);
388                return target;
389            }
390        }
391        
392        /**
393         * Unsets the "ITTX509CertChain" element
394         */
395        public void unsetITTX509CertChain()
396        {
397            synchronized (monitor())
398            {
399                check_orphaned();
400                get_store().remove_element(ITTX509CERTCHAIN$8, 0);
401            }
402        }
403    }