KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > jcr > config > WorkspaceEntry


1 /*
2  * Copyright 2001-2003 The eXo platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  */

5
6 package org.exoplatform.services.jcr.config;
7
8 /**
9  * Created y the eXo platform team
10  * User: Benjamin Mestrallet
11  * Date: 23 juil. 2004
12  */

13 public class WorkspaceEntry {
14
15   private String JavaDoc name;
16   private boolean base;
17   private String JavaDoc repositoryName;
18   private String JavaDoc containerName;
19
20   public WorkspaceEntry(String JavaDoc name, String JavaDoc repositoryName, String JavaDoc containerName) {
21     this(name, repositoryName, false, containerName);
22   }
23
24   public WorkspaceEntry(String JavaDoc name, String JavaDoc repositoryName, boolean base, String JavaDoc containerName) {
25     this.name = name;
26     this.base = base;
27     this.repositoryName = repositoryName;
28     this.containerName = containerName;
29   }
30
31   public String JavaDoc getName() {
32     return name;
33   }
34
35   public void setName(String JavaDoc name) {
36     this.name = name;
37   }
38
39   public boolean isBase() {
40     return base;
41   }
42
43   public void setBase(boolean base) {
44     this.base = base;
45   }
46
47   public String JavaDoc getRepositoryName() {
48     return repositoryName;
49   }
50
51   public void setRepositoryName(String JavaDoc repositoryName) {
52     this.repositoryName = repositoryName;
53   }
54
55   public String JavaDoc getContainerName() {
56     return containerName;
57   }
58
59   public void setContainerName(String JavaDoc containerName) {
60     this.containerName = containerName;
61   }
62
63 }
64
Popular Tags