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.wls;
017:
018: import javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlAttribute;
021: import javax.xml.bind.annotation.XmlElement;
022: import javax.xml.bind.annotation.XmlID;
023: import javax.xml.bind.annotation.XmlType;
024: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
025: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
026:
027: /**
028: * <p>Java class for entity-clustering complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="entity-clustering">
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element name="home-is-clusterable" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
038: * <element name="home-load-algorithm" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
039: * <element name="home-call-router-class-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
040: * <element name="use-serverside-stubs" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
041: * </sequence>
042: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
043: * </restriction>
044: * </complexContent>
045: * </complexType>
046: * </pre>
047: *
048: *
049: */
050: @XmlAccessorType(XmlAccessType.FIELD)
051: @XmlType(name="entity-clustering",propOrder={"homeIsClusterable","homeLoadAlgorithm","homeCallRouterClassName","useServersideStubs"})
052: public class EntityClustering {
053:
054: @XmlElement(name="home-is-clusterable")
055: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
056: protected Boolean homeIsClusterable;
057: @XmlElement(name="home-load-algorithm")
058: protected String homeLoadAlgorithm;
059: @XmlElement(name="home-call-router-class-name")
060: protected String homeCallRouterClassName;
061: @XmlElement(name="use-serverside-stubs")
062: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
063: protected Boolean useServersideStubs;
064: @XmlAttribute
065: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
066: @XmlID
067: protected String id;
068:
069: /**
070: * Gets the value of the homeIsClusterable property.
071: *
072: * @return
073: * possible object is
074: * {@link Boolean }
075: *
076: */
077: public Boolean getHomeIsClusterable() {
078: return homeIsClusterable;
079: }
080:
081: /**
082: * Sets the value of the homeIsClusterable property.
083: *
084: * @param value
085: * allowed object is
086: * {@link Boolean }
087: *
088: */
089: public void setHomeIsClusterable(Boolean value) {
090: this .homeIsClusterable = value;
091: }
092:
093: /**
094: * Gets the value of the homeLoadAlgorithm property.
095: *
096: * @return
097: * possible object is
098: * {@link String }
099: *
100: */
101: public String getHomeLoadAlgorithm() {
102: return homeLoadAlgorithm;
103: }
104:
105: /**
106: * Sets the value of the homeLoadAlgorithm property.
107: *
108: * @param value
109: * allowed object is
110: * {@link String }
111: *
112: */
113: public void setHomeLoadAlgorithm(String value) {
114: this .homeLoadAlgorithm = value;
115: }
116:
117: /**
118: * Gets the value of the homeCallRouterClassName property.
119: *
120: * @return
121: * possible object is
122: * {@link String }
123: *
124: */
125: public String getHomeCallRouterClassName() {
126: return homeCallRouterClassName;
127: }
128:
129: /**
130: * Sets the value of the homeCallRouterClassName property.
131: *
132: * @param value
133: * allowed object is
134: * {@link String }
135: *
136: */
137: public void setHomeCallRouterClassName(String value) {
138: this .homeCallRouterClassName = value;
139: }
140:
141: /**
142: * Gets the value of the useServersideStubs property.
143: *
144: * @return
145: * possible object is
146: * {@link Boolean }
147: *
148: */
149: public Boolean getUseServersideStubs() {
150: return useServersideStubs;
151: }
152:
153: /**
154: * Sets the value of the useServersideStubs property.
155: *
156: * @param value
157: * allowed object is
158: * {@link Boolean }
159: *
160: */
161: public void setUseServersideStubs(Boolean value) {
162: this .useServersideStubs = value;
163: }
164:
165: /**
166: * Gets the value of the id property.
167: *
168: * @return
169: * possible object is
170: * {@link String }
171: *
172: */
173: public String getId() {
174: return id;
175: }
176:
177: /**
178: * Sets the value of the id property.
179: *
180: * @param value
181: * allowed object is
182: * {@link String }
183: *
184: */
185: public void setId(String value) {
186: this.id = value;
187: }
188:
189: }
|