001    /*
002     * XML Type:  ejb-local-refType
003     * Namespace: http://geronimo.apache.org/xml/ns/naming-1.2
004     * Java type: org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.geronimo.naming;
009    
010    
011    /**
012     * An XML ejb-local-refType(@http://geronimo.apache.org/xml/ns/naming-1.2).
013     *
014     * This is a complex type.
015     */
016    public interface GerEjbLocalRefType extends org.apache.xmlbeans.XmlObject
017    {
018        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
019            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerEjbLocalRefType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5BE83D0C34A23529A2EB03BDF6E4EE25").resolveHandle("ejblocalreftype0f49type");
020        
021        /**
022         * Gets the "ref-name" element
023         */
024        java.lang.String getRefName();
025        
026        /**
027         * Gets (as xml) the "ref-name" element
028         */
029        org.apache.xmlbeans.XmlString xgetRefName();
030        
031        /**
032         * Sets the "ref-name" element
033         */
034        void setRefName(java.lang.String refName);
035        
036        /**
037         * Sets (as xml) the "ref-name" element
038         */
039        void xsetRefName(org.apache.xmlbeans.XmlString refName);
040        
041        /**
042         * Gets the "pattern" element
043         */
044        org.apache.geronimo.xbeans.geronimo.naming.GerPatternType getPattern();
045        
046        /**
047         * True if has "pattern" element
048         */
049        boolean isSetPattern();
050        
051        /**
052         * Sets the "pattern" element
053         */
054        void setPattern(org.apache.geronimo.xbeans.geronimo.naming.GerPatternType pattern);
055        
056        /**
057         * Appends and returns a new empty "pattern" element
058         */
059        org.apache.geronimo.xbeans.geronimo.naming.GerPatternType addNewPattern();
060        
061        /**
062         * Unsets the "pattern" element
063         */
064        void unsetPattern();
065        
066        /**
067         * Gets the "ejb-link" element
068         */
069        java.lang.String getEjbLink();
070        
071        /**
072         * Gets (as xml) the "ejb-link" element
073         */
074        org.apache.xmlbeans.XmlString xgetEjbLink();
075        
076        /**
077         * True if has "ejb-link" element
078         */
079        boolean isSetEjbLink();
080        
081        /**
082         * Sets the "ejb-link" element
083         */
084        void setEjbLink(java.lang.String ejbLink);
085        
086        /**
087         * Sets (as xml) the "ejb-link" element
088         */
089        void xsetEjbLink(org.apache.xmlbeans.XmlString ejbLink);
090        
091        /**
092         * Unsets the "ejb-link" element
093         */
094        void unsetEjbLink();
095        
096        /**
097         * A factory class with static methods for creating instances
098         * of this type.
099         */
100        
101        public static final class Factory
102        {
103            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType newInstance() {
104              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
105            
106            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType newInstance(org.apache.xmlbeans.XmlOptions options) {
107              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
108            
109            /** @param xmlAsString the string value to parse */
110            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
111              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
112            
113            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
114              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
115            
116            /** @param file the file from which to load an xml document */
117            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
118              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
119            
120            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
121              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
122            
123            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
124              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
125            
126            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
127              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
128            
129            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
130              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
131            
132            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
133              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
134            
135            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
136              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
137            
138            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
139              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
140            
141            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
142              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
143            
144            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
145              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
146            
147            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
148              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
149            
150            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
151              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
152            
153            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
154            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
155              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
156            
157            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
158            public static org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
159              return (org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
160            
161            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
162            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 {
163              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
164            
165            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
166            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 {
167              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
168            
169            private Factory() { } // No instance of this class allowed
170        }
171    }