001    /*
002     * XML Type:  securityType
003     * Namespace: http://geronimo.apache.org/xml/ns/security-2.0
004     * Java type: org.apache.geronimo.xbeans.geronimo.security.GerSecurityType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.geronimo.security;
009    
010    
011    /**
012     * An XML securityType(@http://geronimo.apache.org/xml/ns/security-2.0).
013     *
014     * This is a complex type.
015     */
016    public interface GerSecurityType extends org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractSecurityType
017    {
018        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
019            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerSecurityType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s8F58AF319EEC34E22F0806A022BFB952").resolveHandle("securitytype312ftype");
020        
021        /**
022         * Gets array of all "description" elements
023         */
024        org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType[] getDescriptionArray();
025        
026        /**
027         * Gets ith "description" element
028         */
029        org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType getDescriptionArray(int i);
030        
031        /**
032         * Returns number of "description" element
033         */
034        int sizeOfDescriptionArray();
035        
036        /**
037         * Sets array of all "description" element
038         */
039        void setDescriptionArray(org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType[] descriptionArray);
040        
041        /**
042         * Sets ith "description" element
043         */
044        void setDescriptionArray(int i, org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType description);
045        
046        /**
047         * Inserts and returns a new empty value (as xml) as the ith "description" element
048         */
049        org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType insertNewDescription(int i);
050        
051        /**
052         * Appends and returns a new empty value (as xml) as the last "description" element
053         */
054        org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType addNewDescription();
055        
056        /**
057         * Removes the ith "description" element
058         */
059        void removeDescription(int i);
060        
061        /**
062         * Gets the "credential-store-ref" element
063         */
064        org.apache.geronimo.deployment.xbeans.PatternType getCredentialStoreRef();
065        
066        /**
067         * True if has "credential-store-ref" element
068         */
069        boolean isSetCredentialStoreRef();
070        
071        /**
072         * Sets the "credential-store-ref" element
073         */
074        void setCredentialStoreRef(org.apache.geronimo.deployment.xbeans.PatternType credentialStoreRef);
075        
076        /**
077         * Appends and returns a new empty "credential-store-ref" element
078         */
079        org.apache.geronimo.deployment.xbeans.PatternType addNewCredentialStoreRef();
080        
081        /**
082         * Unsets the "credential-store-ref" element
083         */
084        void unsetCredentialStoreRef();
085        
086        /**
087         * Gets the "default-subject" element
088         */
089        org.apache.geronimo.xbeans.geronimo.security.GerSubjectInfoType getDefaultSubject();
090        
091        /**
092         * True if has "default-subject" element
093         */
094        boolean isSetDefaultSubject();
095        
096        /**
097         * Sets the "default-subject" element
098         */
099        void setDefaultSubject(org.apache.geronimo.xbeans.geronimo.security.GerSubjectInfoType defaultSubject);
100        
101        /**
102         * Appends and returns a new empty "default-subject" element
103         */
104        org.apache.geronimo.xbeans.geronimo.security.GerSubjectInfoType addNewDefaultSubject();
105        
106        /**
107         * Unsets the "default-subject" element
108         */
109        void unsetDefaultSubject();
110        
111        /**
112         * Gets the "role-mappings" element
113         */
114        org.apache.geronimo.xbeans.geronimo.security.GerRoleMappingsType getRoleMappings();
115        
116        /**
117         * True if has "role-mappings" element
118         */
119        boolean isSetRoleMappings();
120        
121        /**
122         * Sets the "role-mappings" element
123         */
124        void setRoleMappings(org.apache.geronimo.xbeans.geronimo.security.GerRoleMappingsType roleMappings);
125        
126        /**
127         * Appends and returns a new empty "role-mappings" element
128         */
129        org.apache.geronimo.xbeans.geronimo.security.GerRoleMappingsType addNewRoleMappings();
130        
131        /**
132         * Unsets the "role-mappings" element
133         */
134        void unsetRoleMappings();
135        
136        /**
137         * Gets the "doas-current-caller" attribute
138         */
139        boolean getDoasCurrentCaller();
140        
141        /**
142         * Gets (as xml) the "doas-current-caller" attribute
143         */
144        org.apache.xmlbeans.XmlBoolean xgetDoasCurrentCaller();
145        
146        /**
147         * True if has "doas-current-caller" attribute
148         */
149        boolean isSetDoasCurrentCaller();
150        
151        /**
152         * Sets the "doas-current-caller" attribute
153         */
154        void setDoasCurrentCaller(boolean doasCurrentCaller);
155        
156        /**
157         * Sets (as xml) the "doas-current-caller" attribute
158         */
159        void xsetDoasCurrentCaller(org.apache.xmlbeans.XmlBoolean doasCurrentCaller);
160        
161        /**
162         * Unsets the "doas-current-caller" attribute
163         */
164        void unsetDoasCurrentCaller();
165        
166        /**
167         * Gets the "use-context-handler" attribute
168         */
169        boolean getUseContextHandler();
170        
171        /**
172         * Gets (as xml) the "use-context-handler" attribute
173         */
174        org.apache.xmlbeans.XmlBoolean xgetUseContextHandler();
175        
176        /**
177         * True if has "use-context-handler" attribute
178         */
179        boolean isSetUseContextHandler();
180        
181        /**
182         * Sets the "use-context-handler" attribute
183         */
184        void setUseContextHandler(boolean useContextHandler);
185        
186        /**
187         * Sets (as xml) the "use-context-handler" attribute
188         */
189        void xsetUseContextHandler(org.apache.xmlbeans.XmlBoolean useContextHandler);
190        
191        /**
192         * Unsets the "use-context-handler" attribute
193         */
194        void unsetUseContextHandler();
195        
196        /**
197         * Gets the "default-role" attribute
198         */
199        java.lang.String getDefaultRole();
200        
201        /**
202         * Gets (as xml) the "default-role" attribute
203         */
204        org.apache.xmlbeans.XmlString xgetDefaultRole();
205        
206        /**
207         * True if has "default-role" attribute
208         */
209        boolean isSetDefaultRole();
210        
211        /**
212         * Sets the "default-role" attribute
213         */
214        void setDefaultRole(java.lang.String defaultRole);
215        
216        /**
217         * Sets (as xml) the "default-role" attribute
218         */
219        void xsetDefaultRole(org.apache.xmlbeans.XmlString defaultRole);
220        
221        /**
222         * Unsets the "default-role" attribute
223         */
224        void unsetDefaultRole();
225        
226        /**
227         * A factory class with static methods for creating instances
228         * of this type.
229         */
230        
231        public static final class Factory
232        {
233            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType newInstance() {
234              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
235            
236            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType newInstance(org.apache.xmlbeans.XmlOptions options) {
237              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
238            
239            /** @param xmlAsString the string value to parse */
240            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
241              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
242            
243            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
244              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
245            
246            /** @param file the file from which to load an xml document */
247            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
248              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
249            
250            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
251              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
252            
253            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
254              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
255            
256            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
257              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
258            
259            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
260              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
261            
262            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
263              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
264            
265            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
266              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
267            
268            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
269              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
270            
271            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
272              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
273            
274            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
275              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
276            
277            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
278              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
279            
280            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
281              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
282            
283            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
284            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
285              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
286            
287            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
288            public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
289              return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
290            
291            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
292            public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
293              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
294            
295            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
296            public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
297              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
298            
299            private Factory() { } // No instance of this class allowed
300        }
301    }