4950515253545556
public StubbedSetRepository doesNotSupportSets() { this.supports = false; return this; } public StubbedSetRepository withSet(String name, String spec) { this.sets.add(new Set(spec, name)); return this; }
5556575859606162
return this; } public StubbedSetRepository withRandomlyGeneratedSets(int number) { for (int i=0;i<number;i++) this.sets.add(new Set(randomAlphabetic(10), randomAlphabetic(10))); return this; }
25262728293031
return DefaultName; } public static Set newDSpaceCommunitySet(String handle, String name) { return new Set("com_" + handle.replace('/', '_'), checkName(name)); }
29303132333435
return new Set("com_" + handle.replace('/', '_'), checkName(name)); } public static Set newDSpaceCollectionSet(String handle, String name) { return new Set("col_" + handle.replace('/', '_'), checkName(name)); }