KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openharmonise > vfs > search > Select


1 /*
2  * The contents of this file are subject to the
3  * Mozilla Public License Version 1.1 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at http://www.mozilla.org/MPL/
6  *
7  * Software distributed under the License is distributed on an "AS IS"
8  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
9  * See the License for the specific language governing rights and
10  * limitations under the License.
11  *
12  * The Initial Developer of the Original Code is Simulacra Media Ltd.
13  * Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
14  *
15  * All Rights Reserved.
16  *
17  * Contributor(s):
18  */

19 package org.openharmonise.vfs.search;
20
21 /**
22  * Contains Properties which are to be returned from a Virtual File System
23  * search. This is useful for VirtualFileSystem implementations which
24  * allow for lazy population of VirtualFiles.
25  *
26  * @author Matthew Large
27  * @version $Revision: 1.1 $
28  *
29  */

30 public class Select {
31
32     /**
33      * Namespace of property.
34      */

35     private String JavaDoc m_sPropNamespace = null;
36     
37     /**
38      * Name of property.
39      */

40     private String JavaDoc m_sPropName = null;
41
42     /**
43      * Constructs a new select.
44      *
45      * @param sPropNamespace Namespace of the property to be returned
46      * @param sPropName Name of property to be returned
47      */

48     public Select(String JavaDoc sPropNamespace, String JavaDoc sPropName) {
49         super();
50         this.m_sPropNamespace = sPropNamespace;
51         this.m_sPropName = sPropName;
52     }
53     
54     /**
55      * Returns the namespace of the property to be returned.
56      *
57      * @return Namespace
58      */

59     public String JavaDoc getPropNamespace() {
60         return this.m_sPropNamespace;
61     }
62     
63     /**
64      * Returns the name of the property to be returned.
65      *
66      * @return Name
67      */

68     public String JavaDoc getPropName() {
69         return this.m_sPropName;
70     }
71
72 }
73
Popular Tags