Package org.ontospread.tester.xmlbind

Examples of org.ontospread.tester.xmlbind.RestrictionsType


 
  public void exec(Test test){
    logger.info("Run test: "+test.getId()+" output directory in "+test.getOutputDirectory());
    List<String> resources = test.getResources().getLocations();
    logger.info("Resources to load "+resources.toString());
    RestrictionsType restrictions = test.getOntoSpreadConfig().getRestrictions();
    RestrictionManagerHelper manager = new RestrictionManagerHelper();
    for (RestrictionType restriction : restrictions.getRestrictions()) {
      addRestriction(manager,restriction);
    }
    iteration = 0;
    //Set function type
    FunctionTypeList functions = test.getOntoSpreadConfig().getFunctions();   
    for (FunctionType function : functions.getFunctions()) {
      manager.setFunctionType(function);     
      logger.info("Function "+manager.getFunctionType());
      for (RestrictionType restriction : restrictions.getRestrictions()) {
        try {
          execIterateRestriction(restriction,test,manager);
        } catch (ConceptNotFoundException e) {
          e.printStackTrace();
        }   
View Full Code Here

TOP

Related Classes of org.ontospread.tester.xmlbind.RestrictionsType

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.