Package com.lyncode.xoai.dataprovider.core

Examples of com.lyncode.xoai.dataprovider.core.Set


    public StubbedSetRepository doesNotSupportSets() {
        this.supports = false;
        return this;
    }
    public StubbedSetRepository withSet(String name, String spec) {
        this.sets.add(new Set(spec, name));
        return this;
    }
View Full Code Here


        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;
    }
View Full Code Here

    return DefaultName;
  }

  public static Set newDSpaceCommunitySet(String handle, String name) {

    return new Set("com_" + handle.replace('/', '_'), checkName(name));
  }
View Full Code Here

    return new Set("com_" + handle.replace('/', '_'), checkName(name));
  }

  public static Set newDSpaceCollectionSet(String handle, String name) {
    return new Set("col_" + handle.replace('/', '_'), checkName(name));
  }
View Full Code Here

TOP

Related Classes of com.lyncode.xoai.dataprovider.core.Set

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.