01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.openejb.jee.sun;
17:
18: import javax.xml.bind.annotation.XmlAccessType;
19: import javax.xml.bind.annotation.XmlAccessorType;
20: import javax.xml.bind.annotation.XmlElement;
21: import javax.xml.bind.annotation.XmlType;
22:
23: @XmlAccessorType(XmlAccessType.FIELD)
24: @XmlType(name="",propOrder={"description","ejbName","methodName","methodIntf","methodParams"})
25: public class Method {
26: protected String description;
27: @XmlElement(name="ejb-name")
28: protected String ejbName;
29: @XmlElement(name="method-name",required=true)
30: protected String methodName;
31: @XmlElement(name="method-intf")
32: protected String methodIntf;
33: @XmlElement(name="method-params")
34: protected MethodParams methodParams;
35:
36: public String getDescription() {
37: return description;
38: }
39:
40: public void setDescription(String value) {
41: this .description = value;
42: }
43:
44: public String getEjbName() {
45: return ejbName;
46: }
47:
48: public void setEjbName(String value) {
49: this .ejbName = value;
50: }
51:
52: public String getMethodName() {
53: return methodName;
54: }
55:
56: public void setMethodName(String value) {
57: this .methodName = value;
58: }
59:
60: public String getMethodIntf() {
61: return methodIntf;
62: }
63:
64: public void setMethodIntf(String value) {
65: this .methodIntf = value;
66: }
67:
68: public MethodParams getMethodParams() {
69: return methodParams;
70: }
71:
72: public void setMethodParams(MethodParams value) {
73: this.methodParams = value;
74: }
75: }
|