KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > magnolia > repository > RepositoryNameMap


1 /**
2  *
3  * Magnolia and its source-code is licensed under the LGPL.
4  * You may copy, adapt, and redistribute this file for commercial or non-commercial use.
5  * When copying, adapting, or redistributing this document in keeping with the guidelines above,
6  * you are required to provide proper attribution to obinary.
7  * If you reproduce or distribute the document without making any substantive modifications to its content,
8  * please use the following attribution line:
9  *
10  * Copyright 1993-2005 obinary Ltd. (http://www.obinary.com) All rights reserved.
11  *
12  */

13 package info.magnolia.repository;
14
15 /**
16  * @author Sameer Charles
17  * $Id: RepositoryNameMap.java 6341 2006-09-12 09:18:27Z philipp $
18  */

19 public class RepositoryNameMap {
20
21
22     private String JavaDoc repositoryName;
23
24     private String JavaDoc workspaceName;
25
26     /**
27      * @param repositoryName
28      * @param workspaceName
29      * */

30     public RepositoryNameMap(String JavaDoc repositoryName, String JavaDoc workspaceName) {
31         this.repositoryName = repositoryName;
32         this.workspaceName = workspaceName;
33     }
34
35     public String JavaDoc getRepositoryName() {
36         return this.repositoryName;
37     }
38
39     public String JavaDoc getWorkspaceName() {
40         return this.workspaceName;
41     }
42
43 }
44
Popular Tags