KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > tasklist > bugs > BugQuery


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-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.tasklist.bugs;
21
22 /**
23  * This is a generic bug query. it contains all the info about the query
24  * that is going to be done. There will probably be specific querys that extend
25  * from this class.
26  *
27  * @todo Figure out common things to go in here.
28  */

29 public class BugQuery {
30     private String JavaDoc mBugEngine;
31     private String JavaDoc mBaseUrl;
32     private String JavaDoc mQueryString;
33
34     /** Creates a new instance of BugQuery */
35     public BugQuery() {
36     }
37
38     public String JavaDoc getSummary() { return "Summary"; }
39     public Integer JavaDoc getBugId() { return new Integer JavaDoc(0); }
40     
41     /** Getter for property mBugEngine.
42      * @return Value of property mBugEngine.
43      *
44      */

45     public java.lang.String JavaDoc getBugEngine() {
46         return mBugEngine;
47     }
48     
49     /** Setter for property mBugEngine.
50      * @param mBugEngine New value of property mBugEngine.
51      *
52      */

53     public void setBugEngine(java.lang.String JavaDoc mBugEngine) {
54         this.mBugEngine = mBugEngine;
55     }
56     
57     /** Getter for property mQueryString.
58      * @return Value of property mQueryString.
59      *
60      */

61     public java.lang.String JavaDoc getQueryString() {
62         return mQueryString;
63     }
64     
65     /** Setter for property mQueryString.
66      * @param mQueryString New value of property mQueryString.
67      *
68      */

69     public void setQueryString(java.lang.String JavaDoc mQueryString) {
70         this.mQueryString = mQueryString;
71     }
72     
73     /** Getter for property mBaseUrl.
74      * @return Value of property mBaseUrl.
75      *
76      */

77     public java.lang.String JavaDoc getBaseUrl() {
78         return mBaseUrl;
79     }
80     
81     /** Setter for property mBaseUrl.
82      * @param mBaseUrl New value of property mBaseUrl.
83      *
84      */

85     public void setBaseUrl(java.lang.String JavaDoc mBaseUrl) {
86         this.mBaseUrl = mBaseUrl;
87     }
88     
89 }
90
Popular Tags