use of eu.esdihumboldt.hale.io.oml.internal.goml.rdf.Resource in project hale by halestudio.
the class OmlRdfReader method getTransformation.
/**
* Converts from the FunctionType to the Transformation
*
* @param transf
* @return
*/
private Transformation getTransformation(FunctionType transf) {
Transformation trans = new Transformation();
if (transf != null) {
// set Service
if (transf.getResource() != null) {
Resource resource = new Resource(transf.getResource());
trans.setService(resource);
// set parameter list
if (transf.getParam() != null) {
trans.setParameters(getParameters(transf.getParam()));
}
} else {
trans = null;
}
}
return trans;
}
Aggregations