01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */
19: package org.apache.ideaplugin.bean;
20:
21: /**
22: * Author: Deepal Jayasinghe
23: * Date: Sep 21, 2005
24: * Time: 11:36:02 PM
25: */
26: public class OperationObj {
27:
28: private String OpName;
29: private String ReturnValue;
30: private Integer parameters;
31: private Boolean select;
32:
33: public OperationObj(String opName, String returnVale,
34: Integer parameters, Boolean select) {
35: OpName = opName;
36: ReturnValue = returnVale;
37: this .parameters = parameters;
38: this .select = select;
39: }
40:
41: public String getOpName() {
42: return OpName;
43: }
44:
45: public void setOpName(String opName) {
46: OpName = opName;
47: }
48:
49: public String getReturnValue() {
50: return ReturnValue;
51: }
52:
53: public void setReturnValue(String returnValue) {
54: ReturnValue = returnValue;
55: }
56:
57: public Integer getParameters() {
58: return parameters;
59: }
60:
61: public void setParameters(Integer parameters) {
62: this .parameters = parameters;
63: }
64:
65: public Boolean getSelect() {
66: return select;
67: }
68:
69: public void setSelect(Boolean select) {
70: this .select = select;
71: }
72:
73: public void printMe() {
74: System.out.println("======== Row =============");
75: System.out.println("OpName = " + OpName);
76: System.out.println("parameters = " + parameters);
77: System.out.println("ReturnValue = " + ReturnValue);
78: System.out.println("select = " + select);
79: System.out.println("==========================");
80: }
81:
82: }
|