001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.jee.oejb2;
017:
018: import java.math.BigInteger;
019: import javax.xml.bind.annotation.XmlAccessType;
020: import javax.xml.bind.annotation.XmlAccessorType;
021: import javax.xml.bind.annotation.XmlElement;
022: import javax.xml.bind.annotation.XmlType;
023:
024: /**
025: * <p>Java class for openejb-clustering-wadiType complex type.
026: *
027: * <p>The following schema fragment specifies the expected content contained within this class.
028: *
029: * <pre>
030: * <complexType name="openejb-clustering-wadiType">
031: * <complexContent>
032: * <extension base="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}abstract-clusteringType">
033: * <sequence>
034: * <element name="sweepInterval" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
035: * <element name="numPartitions" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
036: * <element name="cluster" type="{http://geronimo.apache.org/xml/ns/naming-1.2}patternType" minOccurs="0"/>
037: * <element name="disableReplication" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
038: * <element name="deltaReplication" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
039: * <element name="backing-strategy-factory" type="{http://geronimo.apache.org/xml/ns/naming-1.2}patternType" minOccurs="0"/>
040: * </sequence>
041: * </extension>
042: * </complexContent>
043: * </complexType>
044: * </pre>
045: *
046: *
047: */
048: @XmlAccessorType(XmlAccessType.FIELD)
049: @XmlType(name="openejb-clustering-wadiType",propOrder={"sweepInterval","numPartitions","cluster","disableReplication","deltaReplication","backingStrategyFactory"},namespace="http://geronimo.apache.org/xml/ns/openejb-clustering-wadi-1.2")
050: public class OpenejbClusteringWadiType extends AbstractClusteringType {
051:
052: protected BigInteger sweepInterval;
053: protected BigInteger numPartitions;
054: protected PatternType cluster;
055: protected Boolean disableReplication;
056: protected Boolean deltaReplication;
057: @XmlElement(name="backing-strategy-factory")
058: protected PatternType backingStrategyFactory;
059:
060: /**
061: * Gets the value of the sweepInterval property.
062: *
063: * @return
064: * possible object is
065: * {@link BigInteger }
066: *
067: */
068: public BigInteger getSweepInterval() {
069: return sweepInterval;
070: }
071:
072: /**
073: * Sets the value of the sweepInterval property.
074: *
075: * @param value
076: * allowed object is
077: * {@link BigInteger }
078: *
079: */
080: public void setSweepInterval(BigInteger value) {
081: this .sweepInterval = value;
082: }
083:
084: /**
085: * Gets the value of the numPartitions property.
086: *
087: * @return
088: * possible object is
089: * {@link BigInteger }
090: *
091: */
092: public BigInteger getNumPartitions() {
093: return numPartitions;
094: }
095:
096: /**
097: * Sets the value of the numPartitions property.
098: *
099: * @param value
100: * allowed object is
101: * {@link BigInteger }
102: *
103: */
104: public void setNumPartitions(BigInteger value) {
105: this .numPartitions = value;
106: }
107:
108: /**
109: * Gets the value of the cluster property.
110: *
111: * @return
112: * possible object is
113: * {@link PatternType }
114: *
115: */
116: public PatternType getCluster() {
117: return cluster;
118: }
119:
120: /**
121: * Sets the value of the cluster property.
122: *
123: * @param value
124: * allowed object is
125: * {@link PatternType }
126: *
127: */
128: public void setCluster(PatternType value) {
129: this .cluster = value;
130: }
131:
132: /**
133: * Gets the value of the disableReplication property.
134: *
135: * @return
136: * possible object is
137: * {@link Boolean }
138: *
139: */
140: public Boolean isDisableReplication() {
141: return disableReplication;
142: }
143:
144: /**
145: * Sets the value of the disableReplication property.
146: *
147: * @param value
148: * allowed object is
149: * {@link Boolean }
150: *
151: */
152: public void setDisableReplication(Boolean value) {
153: this .disableReplication = value;
154: }
155:
156: /**
157: * Gets the value of the deltaReplication property.
158: *
159: * @return
160: * possible object is
161: * {@link Boolean }
162: *
163: */
164: public Boolean isDeltaReplication() {
165: return deltaReplication;
166: }
167:
168: /**
169: * Sets the value of the deltaReplication property.
170: *
171: * @param value
172: * allowed object is
173: * {@link Boolean }
174: *
175: */
176: public void setDeltaReplication(Boolean value) {
177: this .deltaReplication = value;
178: }
179:
180: /**
181: * Gets the value of the backingStrategyFactory property.
182: *
183: * @return
184: * possible object is
185: * {@link PatternType }
186: *
187: */
188: public PatternType getBackingStrategyFactory() {
189: return backingStrategyFactory;
190: }
191:
192: /**
193: * Sets the value of the backingStrategyFactory property.
194: *
195: * @param value
196: * allowed object is
197: * {@link PatternType }
198: *
199: */
200: public void setBackingStrategyFactory(PatternType value) {
201: this.backingStrategyFactory = value;
202: }
203:
204: }
|