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 method complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="method">
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element name="description" type="{http://www.bea.com/ns/weblogic/90}description" minOccurs="0"/>
038: * <element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
039: * <element name="method-intf" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
040: * <element name="method-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
041: * <element name="method-params" type="{http://www.bea.com/ns/weblogic/90}method-params" minOccurs="0"/>
042: * </sequence>
043: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
044: * </restriction>
045: * </complexContent>
046: * </complexType>
047: * </pre>
048: *
049: *
050: */
051: @XmlAccessorType(XmlAccessType.FIELD)
052: @XmlType(name="method",propOrder={"description","ejbName","methodIntf","methodName","methodParams"})
053: public class Method {
054:
055: protected Description description;
056: @XmlElement(name="ejb-name",required=true)
057: protected String ejbName;
058: @XmlElement(name="method-intf")
059: protected String methodIntf;
060: @XmlElement(name="method-name",required=true)
061: protected String methodName;
062: @XmlElement(name="method-params")
063: protected MethodParams methodParams;
064: @XmlAttribute
065: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
066: @XmlID
067: protected String id;
068:
069: /**
070: * Gets the value of the description property.
071: *
072: * @return
073: * possible object is
074: * {@link Description }
075: *
076: */
077: public Description getDescription() {
078: return description;
079: }
080:
081: /**
082: * Sets the value of the description property.
083: *
084: * @param value
085: * allowed object is
086: * {@link Description }
087: *
088: */
089: public void setDescription(Description value) {
090: this .description = value;
091: }
092:
093: /**
094: * Gets the value of the ejbName property.
095: *
096: * @return
097: * possible object is
098: * {@link String }
099: *
100: */
101: public String getEjbName() {
102: return ejbName;
103: }
104:
105: /**
106: * Sets the value of the ejbName property.
107: *
108: * @param value
109: * allowed object is
110: * {@link String }
111: *
112: */
113: public void setEjbName(String value) {
114: this .ejbName = value;
115: }
116:
117: /**
118: * Gets the value of the methodIntf property.
119: *
120: * @return
121: * possible object is
122: * {@link String }
123: *
124: */
125: public String getMethodIntf() {
126: return methodIntf;
127: }
128:
129: /**
130: * Sets the value of the methodIntf property.
131: *
132: * @param value
133: * allowed object is
134: * {@link String }
135: *
136: */
137: public void setMethodIntf(String value) {
138: this .methodIntf = value;
139: }
140:
141: /**
142: * Gets the value of the methodName property.
143: *
144: * @return
145: * possible object is
146: * {@link String }
147: *
148: */
149: public String getMethodName() {
150: return methodName;
151: }
152:
153: /**
154: * Sets the value of the methodName property.
155: *
156: * @param value
157: * allowed object is
158: * {@link String }
159: *
160: */
161: public void setMethodName(String value) {
162: this .methodName = value;
163: }
164:
165: /**
166: * Gets the value of the methodParams property.
167: *
168: * @return
169: * possible object is
170: * {@link MethodParams }
171: *
172: */
173: public MethodParams getMethodParams() {
174: return methodParams;
175: }
176:
177: /**
178: * Sets the value of the methodParams property.
179: *
180: * @param value
181: * allowed object is
182: * {@link MethodParams }
183: *
184: */
185: public void setMethodParams(MethodParams value) {
186: this .methodParams = value;
187: }
188:
189: /**
190: * Gets the value of the id property.
191: *
192: * @return
193: * possible object is
194: * {@link String }
195: *
196: */
197: public String getId() {
198: return id;
199: }
200:
201: /**
202: * Sets the value of the id property.
203: *
204: * @param value
205: * allowed object is
206: * {@link String }
207: *
208: */
209: public void setId(String value) {
210: this.id = value;
211: }
212:
213: }
|