001 /* 002 * XML Type: tss-linkType 003 * Namespace: http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0 004 * Java type: org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.openejb.xbeans.ejbjar; 009 010 011 /** 012 * An XML tss-linkType(@http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0). 013 * 014 * This is a complex type. 015 */ 016 public interface OpenejbTssLinkType 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(OpenejbTssLinkType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s8AF8E0CE57F2BB021E91A9ABBD290FAF").resolveHandle("tsslinktype3636type"); 020 021 /** 022 * Gets the "ejb-name" element 023 */ 024 java.lang.String getEjbName(); 025 026 /** 027 * Gets (as xml) the "ejb-name" element 028 */ 029 org.apache.xmlbeans.XmlString xgetEjbName(); 030 031 /** 032 * True if has "ejb-name" element 033 */ 034 boolean isSetEjbName(); 035 036 /** 037 * Sets the "ejb-name" element 038 */ 039 void setEjbName(java.lang.String ejbName); 040 041 /** 042 * Sets (as xml) the "ejb-name" element 043 */ 044 void xsetEjbName(org.apache.xmlbeans.XmlString ejbName); 045 046 /** 047 * Unsets the "ejb-name" element 048 */ 049 void unsetEjbName(); 050 051 /** 052 * Gets the "tss-name" element 053 */ 054 java.lang.String getTssName(); 055 056 /** 057 * Gets (as xml) the "tss-name" element 058 */ 059 org.apache.xmlbeans.XmlString xgetTssName(); 060 061 /** 062 * True if has "tss-name" element 063 */ 064 boolean isSetTssName(); 065 066 /** 067 * Sets the "tss-name" element 068 */ 069 void setTssName(java.lang.String tssName); 070 071 /** 072 * Sets (as xml) the "tss-name" element 073 */ 074 void xsetTssName(org.apache.xmlbeans.XmlString tssName); 075 076 /** 077 * Unsets the "tss-name" element 078 */ 079 void unsetTssName(); 080 081 /** 082 * Gets array of all "jndi-name" elements 083 */ 084 java.lang.String[] getJndiNameArray(); 085 086 /** 087 * Gets ith "jndi-name" element 088 */ 089 java.lang.String getJndiNameArray(int i); 090 091 /** 092 * Gets (as xml) array of all "jndi-name" elements 093 */ 094 org.apache.xmlbeans.XmlString[] xgetJndiNameArray(); 095 096 /** 097 * Gets (as xml) ith "jndi-name" element 098 */ 099 org.apache.xmlbeans.XmlString xgetJndiNameArray(int i); 100 101 /** 102 * Returns number of "jndi-name" element 103 */ 104 int sizeOfJndiNameArray(); 105 106 /** 107 * Sets array of all "jndi-name" element 108 */ 109 void setJndiNameArray(java.lang.String[] jndiNameArray); 110 111 /** 112 * Sets ith "jndi-name" element 113 */ 114 void setJndiNameArray(int i, java.lang.String jndiName); 115 116 /** 117 * Sets (as xml) array of all "jndi-name" element 118 */ 119 void xsetJndiNameArray(org.apache.xmlbeans.XmlString[] jndiNameArray); 120 121 /** 122 * Sets (as xml) ith "jndi-name" element 123 */ 124 void xsetJndiNameArray(int i, org.apache.xmlbeans.XmlString jndiName); 125 126 /** 127 * Inserts the value as the ith "jndi-name" element 128 */ 129 void insertJndiName(int i, java.lang.String jndiName); 130 131 /** 132 * Appends the value as the last "jndi-name" element 133 */ 134 void addJndiName(java.lang.String jndiName); 135 136 /** 137 * Inserts and returns a new empty value (as xml) as the ith "jndi-name" element 138 */ 139 org.apache.xmlbeans.XmlString insertNewJndiName(int i); 140 141 /** 142 * Appends and returns a new empty value (as xml) as the last "jndi-name" element 143 */ 144 org.apache.xmlbeans.XmlString addNewJndiName(); 145 146 /** 147 * Removes the ith "jndi-name" element 148 */ 149 void removeJndiName(int i); 150 151 /** 152 * A factory class with static methods for creating instances 153 * of this type. 154 */ 155 156 public static final class Factory 157 { 158 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType newInstance() { 159 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 160 161 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType newInstance(org.apache.xmlbeans.XmlOptions options) { 162 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 163 164 /** @param xmlAsString the string value to parse */ 165 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 166 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 167 168 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 169 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 170 171 /** @param file the file from which to load an xml document */ 172 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 173 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 174 175 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 176 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 177 178 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 179 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 180 181 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 182 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 183 184 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 185 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 186 187 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 188 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 189 190 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 191 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 192 193 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 194 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 195 196 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 197 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 198 199 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 200 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 201 202 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 203 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 204 205 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 206 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 207 208 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 209 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 210 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 211 212 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 213 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 214 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbTssLinkType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 215 216 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 217 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 { 218 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 219 220 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 221 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 { 222 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 223 224 private Factory() { } // No instance of this class allowed 225 } 226 }