KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > wsdl > impl > WSDLBindingOperationImpl


1 /*
2  * Copyright 2004,2005 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.wsdl.impl;
17
18 import org.apache.wsdl.WSDLBindingFault;
19 import org.apache.wsdl.WSDLBindingMessageReference;
20 import org.apache.wsdl.WSDLBindingOperation;
21 import org.apache.wsdl.WSDLOperation;
22
23 import javax.xml.namespace.QName JavaDoc;
24 import java.util.LinkedList JavaDoc;
25 import java.util.List JavaDoc;
26
27 /**
28  * @author chathura@opensource.lk
29  */

30 public class WSDLBindingOperationImpl extends ExtensibleComponentImpl
31         implements WSDLBindingOperation {
32     /**
33      * Field name
34      */

35     private QName JavaDoc name;
36     
37     
38     /**
39      * Field infaults
40      */

41     private List JavaDoc infaults = new LinkedList JavaDoc();
42
43     /**
44      * Field outfaults
45      */

46     private List JavaDoc outfaults = new LinkedList JavaDoc();
47
48     /**
49      * Field operation
50      */

51     private WSDLOperation operation;
52
53     /**
54      * Field input
55      */

56     private WSDLBindingMessageReference input;
57
58     /**
59      * Field output
60      */

61     private WSDLBindingMessageReference output;
62
63     /**
64      * Method getInput
65      *
66      * @return
67      */

68     public WSDLBindingMessageReference getInput() {
69         return input;
70     }
71
72     /**
73      * Method setInput
74      *
75      * @param input
76      */

77     public void setInput(WSDLBindingMessageReference input) {
78         this.input = input;
79     }
80
81     /**
82      * Method getOperation
83      *
84      * @return
85      */

86     public WSDLOperation getOperation() {
87         return operation;
88     }
89
90     /**
91      * Method setOperation
92      *
93      * @param operation
94      */

95     public void setOperation(WSDLOperation operation) {
96         this.operation = operation;
97     }
98
99     /**
100      * Method getOutput
101      *
102      * @return
103      */

104     public WSDLBindingMessageReference getOutput() {
105         return output;
106     }
107
108     /**
109      * Method setOutput
110      *
111      * @param output
112      */

113     public void setOutput(WSDLBindingMessageReference output) {
114         this.output = output;
115     }
116
117     /**
118      * Method getName
119      *
120      * @return
121      */

122     public QName JavaDoc getName() {
123         return name;
124     }
125
126     /**
127      * Method setName
128      *
129      * @param name
130      */

131     public void setName(QName JavaDoc name) {
132         this.name = name;
133     }
134     
135     /**
136      * Add the InFault to the Components InFaults
137      * @param inFault
138      */

139     public void addInFault(WSDLBindingFault inFault){
140         this.infaults.add(inFault);
141     }
142     
143     /**
144      * Add the OutFault to the Component OutFaults
145      * @param outFault
146      */

147     public void addOutFault(WSDLBindingFault outFault){
148         this.outfaults.add(outFault);
149     }
150     
151     
152     public List JavaDoc getInfaults() {
153         return infaults;
154     }
155     public void setInfaults(List JavaDoc infaults) {
156         this.infaults = infaults;
157     }
158     public List JavaDoc getOutfaults() {
159         return outfaults;
160     }
161     public void setOutfaults(List JavaDoc outfaults) {
162         this.outfaults = outfaults;
163     }
164 }
165
Popular Tags