001 /*
002 * XML Type: clustering-wadiType
003 * Namespace: http://geronimo.apache.org/xml/ns/clustering-wadi-1.2
004 * Java type: org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.xbeans.geronimo;
009
010
011 /**
012 * An XML clustering-wadiType(@http://geronimo.apache.org/xml/ns/clustering-wadi-1.2).
013 *
014 * This is a complex type.
015 */
016 public interface GerClusteringWadiType extends org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractClusteringType
017 {
018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
019 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerClusteringWadiType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s4986B3F482CB7AF931EBD941A6497D31").resolveHandle("clusteringwaditype1296type");
020
021 /**
022 * Gets the "sweepInterval" element
023 */
024 java.math.BigInteger getSweepInterval();
025
026 /**
027 * Gets (as xml) the "sweepInterval" element
028 */
029 org.apache.xmlbeans.XmlInteger xgetSweepInterval();
030
031 /**
032 * True if has "sweepInterval" element
033 */
034 boolean isSetSweepInterval();
035
036 /**
037 * Sets the "sweepInterval" element
038 */
039 void setSweepInterval(java.math.BigInteger sweepInterval);
040
041 /**
042 * Sets (as xml) the "sweepInterval" element
043 */
044 void xsetSweepInterval(org.apache.xmlbeans.XmlInteger sweepInterval);
045
046 /**
047 * Unsets the "sweepInterval" element
048 */
049 void unsetSweepInterval();
050
051 /**
052 * Gets the "numPartitions" element
053 */
054 java.math.BigInteger getNumPartitions();
055
056 /**
057 * Gets (as xml) the "numPartitions" element
058 */
059 org.apache.xmlbeans.XmlInteger xgetNumPartitions();
060
061 /**
062 * True if has "numPartitions" element
063 */
064 boolean isSetNumPartitions();
065
066 /**
067 * Sets the "numPartitions" element
068 */
069 void setNumPartitions(java.math.BigInteger numPartitions);
070
071 /**
072 * Sets (as xml) the "numPartitions" element
073 */
074 void xsetNumPartitions(org.apache.xmlbeans.XmlInteger numPartitions);
075
076 /**
077 * Unsets the "numPartitions" element
078 */
079 void unsetNumPartitions();
080
081 /**
082 * Gets the "cluster" element
083 */
084 org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType getCluster();
085
086 /**
087 * True if has "cluster" element
088 */
089 boolean isSetCluster();
090
091 /**
092 * Sets the "cluster" element
093 */
094 void setCluster(org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType cluster);
095
096 /**
097 * Appends and returns a new empty "cluster" element
098 */
099 org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType addNewCluster();
100
101 /**
102 * Unsets the "cluster" element
103 */
104 void unsetCluster();
105
106 /**
107 * Gets the "disableReplication" element
108 */
109 boolean getDisableReplication();
110
111 /**
112 * Gets (as xml) the "disableReplication" element
113 */
114 org.apache.xmlbeans.XmlBoolean xgetDisableReplication();
115
116 /**
117 * True if has "disableReplication" element
118 */
119 boolean isSetDisableReplication();
120
121 /**
122 * Sets the "disableReplication" element
123 */
124 void setDisableReplication(boolean disableReplication);
125
126 /**
127 * Sets (as xml) the "disableReplication" element
128 */
129 void xsetDisableReplication(org.apache.xmlbeans.XmlBoolean disableReplication);
130
131 /**
132 * Unsets the "disableReplication" element
133 */
134 void unsetDisableReplication();
135
136 /**
137 * Gets the "deltaReplication" element
138 */
139 boolean getDeltaReplication();
140
141 /**
142 * Gets (as xml) the "deltaReplication" element
143 */
144 org.apache.xmlbeans.XmlBoolean xgetDeltaReplication();
145
146 /**
147 * True if has "deltaReplication" element
148 */
149 boolean isSetDeltaReplication();
150
151 /**
152 * Sets the "deltaReplication" element
153 */
154 void setDeltaReplication(boolean deltaReplication);
155
156 /**
157 * Sets (as xml) the "deltaReplication" element
158 */
159 void xsetDeltaReplication(org.apache.xmlbeans.XmlBoolean deltaReplication);
160
161 /**
162 * Unsets the "deltaReplication" element
163 */
164 void unsetDeltaReplication();
165
166 /**
167 * Gets the "backing-strategy-factory" element
168 */
169 org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType getBackingStrategyFactory();
170
171 /**
172 * True if has "backing-strategy-factory" element
173 */
174 boolean isSetBackingStrategyFactory();
175
176 /**
177 * Sets the "backing-strategy-factory" element
178 */
179 void setBackingStrategyFactory(org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType backingStrategyFactory);
180
181 /**
182 * Appends and returns a new empty "backing-strategy-factory" element
183 */
184 org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType addNewBackingStrategyFactory();
185
186 /**
187 * Unsets the "backing-strategy-factory" element
188 */
189 void unsetBackingStrategyFactory();
190
191 /**
192 * A factory class with static methods for creating instances
193 * of this type.
194 */
195
196 public static final class Factory
197 {
198 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType newInstance() {
199 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
200
201 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType newInstance(org.apache.xmlbeans.XmlOptions options) {
202 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
203
204 /** @param xmlAsString the string value to parse */
205 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
206 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
207
208 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
209 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
210
211 /** @param file the file from which to load an xml document */
212 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
213 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
214
215 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
216 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
217
218 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
219 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
220
221 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
222 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
223
224 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
225 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
226
227 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
228 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
229
230 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
231 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
232
233 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
234 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
235
236 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
237 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
238
239 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
240 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
241
242 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
243 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
244
245 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
246 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
247
248 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
249 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
250 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
251
252 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
253 public static org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
254 return (org.apache.geronimo.xbeans.geronimo.GerClusteringWadiType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
255
256 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
257 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 {
258 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
259
260 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
261 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 {
262 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
263
264 private Factory() { } // No instance of this class allowed
265 }
266 }