KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > xml > wsdl > ui > view > OperationType


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 /*
21  * OperationType.java
22  *
23  * Created on September 5, 2006, 10:48 PM
24  *
25  * To change this template, choose Tools | Template Manager
26  * and open the template in the editor.
27  */

28
29 package org.netbeans.modules.xml.wsdl.ui.view;
30
31 /**
32  *
33  * @author radval
34  */

35 public class OperationType {
36         public static final String JavaDoc OPERATION_REQUEST_REPLY = "OPERATION_REQUEST_REPLY"; //NOI18N
37
public static final String JavaDoc OPERATION_ONE_WAY = "OPERATION_ONE_WAY"; //NOI18N
38
public static final String JavaDoc OPERATION_SOLICIT_RESPONSE = "OPERATION_SOLICIT_RESPONSE"; //NOI18N
39
public static final String JavaDoc OPERATION_NOTIFICATION = "OPERATION_NOTIFICATION"; //NOI18N
40

41         private String JavaDoc mOperationType;
42         
43         private String JavaDoc mOperationTypeName;
44         
45         OperationType(String JavaDoc operationType, String JavaDoc operationTypeName) {
46             this.mOperationType = operationType;
47             this.mOperationTypeName = operationTypeName;
48         }
49         
50         public String JavaDoc getOperationType() {
51             return this.mOperationType;
52         }
53         
54         public String JavaDoc getOperationTypeName() {
55             return this.mOperationTypeName;
56         }
57         
58         public String JavaDoc toString() {
59             return getOperationTypeName();
60         }
61     }
62
Popular Tags