KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > deployment > runtime > IASEjbCMPFinder


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24     
25 package com.sun.enterprise.deployment.runtime;
26     
27 import com.sun.enterprise.deployment.Descriptor;
28
29 public class IASEjbCMPFinder extends Descriptor {
30     
31       private String JavaDoc method_name = null;
32       private String JavaDoc query_params = null;
33       private String JavaDoc query_filter = null;
34       private String JavaDoc query_variables = null;
35       private String JavaDoc query_ordering = null;
36       
37       public IASEjbCMPFinder () {
38       }
39       
40       public IASEjbCMPFinder(String JavaDoc method_name, String JavaDoc params, String JavaDoc filter) {
41         this.method_name = method_name;
42         this.query_params = params;
43         this.query_filter = filter;
44         this.query_variables = "";
45       }
46
47       public IASEjbCMPFinder(String JavaDoc method_name, String JavaDoc params, String JavaDoc filter, String JavaDoc variables) {
48         this.method_name = method_name;
49         this.query_params = params;
50         this.query_filter = filter;
51         this.query_variables = variables;
52       }
53       
54       public String JavaDoc getMethodName() {
55         return method_name;
56       }
57       
58       public String JavaDoc getQueryParameterDeclaration() {
59         return query_params;
60       }
61
62       public String JavaDoc getQueryFilter() {
63         return query_filter;
64       }
65  
66       public String JavaDoc getQueryVariables() {
67         return query_variables;
68       }
69       
70       public void setMethodName(String JavaDoc name) {
71         method_name = name;
72       }
73       
74       public void setQueryParameterDeclaration(String JavaDoc qry) {
75         query_params = qry;
76       }
77  
78       public void setQueryVariables(String JavaDoc qryvariables) {
79         query_variables = qryvariables;
80       }
81       
82       public void setQueryFilter(String JavaDoc qryfilter) {
83         query_filter = qryfilter;
84       }
85       
86       public String JavaDoc getQueryOrdering() {
87       return query_ordering;
88       }
89       
90       public void setQueryOrdering(String JavaDoc qryordering) {
91       query_ordering = qryordering;
92       }
93 }
94       
95
Popular Tags