}
} else { //all entities are allowed/processed
rep.add(namespace+"entityPrefix", "*");
}
if(config instanceof ReferencedSiteConfiguration){
ReferencedSiteConfiguration refConfig = (ReferencedSiteConfiguration)config;
if(refConfig.getCacheStrategy() != null){
rep.add(namespace+"cacheStrategy", valueFactory.createReference(namespace+"cacheStrategy-"+refConfig.getCacheStrategy().name()));
}
//add the accessUri and queryUri
if(refConfig.getAccessUri() != null){
rep.add(namespace+"accessUri", valueFactory.createReference(refConfig.getAccessUri()));
}
if(refConfig.getQueryUri() != null){
rep.add(namespace+"queryUri", valueFactory.createReference(refConfig.getQueryUri()));
}
}
return rep;
}