KickJava   Java API By Example, From Geeks To Geeks.

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


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.WSDLFaultReference;
19
20 import javax.xml.namespace.QName JavaDoc;
21
22 /**
23  * @author chathura@opensource.lk
24  */

25 public class WSDLFaultReferenceImpl extends ComponentImpl
26         implements WSDLFaultReference {
27
28     
29
30     /**
31      * Field ref
32      */

33     private QName JavaDoc ref;
34
35     
36     /**
37      * Field messageLabel
38      */

39     private String JavaDoc messageLabel;
40
41     /**
42      * Field direction In or Out
43      */

44     private String JavaDoc direction;
45
46     
47     public WSDLFaultReferenceImpl(){
48         
49     }
50     /**
51      * Returns the direction of the Fault according the MEP
52      *
53      * @return
54      */

55     public String JavaDoc getDirection() {
56         return direction;
57     }
58
59     /**
60      * Sets the direction of the Fault.
61      *
62      * @param direction
63      */

64     public void setDirection(String JavaDoc direction) {
65         this.direction = direction;
66     }
67
68     /**
69      * Method getMessageLabel
70      *
71      * @return
72      */

73     public String JavaDoc getMessageLabel() {
74         return messageLabel;
75     }
76
77     /**
78      * Method setMessageLabel
79      *
80      * @param messageLabel
81      */

82     public void setMessageLabel(String JavaDoc messageLabel) {
83         this.messageLabel = messageLabel;
84     }
85
86     /**
87      * Returns the Fault reference.
88      *
89      * @return
90      */

91     public QName JavaDoc getRef() {
92         return ref;
93     }
94
95     /**
96      * Sets the Fault reference.
97      *
98      * @param ref
99      */

100     public void setRef(QName JavaDoc ref) {
101         this.ref = ref;
102     }
103 }
104
Popular Tags