1 package info.magnolia.repository; 2 3 import java.util.ArrayList ; 4 import java.util.Collection ; 5 import java.util.Map ; 6 7 8 13 public class RepositoryMapping { 14 15 private String name; 16 17 private String provider; 18 19 private boolean loadOnStartup; 20 21 private Map parameters; 22 23 private Collection workspaces = new ArrayList (); 24 25 public RepositoryMapping() { 26 } 27 28 public String getName() { 29 return name; 30 } 31 32 public void setName(String name) { 33 this.name = name; 34 } 35 36 public String getProvider() { 37 return provider; 38 } 39 40 public void setProvider(String provider) { 41 this.provider = provider; 42 } 43 44 public boolean isLoadOnStartup() { 45 return loadOnStartup; 46 } 47 48 public void setLoadOnStartup(boolean loadOnStartup) { 49 this.loadOnStartup = loadOnStartup; 50 } 51 52 public Map getParameters() { 53 return parameters; 54 } 55 56 public void setParameters(Map parameters) { 57 this.parameters = parameters; 58 } 59 60 public Collection getWorkspaces() { 61 return workspaces; 62 } 63 64 public void setWorkspaces(Collection workspaces) { 65 this.workspaces = workspaces; 66 } 67 68 public void addWorkspace(String workspaceId) { 69 this.workspaces.add(workspaceId); 70 } 71 } 72 | Popular Tags |