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 stateless-session-descriptor complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="stateless-session-descriptor">
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element name="pool" type="{http://www.bea.com/ns/weblogic/90}pool" minOccurs="0"/>
038: * <element name="timer-descriptor" type="{http://www.bea.com/ns/weblogic/90}timer-descriptor" minOccurs="0"/>
039: * <element name="stateless-clustering" type="{http://www.bea.com/ns/weblogic/90}stateless-clustering" minOccurs="0"/>
040: * </sequence>
041: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
042: * </restriction>
043: * </complexContent>
044: * </complexType>
045: * </pre>
046: *
047: *
048: */
049: @XmlAccessorType(XmlAccessType.FIELD)
050: @XmlType(name="stateless-session-descriptor",propOrder={"pool","timerDescriptor","statelessClustering"})
051: public class StatelessSessionDescriptor {
052:
053: protected Pool pool;
054: @XmlElement(name="timer-descriptor")
055: protected TimerDescriptor timerDescriptor;
056: @XmlElement(name="stateless-clustering")
057: protected StatelessClustering statelessClustering;
058: @XmlAttribute
059: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
060: @XmlID
061: protected String id;
062:
063: /**
064: * Gets the value of the pool property.
065: *
066: * @return
067: * possible object is
068: * {@link Pool }
069: *
070: */
071: public Pool getPool() {
072: return pool;
073: }
074:
075: /**
076: * Sets the value of the pool property.
077: *
078: * @param value
079: * allowed object is
080: * {@link Pool }
081: *
082: */
083: public void setPool(Pool value) {
084: this .pool = value;
085: }
086:
087: /**
088: * Gets the value of the timerDescriptor property.
089: *
090: * @return
091: * possible object is
092: * {@link TimerDescriptor }
093: *
094: */
095: public TimerDescriptor getTimerDescriptor() {
096: return timerDescriptor;
097: }
098:
099: /**
100: * Sets the value of the timerDescriptor property.
101: *
102: * @param value
103: * allowed object is
104: * {@link TimerDescriptor }
105: *
106: */
107: public void setTimerDescriptor(TimerDescriptor value) {
108: this .timerDescriptor = value;
109: }
110:
111: /**
112: * Gets the value of the statelessClustering property.
113: *
114: * @return
115: * possible object is
116: * {@link StatelessClustering }
117: *
118: */
119: public StatelessClustering getStatelessClustering() {
120: return statelessClustering;
121: }
122:
123: /**
124: * Sets the value of the statelessClustering property.
125: *
126: * @param value
127: * allowed object is
128: * {@link StatelessClustering }
129: *
130: */
131: public void setStatelessClustering(StatelessClustering value) {
132: this .statelessClustering = value;
133: }
134:
135: /**
136: * Gets the value of the id property.
137: *
138: * @return
139: * possible object is
140: * {@link String }
141: *
142: */
143: public String getId() {
144: return id;
145: }
146:
147: /**
148: * Sets the value of the id property.
149: *
150: * @param value
151: * allowed object is
152: * {@link String }
153: *
154: */
155: public void setId(String value) {
156: this.id = value;
157: }
158:
159: }
|