KickJava   Java API By Example, From Geeks To Geeks.

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


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.WSDLBindingMessageReference;
19
20 /**
21  * @author chathura@opensource.lk
22  */

23 public class WSDLBindingMessageReferenceImpl extends ExtensibleComponentImpl
24         implements WSDLBindingMessageReference {
25
26     // Referes to the MEP the Message relates to.
27

28     /**
29      * Field messageLabel
30      */

31     private String JavaDoc messageLabel;
32
33     // Can be "in" or "out" depending on the element name being "input" or
34
// "output" respectively;
35

36     /**
37      * Field Direction
38      */

39     private String JavaDoc Direction;
40
41     /**
42      * Method getDirection
43      *
44      * @return
45      */

46     public String JavaDoc getDirection() {
47         return Direction;
48     }
49
50     /**
51      * Method setDirection
52      *
53      * @param direction
54      */

55     public void setDirection(String JavaDoc direction) {
56         Direction = direction;
57     }
58
59     /**
60      * Method getMessageLabel
61      *
62      * @return
63      */

64     public String JavaDoc getMessageLabel() {
65         return messageLabel;
66     }
67
68     /**
69      * Method setMessageLabel
70      *
71      * @param messageLabel
72      */

73     public void setMessageLabel(String JavaDoc messageLabel) {
74         this.messageLabel = messageLabel;
75     }
76 }
77
Popular Tags